# Introduction

## Article model

### Example

```json
{
   "id": 15,
   "category_id": 2,
   "status": "draft",
   "pinned": false,
   "title": "Title",
   "description": "<html>Html content</html>",
   "lead": null,
   "image_url": "http://image.url",
   "published_at": "2021-07-14T12:54:07.076Z",
   "created_at": "2021-07-14T12:54:07.076Z",
   "position": 3
}
```

### Definition

Key | Type | Optional | Description
--------- | --------- | --------- | ---------
id | integer | no |
category_id | integer | yes | category id
status | enum: `['draft', 'published']` | no |
pinned | boolean | no | 
title | string | no |
description | string | no |
lead | string | yes | currently not used
created_at | datetime | no | Time of creation
published_at | datetime | yes | Time of publication
image_url | string | yes |
position | integer | yes | position on the list