]> BookStack Code Mirror - bookstack/blob - dev/api/responses/attachments-read.json
respective book and chapter structure added.
[bookstack] / dev / api / responses / attachments-read.json
1 {
2   "id": 5,
3   "name": "My link attachment",
4   "extension": "",
5   "uploaded_to": 4,
6   "external": true,
7   "order": 2,
8   "created_by": {
9     "id": 1,
10     "name": "Admin",
11     "slug": "admin"
12   },
13   "updated_by": {
14     "id": 1,
15     "name": "Admin",
16     "slug": "admin"
17   },
18   "created_at": "2021-10-20T06:35:46.000000Z",
19   "updated_at": "2021-10-20T06:37:11.000000Z",
20   "links": {
21     "html": "<a target=\"_blank\" href=\"https://bookstack.local/attachments/5\">My updated attachment</a>",
22     "markdown": "[My updated attachment](https://bookstack.local/attachments/5)"
23   },
24   "content": "https://link.example.com/updated"
25 }