Hikka Docs Hikka Docs
EndpointsEdit

Get Edits

POST
/edit/list

Query Parameters

page?integer
Default1
Range0 < value <= 10000
size?integer
Default15
Range1 <= value <= 100

Request 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"
}