Posts API

Get User Group 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

group

String

Required

200 OK

{
  "status": "denied"
}

Grant User Group 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

group

String

Required

200 OK

{
  "status": "granted"
}

Deny User Group Read Access to Post

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

group

String

Required

200 OK

{
  "status": "denied"
}