Projects
List projects
Returns the account's live projects by name. Projects in the deletion grace period are listed separately. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.
Create a project
A project is the workspace that holds workflows, repositories and secrets. It starts empty and inherits the account's workflow storage settings until it overrides them.
List deleted projects
Returns projects still inside the grace period that follows deletion, each with when and by whom it was deleted, and how many days remain before it is removed for good. A project listed here can still be restored. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.
Read a project
Returns when the project was created and its workflow storage settings: the size it overrides for itself if any, the size actually in force, and the size it would inherit from the account.
Delete a project
Deletion is soft. The project and the repositories inside it enter a grace period during which they can be restored, and storage is still billed; once the period elapses the content is removed for good. The project is removed at once from the allowed projects of every account secret, and restoring it does not add it back.
Restore a deleted project
Brings a project back from the grace period that follows deletion, together with the repositories deleted with it. It comes back without access to any account secret, so add it to the allowed projects of the secrets it needs again. A project whose grace period has elapsed cannot be restored.
Override the project's workflow storage size
Sets the size this project's runs get, in place of the account's. Sending no size clears the override, so the project inherits the account value again.
Rename a project
The project name identifies it in API paths and in repository addresses, so anything configured with the old name needs updating after a rename. The new name must not already be taken in the account.
List a project's runs
Returns runs across every workflow in the project, each with its status, start time, duration, what triggered it and the reason it ended where one applies. Pass a status to narrow the list to runs with that status. Long lists are paged. When more than one page exists the response's Link header carries the first, last, previous and next pages.