Projects
Read the project policy
Reads the project policy settings and what the caller may do under them.
GET
header
AuthorizationBearer <Postdot API key>A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.
projectId*stringLength
1 <= lengthResponse for status 200
application/json- response
policy*permissions*curl -X GET 'https://postdot.example/api/projects/string/policy'Example Response
{
"policy": {
"editorsCanRemovePublishedPosts": true
},
"permissions": {
"canDeletePosts": true,
"canRemovePublishedPosts": true,
"canPurgePosts": true,
"canChangePolicy": true
}
}