Posts API¶
Get User Group Read Access to Post¶
GET /core/v1/posts/<post_id>/access/read?user_id=...
Parameter |
Type |
Description |
---|---|---|
|
String |
Required, values: jwt |
|
String |
Required, values: {“user_id”: <admin_id>} |
|
Number |
Required |
|
String |
Required |
200 OK¶
{
"status": "denied"
}
Grant User Group Read Access to Post¶
POST /core/v1/posts/<post_id>/access/read
Parameter |
Type |
Description |
---|---|---|
|
String |
Required, values: jwt |
|
String |
Required, values: {“user_id”: <admin_id>} |
|
Number |
Required |
|
String |
Required |
200 OK¶
{
"status": "granted"
}
Deny User Group Read Access to Post¶
DELETE /core/v1/posts/<post_id>/access/read
Parameter |
Type |
Description |
---|---|---|
|
String |
Required, values: jwt |
|
String |
Required, values: {“user_id”: <admin_id>} |
|
Number |
Required |
|
String |
Required |
200 OK¶
{
"status": "denied"
}