Content Updates
The Brand Kit ID
ID of the workspace to retrieve results from. If not provided, returns results from all workspaces the user belongs to.
Optional Brand Kit ID to filter content updates by
Sort field. Prefix with - for descending.
Available sort fields:
- created_at/-created_at: Sort by creation date
- updated_at/-updated_at: Sort by last update date
- url/-url: Sort alphabetically by URL
-created_atPossible values: Page number
1Items per page
25Successful response
Bad request - invalid parameters, filters, or sort options
Unauthorized - invalid or missing authentication token
Not found - resource does not exist
Precondition failed - AEO not configured for this brand kit
POST /public_api/brand_kits/{brand_kit_id}/content_updates/list HTTP/1.1
Host: api.airops.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 188
{
"workspace_id": 1,
"brand_kit_id": 1,
"filters": [
{
"field": "url",
"operator": "EQUALS",
"value": null
}
],
"includes": [
"metadata_entries"
],
"fields": [
"id"
],
"sort": "-created_at",
"page": 1,
"per_page": 25
}{
"data": [
{
"id": 1,
"url": "text",
"type": "page_published",
"source": "track_event_step",
"brand_kit_id": 1,
"workspace_id": 1,
"created_at": "text",
"updated_at": "text",
"change_detection": {},
"metadata_entries": [
{}
]
}
],
"meta": {
"page": 1,
"per_page": 1,
"total_count": 1,
"total_pages": 1
}
}The Brand Kit ID
The page URL to track
Type of content update
Successful response
Bad request - invalid parameters, filters, or sort options
Unauthorized - invalid or missing authentication token
Not found - resource does not exist
Precondition failed - AEO not configured for this brand kit
Unprocessable entity - validation failed
POST /public_api/brand_kits/{brand_kit_id}/content_updates HTTP/1.1
Host: api.airops.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 90
{
"url": "text",
"type": "page_published",
"custom_attributes": [
{
"key": "text",
"value": "text"
}
]
}{
"data": {
"id": 1,
"url": "text",
"type": "page_published",
"source": "track_event_step",
"brand_kit_id": 1,
"workspace_id": 1,
"created_at": "text",
"updated_at": "text",
"change_detection": {},
"metadata_entries": [
{}
]
}
}The Brand Kit ID
The resource ID
Successful response
Bad request - invalid parameters, filters, or sort options
Unauthorized - invalid or missing authentication token
Not found - resource does not exist
Precondition failed - AEO not configured for this brand kit
GET /public_api/brand_kits/{brand_kit_id}/content_updates/{id} HTTP/1.1
Host: api.airops.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": 1,
"url": "text",
"type": "page_published",
"source": "track_event_step",
"brand_kit_id": 1,
"workspace_id": 1,
"created_at": "text",
"updated_at": "text",
"change_detection": {},
"metadata_entries": [
{}
]
}
}The Brand Kit ID
The resource ID
Successful response
Bad request - invalid parameters, filters, or sort options
Unauthorized - invalid or missing authentication token
Not found - resource does not exist
Precondition failed - AEO not configured for this brand kit
DELETE /public_api/brand_kits/{brand_kit_id}/content_updates/{id} HTTP/1.1
Host: api.airops.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?