Returns the workflow execution policy for a project.
curl --request GET \
--url https://api.strait.dev/v1/workflow-policies/{projectID} \
--header 'Authorization: Bearer <token>'{
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"max_depth": 123,
"max_fan_out": 123,
"project_id": "<string>",
"require_approval_for_deploy": true,
"updated_at": "2023-11-07T05:31:56Z",
"$schema": "<string>",
"forbidden_step_types": [
"<string>"
]
}Documentation Index
Fetch the complete documentation index at: https://docs.strait.dev/llms.txt
Use this file to discover all available pages before exploring further.
API key passed as Bearer token
OK
A URL to the JSON Schema for this object.
"https://api.strait.dev/schemas/WorkflowPolicy.json"
curl --request GET \
--url https://api.strait.dev/v1/workflow-policies/{projectID} \
--header 'Authorization: Bearer <token>'{
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"max_depth": 123,
"max_fan_out": 123,
"project_id": "<string>",
"require_approval_for_deploy": true,
"updated_at": "2023-11-07T05:31:56Z",
"$schema": "<string>",
"forbidden_step_types": [
"<string>"
]
}