cURL
curl --request PUT \ --url https://statsigapi.net/console/v1/release_pipeline_triggers/{id}/approve \ --header 'Content-Type: application/json' \ --header 'STATSIG-API-KEY: <api-key>' \ --data ' { "phaseID": "<string>" } '
{ "message": "<string>", "data": { "id": "<string>", "releasePipelineID": "<string>", "actions": [ { "type": "STARTED", "timeMs": 123, "phaseID": "<string>", "actorName": "<string>", "actorID": "<string>" } ], "creatorID": "<string>", "createdTime": 123, "lastModifierID": "<string>", "lastModifierName": "<string>", "status": "<string>", "currentPhase": "<string>", "currentPhaseID": "<string>", "currentPhaseEndTime": 123, "description": "<string>", "gateID": "<string>", "dynamicConfigID": "<string>", "configSnapshotID": "<string>" } }
Optional header to respect review settings for mutation endpoints.
Phase ID to ensure the correct state of the pipeline is updated
Approved pipeline trigger phase successfully
A simple string explaining the result of the operation.
A single result.
Show child attributes
Was this page helpful?