Praecise Cloud/ Reference/ Projects
The last lines the project's service wrote
get/api/projects/{name}/logs
Before you call
- Credential
Authorization: Bearer $KEYwithread- Scope
read- Role
member
Parameters
- namestringrequiredIn the path. The project's name.
- linesintegerIn the query. How many lines, 1 to 2000. 200 when not said.
Responses
- 200application/jsonLog lines, oldest first.
object - 400application/jsonThe request is not valid: a bad parameter, or a release that is not kept. Code bad_request or bad_release.
- errorstringrequired
- codestringrequired
- 401application/jsonNo token, or the token is unknown, revoked or expired. Code unauthenticated, token_revoked or token_expired.
- errorstringrequired
- codestringrequired
- 403application/jsonThe 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/jsonNo such project, or one the caller cannot see. The two are not told apart. Code not_found.
- errorstringrequired
- codestringrequired
- 429application/jsonToo many requests for this token. Retry-After says how many seconds to wait. Code rate_limited.
- errorstringrequired
- codestringrequired