Posts API

Get User Read Access to Post

GET /core/v1/posts/<post_id>/access/read?user_id=...
Parameter Type Description
auth_token_type String Required, values: jwt
auth_token String Required, values: {“user_id”: <admin_id>}
post_id Number Required
user_id Number Required

200 OK

{
  "status": "denied"
}

Grant User Read Access to Post

POST /core/v1/posts/<post_id>/access/read
Parameter Type Description
auth_token_type String Required, values: jwt
auth_token String Required, values: {“user_id”: <admin_id>}
post_id Number Required
user_id Number Required

200 OK

{
  "status": "granted"
}

Remove Post from Group

DELETE /core/v1/posts/<post_id>/access/read
Parameter Type Description
auth_token_type String Required, values: jwt
auth_token String Required, values: {“user_id”: <admin_id>}
post_id Number Required
user_id Number Required

200 OK

{
  "status": "denied"
}