Policies
Get policy by ID
Changed onReturns a single policy by its ID, including assigned reviewer IDs.
get/policies/{id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/policies/{id}
- AuthHTTP bearer
Path parameters
idinteger required
Example:42
Numeric ID of the policy
Response
Policy retrieved successfully
Example response
{
"message": "OK",
"data": {
"id": 42,
"organization_id": 1,
"title": "AI Ethics Policy",
"content_html": "<h1>AI Ethics Policy</h1><p>...</p>",
"status": "draft",
"author_id": 1,
"last_updated_by": 1,
"assigned_reviewer_ids": [
2,
5
]
}
}Changes
- info
api operation id
getPolicyByIdremoved and replaced withPolicyController.getPolicyById
- info
- info
api operation id
PolicyController.getPolicyByIdremoved and replaced withgetPolicyById
- info