Skip to content

Task presets

Open .md

API reference Team settings

Named sets of task statuses (pipelines in the API) that tasks on jobs follow.

7 operations

  • POSTCreate a task preset/v1/api/store/{team_slug}/setting/pipelineCreates a task preset with three statuses and returns it, statuses included: Pending (the start status), Started (in progress) and Completed (the end status).
  • GETList task presets/v1/api/store/{team_slug}/setting/pipelineReturns all the team's task presets in one list, including deleted ones (trashed: true), each with its statuses.
  • GETShow a task preset/v1/api/store/{team_slug}/setting/pipeline/{hash_id}Returns one task preset, deleted or not, with its statuses.
  • PUTUpdate a task preset/v1/api/store/{team_slug}/setting/pipeline/{hash_id}Changes a task preset's label, color or on/off state, and returns it with its statuses.
  • PATCHUpdate a task preset without checks/v1/api/store/{team_slug}/setting/pipeline/{hash_id}Use PUT to change a task preset.
  • DELETEDelete a task preset/v1/api/store/{team_slug}/setting/pipeline/{hash_id}Deletes a task preset.
  • PATCHRestore a task preset/v1/api/store/{team_slug}/setting/pipeline/{id}/restoreBrings back a deleted task preset.