CMS · reviews
2 routes. Paths are relative to https://api.intersink.com/v1.
- GET/cms/channels/{channelId}/reviewsList the channel's customer reviews
- PATCH/cms/channels/{channelId}/reviews/{id}Show or hide a review
List the channel's customer reviews
GET/cms/channels/{channelId}/reviews
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path | |
| page | number, query | Minimum 1, maximum 10000. |
| limit | number, query | Minimum 1, maximum 100. |
| status | string, query | One of: "published", "hidden". |
| q | string, query | Search in the title / text At most 100 characters. |
Response
200. The payload in data is not described in the spec yet.
Show or hide a review
PATCH/cms/channels/{channelId}/reviews/{id}
Needs a signed-in user (Bearer token or access_token cookie).
Parameters
| Name | Type | Description |
|---|---|---|
| channelIdrequired | string, path | |
| idrequired | number, path |
Request body application/json
| Field | Type | Description |
|---|---|---|
| statusrequired | string | One of: "published", "hidden". |
Response
200. The payload in data is not described in the spec yet.