{ "opencollection": "1.0.0", "info": { "name": "PostHog actions change_requests API", "version": "1.0.0" }, "items": [ { "info": { "name": "change_requests", "type": "folder" }, "items": [ { "info": { "name": "change_requests_list", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/environments/:project_id/change_requests/", "params": [ { "name": "action_key", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query", "description": "Number of results to return per page." }, { "name": "offset", "value": "", "type": "query", "description": "The initial index from which to return the results." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." }, { "name": "requester", "value": "", "type": "query" }, { "name": "resource_id", "value": "", "type": "query" }, { "name": "resource_type", "value": "", "type": "query" }, { "name": "state", "value": "", "type": "query", "description": "Multiple values may be separated by commas." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } } }, { "info": { "name": "change_requests_retrieve", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/environments/:project_id/change_requests/:id/", "params": [ { "name": "id", "value": "", "type": "path", "description": "A UUID string identifying this change request." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } } }, { "info": { "name": "change_requests_approve_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/environments/:project_id/change_requests/:id/approve/", "params": [ { "name": "id", "value": "", "type": "path", "description": "A UUID string identifying this change request." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Approve a change request.\nIf quorum is reached, automatically applies the change immediately." }, { "info": { "name": "change_requests_cancel_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/environments/:project_id/change_requests/:id/cancel/", "params": [ { "name": "id", "value": "", "type": "path", "description": "A UUID string identifying this change request." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Cancel a change request.\nOnly the requester can cancel their own pending change request." }, { "info": { "name": "change_requests_reject_create", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/environments/:project_id/change_requests/:id/reject/", "params": [ { "name": "id", "value": "", "type": "path", "description": "A UUID string identifying this change request." }, { "name": "project_id", "value": "", "type": "path", "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Reject a change request." } ] } ], "bundled": true }