# List content revisions

**Publié le** : 2026-05-08
**Catégorie** : Core CMS

## `GET /contents/:id/revisions`

**List content revisions**

Returns the version history for a content, ordered by most recent
first. Each revision captures the full state of the content at that
point in time.

Revisions are created automatically on every update via the API or
admin dashboard.

Required permissions: `contents.view`

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | Yes | Unique identifier |


### Responses

| Status | Description |
| --- | --- |
| `200` | Successful response |
| `401` | Unauthorized — invalid or missing API token |
| `403` | Forbidden — insufficient permissions |
| `404` | Not found |


### Examples

```bash
curl https://api.lynkow.com/v1/contents/42/revisions \
  -H "Authorization: Bearer $API_TOKEN"
```

### Response Example

```json
{
  "data": [
    {
      "id": 301,
      "contentId": 42,
      "title": "Updated Title",
      "changes": [
        {
          "field": "title",
          "from": "Getting Started with Lynkow",
          "to": "Updated Title"
        },
        {
          "field": "excerpt",
          "from": null,
          "to": "Updated excerpt for the article."
        }
      ],
      "createdAt": "2025-04-06T14:00:00.000Z",
      "author": {
        "id": 1,
        "fullName": "Jane Doe"
      }
    },
    {
      "id": 300,
      "contentId": 42,
      "title": "Getting Started with Lynkow",
      "changes": [
        {
          "field": "bodyMarkdown",
          "from": "# Welcome",
          "to": "# Welcome\n\nThis is your first article."
        }
      ],
      "createdAt": "2025-03-15T10:30:00.000Z",
      "author": {
        "id": 1,
        "fullName": "Jane Doe"
      }
    }
  ]
}
```

---