]> BookStack Code Mirror - bookstack/blob - dev/api/responses/image-gallery-update.json
respective book and chapter structure added.
[bookstack] / dev / api / responses / image-gallery-update.json
1 {
2   "id": 618,
3   "name": "My updated image name",
4   "url": "https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/gallery\/2023-03\/cute-cat-image.png",
5   "created_at": "2023-03-15T16:32:09.000000Z",
6   "updated_at": "2023-03-15T18:31:14.000000Z",
7   "created_by": {
8     "id": 1,
9     "name": "Admin",
10     "slug": "admin"
11   },
12   "updated_by": {
13     "id": 1,
14     "name": "Admin",
15     "slug": "admin"
16   },
17   "path": "\/uploads\/images\/gallery\/2023-03\/cute-cat-image.png",
18   "type": "gallery",
19   "uploaded_to": 1,
20   "thumbs": {
21     "gallery": "https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/gallery\/2023-03\/thumbs-150-150\/cute-cat-image.png",
22     "display": "https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/gallery\/2023-03\/scaled-1680-\/cute-cat-image.png"
23   },
24   "content": {
25     "html": "<a href=\"https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/gallery\/2023-03\/cute-cat-image.png\" target=\"_blank\"><img src=\"https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/gallery\/2023-03\/scaled-1680-\/cute-cat-image.png\" alt=\"My updated image name\"><\/a>",
26     "markdown": "![My updated image name](https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/gallery\/2023-03\/scaled-1680-\/cute-cat-image.png)"
27   }
28 }