pipelines

POST /api/pipelines/{id}/promote/

Changed on

Copy a specified version of the pipeline's source package to its target package, publishing it as a new version with the provided commit message.

Request

  • Base URL
    https://app.pixiebrix.com
  • Auth
    none declared

Path parameters

idstring required

Request body

idstring uuid

Surrogate primary key

namestring required

Used to visually identify the promotion pipeline. Must be formatted as the collection and name parts of the target and source package registry ids, e.g. foo/bar

created_atstring date-time
updated_atstring date-time

Response

idstring uuid

Surrogate primary key

namestring required

Used to visually identify the promotion pipeline. Must be formatted as the collection and name parts of the target and source package registry ids, e.g. foo/bar

created_atstring date-time
updated_atstring date-time

Changes

    • warning

      changed the pattern of the request property from ^((?P<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?P<name>[a-z0-9-~][a-z0-9-._~]*)$ to ^((?<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?<name>[a-z0-9-~][a-z0-9-._~]*)$ (media type: application/json)

    • warning

      changed the pattern of the request property from ^((?P<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?P<name>[a-z0-9-~][a-z0-9-._~]*)$ to ^((?<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?<name>[a-z0-9-~][a-z0-9-._~]*)$ (media type: application/x-www-form-urlencoded)

    • warning

      changed the pattern of the request property from ^((?P<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?P<name>[a-z0-9-~][a-z0-9-._~]*)$ to ^((?<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?<name>[a-z0-9-~][a-z0-9-._~]*)$ (media type: multipart/form-data)

    • info

      the response's property pattern was changed from ^((?P<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?P<name>[a-z0-9-~][a-z0-9-._~]*)$ to ^((?<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?<name>[a-z0-9-~][a-z0-9-._~]*)$ for the status (media type: application/json; version=1.0)

    • info

      the response's property pattern was changed from ^((?P<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?P<name>[a-z0-9-~][a-z0-9-._~]*)$ to ^((?<collection>[a-z0-9-~][a-z0-9-._~]*)/)?(?<name>[a-z0-9-~][a-z0-9-._~]*)$ for the status (media type: application/vnd.pixiebrix.api+json; version=1.0)