Moderation
Moderation Service
REST endpoints for managing Moderation tasks within a Jive instance. With this service, you can view and update moderation items available to you.
The Moderation Entity contains examples on how to use these endpoints.
Since: 3.12
Get Counts
GET /moderation/pending/countsReturn counting information about the moderation queue of the person making the request.
| Field | Description |
|---|---|
| pendingCount | Indicates number of pending moderation items for the person making the request. |
Query Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| filter | Object[] | false | Filter expression(s) used to select matching results |
Retrieves:
Return Status:
| HTTP Status Code | Description |
|---|---|
| 400 (Bad Request) | an error happened while building the JSON reply |
Since: 3.4
Get Moderation
GET /moderation/{moderationID}Gets the specified Moderation item.
Moderation of the requested moderation item
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| moderationID | String | true | The identifier for the moderation item |
Query Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| fields | String | false | Fields to be returned for each item |
Retrieves:
Return Status:
| HTTP Status Code | Description |
|---|---|
| 404 (Not Found) | If the moderation item cannot be found for the current user |
| 400 (Bad Request) | If the request has malformed parameters |
Get Pending Moderation
GET /moderation/pendingGets the pending Moderation items (e.g. profile images and new user accounts), including content flagged for abuse.
This service supports the following filters:
| Filter | Params | Example |
|---|---|---|
| objectType |
One or more of the object types being moderated, separated by commas. Possible values are:
|
?filter=type(document,person) |
| place | A place URI. Only one place can be specified. Place and author filters are mutually exclusive. | ?filter=place(https://example.jiveon.com/api/core/v3/places/1006) |
| author | A person URI representing the author under review. Only one author can be specified. Place and author filters are mutually exclusive. | ?filter=author(https://example.jiveon.com/api/core/v3/people/12) |
| moderationType |
The type of moderation. Can either be moderation or abuse. Refer to
AbuseReport for information about
abuse reports. Default value is moderation.
|
?filter=moderationType(moderation) |
Query Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| filter | Object[] | false | Filters the criteria used to select moderation items |
| startIndex | Integer | false | Zero-relative index of the first matching content to be returned |
| count | Integer | false | Maximum number of items to return |
| fields | String | false | Fields to be returned for each item |
Retrieves:
Return Status:
| HTTP Status Code | Description |
|---|---|
| 400 (Bad Request) | If the request contains malformed parameters |
| 403 (Forbidden) | If the requesting user is not authorized to view an object specified by a filter |
| 404 (Not Found) | If an object specified by a filter does not exist |
Update Moderation
PUT /moderation/{moderationID}Updates an existing Moderation item.
Path Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| moderationID | String | true | The identifier for the moderation item |
Query Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| fields | String | false | Fields to be returned for each item |
Return Status:
| HTTP Status Code | Description |
|---|---|
| 404 (Not Found) | If the moderation item cannot be found for the current user |
| 400 (Bad Request) | If the request has malformed parameters or content |
| 403 (Forbidden) | If the requesting user is not authorized to perform this action |