Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request GET /api/v2/projects/S89BR4d6ElIRVfIVPqeV/history/0 200 { "history": { "results": [ { "id": 327, "user_id": 0, "event_type": "USER_LINKED", "created_at": "2023-11-27T09:43:22.769Z", "updated_at": "2023-11-27T09:43:22.769Z", "event_targets": [ { "target_type": "User", "target": { "id": 233, "first_name": null, "last_name": null } }, { "target_type": "Project", "target": { "id": 50, "elasticsearch_id": "S89BR4d6ElIRVfIVPqeV", "title": "Sample Project" } } ] }, { "id": 326, "user_id": 233, "event_type": "PROJECT_ADDED", "created_at": "2023-11-27T09:43:22.738Z", "updated_at": "2023-11-27T09:43:22.738Z", "event_targets": [ { "target_type": "Project", "target": { "id": 50, "elasticsearch_id": "S89BR4d6ElIRVfIVPqeV", "title": "Sample Project" } } ] } ], "next_cursor": null } }
// If :project_id is not found GET /api/v2/projects/-1/history/0 404 { "error": "project not found" }
// Unprocessable entity GET /api/v2/projects/hU_DWQMIfcRwsHkUzRXh/history/test 422 { "error": "Invalid parameter 'cursor' value \"test\": Invalid cursor" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |