Praecise Cloud/ Reference/ Projects

The last lines the project's service wrote

get/api/projects/{name}/logs

Before you call

Credential
Authorization: Bearer $KEY with read
Scope
read
Role
member

Parameters

  • namestringrequired
    In the path. The project's name.
  • linesinteger
    In the query. How many lines, 1 to 2000. 200 when not said.

Responses

  • 200application/json
    Log lines, oldest first.

    object

  • 400application/json
    The request is not valid: a bad parameter, or a release that is not kept. Code bad_request or bad_release.
    • errorstringrequired
    • codestringrequired
  • 401application/json
    No token, or the token is unknown, revoked or expired. Code unauthenticated, token_revoked or token_expired.
    • errorstringrequired
    • codestringrequired
  • 403application/json
    The token lacks the scope, the call is not open to tokens, or the caller is not an owner. Code scope_missing, session_required or owner_required.
    • errorstringrequired
    • codestringrequired
  • 404application/json
    No such project, or one the caller cannot see. The two are not told apart. Code not_found.
    • errorstringrequired
    • codestringrequired
  • 429application/json
    Too many requests for this token. Retry-After says how many seconds to wait. Code rate_limited.
    • errorstringrequired
    • codestringrequired

This page as Markdown