Liftbay
API referenceEnvironments

Preview a promotion

GET
/v1/orgs/{org}/projects/{project}/environments/{env}/promote

Authorization

cookielb_session<token>

Dashboard session cookie, set by the sign-in endpoints.

Path Parameters

org*string

Organization slug

project*string

Project slug

env*string

Environment slug

Query Parameters

to*string

Target environment slug

Response Body

OK

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/v1/orgs/string/projects/string/environments/string/promote?to=string"
[  {    "key": "string",    "status": "added",    "visibility": "plain",    "targetVisibility": "string"  }]