Documentation

Get Project Events

GET /project/{project_id}/events

Returns the last n recent events for a specified project.

Path Parameters

Parameter Type Required Description
project_id string Yes The ID of the project for which to retrieve events

Query Parameters

Parameter Type Default Description
limit integer 5 The number of events to return
offset integer 0 The offset from which to start retrieving events
sort_ord string The sorting order either asc or desc

Response

Success Response (200 OK)

data contains event objects and numitems is the total number of events. The default page size is five. Use sort_ord=asc or sort_ord=desc to order by creation time.

Error Responses

  • 400 Bad Request: Invalid request
  • 422 Unprocessable Entity: Request fields fail schema validation
  • 401 Unauthorized: Authentication failed
  • 403 Forbidden: User does not have permission to view project events
  • 404 Not Found: Project with the specified ID does not exist

See the Projects API overview for related endpoints.