EndpointsEdit
Get Edits
Query Parameters
page?integer
Default
1Range
0 < value <= 10000size?integer
Default
15Range
1 <= value <= 100Request Body
application/json
sort?array<>
Default
["edit_id:desc","created:desc"]content_type?|
status?|
moderator?|
author?|
slug?|
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://api.hikka.io/edit/list" \ -H "Content-Type: application/json" \ -d '{}'{
"pagination": {
"total": 20,
"pages": 2,
"page": 1
},
"list": [
{
"content_type": "anime",
"status": "pending",
"created": 1693850684,
"updated": 1693850684,
"description": "...",
"edit_id": 3,
"moderator": {
"reference": "c773d0bf-1c42-4c18-aec8-1bdd8cb0a434",
"updated": 1686088809,
"created": 1686088809,
"description": "Hikka",
"username": "hikka",
"cover": "string",
"active": true,
"avatar": "string",
"role": "string"
},
"author": {
"reference": "c773d0bf-1c42-4c18-aec8-1bdd8cb0a434",
"updated": 1686088809,
"created": 1686088809,
"description": "Hikka",
"username": "hikka",
"cover": "string",
"active": true,
"avatar": "string",
"role": "string"
},
"before": {},
"system_edit": true,
"after": {},
"content": {}
}
]
}{
"message": "Example error message",
"code": "example_error"
}