]> BookStack Code Mirror - bookstack/blob - dev/api/responses/image-gallery-list.json
Added examples, updated docs for image gallery api endpoints
[bookstack] / dev / api / responses / image-gallery-list.json
1 {
2   "data": [
3     {
4       "id": 1,
5       "name": "My cat scribbles",
6       "url": "https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/gallery\/2023-02\/scribbles.jpg",
7       "path": "\/uploads\/images\/gallery\/2023-02\/scribbles.jpg",
8       "type": "gallery",
9       "uploaded_to": 1,
10       "created_by": 1,
11       "updated_by": 1,
12       "created_at": "2023-02-12T16:34:57.000000Z",
13       "updated_at": "2023-02-12T16:34:57.000000Z"
14     },
15     {
16       "id": 2,
17       "name": "Drawing-1.png",
18       "url": "https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/drawio\/2023-02\/drawing-1.png",
19       "path": "\/uploads\/images\/drawio\/2023-02\/drawing-1.png",
20       "type": "drawio",
21       "uploaded_to": 2,
22       "created_by": 2,
23       "updated_by": 2,
24       "created_at": "2023-02-12T16:39:19.000000Z",
25       "updated_at": "2023-02-12T16:39:19.000000Z"
26     },
27     {
28       "id": 8,
29       "name": "beans.jpg",
30       "url": "https:\/\/p.rizon.top:443\/https\/bookstack.example.com\/uploads\/images\/gallery\/2023-02\/beans.jpg",
31       "path": "\/uploads\/images\/gallery\/2023-02\/beans.jpg",
32       "type": "gallery",
33       "uploaded_to": 6,
34       "created_by": 1,
35       "updated_by": 1,
36       "created_at": "2023-02-15T19:37:44.000000Z",
37       "updated_at": "2023-02-15T19:37:44.000000Z"
38     }
39   ],
40   "total": 3
41 }