Get project activity log
Retrieve a project’s activity log including logging actions in all environments within a project. This returns a list of objects with records of actions such as:
- Commits being pushed to the repository
- A new environment being branched out from the specified environment
- A snapshot being created of the specified environment
The object includes a timestamp of when the action occurred
(created_at), when the action concluded (updated_at),
the current state of the action, the action’s completion
percentage (completion_percent), the environments it
applies to and when the activity expires (expires_at).
There are other related information in the payload.
The contents of the payload varies based on the type of the
activity. For example:
-
An
environment.branchaction’spayloadcan contain objects representing the environment’sparentenvironment and the branching action’soutcome. -
An
environment.pushaction’spayloadcan contain objects representing theenvironment, the specificcommitsincluded in the push, and theuserwho pushed.
Expired activities are removed from the project activity log, except
the last 100 expired objects provided they are not of type environment.cron
or environment.backup.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
The identifier of Activity
The creation date
The update date
The type of the activity
The parameters of the activity
The project the activity belongs to
The state of the activity
cancelled, complete, in_progress, pending, scheduled, staged The result of the activity
failure, success The reason for activity failure
error, shell The start date of the activity
The completion date of the activity
The completion percentage of the activity
The Cancellation date of the activity
Timings related to different phases of the activity
The log of the activity
The payload of the activity
The description of the activity, formatted with HTML
The description of the activity, formatted as plain text
The date at which the activity will expire
The commands of the activity
The integration the activity belongs to
The environments related to the activity