List viewer campaign items
Changed onReturns a paginated list of campaign review items assigned to the current authenticated viewer. Matches GraphQL Campaign.viewerItems.
Campaign access matches GET /campaigns/{campaign_id} and GraphQL campaign(id): the caller must have access-review read permission or be a reviewer on the campaign. Otherwise the request fails with 403 (same as get-by-id). Item rows are still scoped to the caller's own reviews (empty page when the caller is an admin but not a reviewer).
Request
- Base URLhttps://api.opal.dev/v1
- AuthHTTP bearer
Path parameters
The ID of the campaign.
Query parameters
The pagination cursor value.
Number of results to return per page. Default is 200; maximum is 500.
Sort field for viewer campaign items.
Sort by. Omit to sort by created_at.
Sort direction for viewer campaign items.
Sort direction.
Filter by review status. When multiple values are provided, items matching any status are returned (OR).
[ "PENDING" ]
Filter by access level name.
Filter by principal ID.
Filter by entity ID.
Filter to specific campaign item review IDs.
Restrict to items in this AI-suggestion bucket.
Response
A page of viewer campaign items.
Example response
{
"results": [
{
"decision": "APPROVED",
"pending_decision": "APPROVED",
"principal_type": "GROUP",
"entity_type": "GROUP"
}
]
}Changes
- warning
added the new
REDUCE_EXPIRATIONenum value to the//////response property for the response status - warning
added the new
REDUCE_EXPIRATIONenum value to the//////response property for the response status - info
added the enum value
REDUCE_EXPIRATIONto the propertyitems/of thequeryrequest parameterstatuses - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning
- info
endpoint added
- info