6cc88fde6435
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.branch action's payload can contain objects representing the environment's parent environment and the branching action's outcome.
-
An environment.push action's payload can contain objects representing the environment, the specific commits included in the push, and the user who 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.