Spaces

Set a channel's promotion policy

auto (default): publishes and green builds go live. manual: builds and publishes finalize ready but unpromoted; only an explicit promote moves the pointer. Only the live channel is supported today.

patch/v1/spaces/{spaceId}/channels/{name}

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/spaces/{spaceId}/channels/{name}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

spaceIdstring required
namestring required

Request body

promotion'auto' | 'manual' required

Whether implicit promotion paths may move this channel's pointer.

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

No recorded changes to this operation across all 1 revision of this API.