deployments

Make a deployed deployment the active target for its slug.

post/api/v1/deploy/{deployment_id}/promote

Request

  • Base URL
    https://api.trajectory.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.trajectory.ai/api/v1/deploy/{deployment_id}/promote
  • Auth
    none declared

Path parameters

deployment_idstring required

Request body

expected_deployment_idstring nullable required

Expected current production target; null for initial promotion.

Response

Successful Response

deployment_idstring required
is_activeboolean required

Changes

    • breaking

      added the new required request property

    • breaking

      removed subschema #2 from the request body anyOf list

    • breaking

      request body became required

    • breaking

      the request's body type changed from no type to object