Content
Covered in this doc:

List content objects

List all content modules ever created within a Site
1
GET /api/v2/content/?site_id=12345
Copied!

Parameters

Name
Type
Description
site_id
string
required ID of the Site you want to get the content object for

Response

1
{
2
"meta": {
3
"limit": 20,
4
"next": "/api/v2/content/?limit=20&offset=20",
5
"offset": 0,
6
"previous": null,
7
"total_count": 5
8
},
9
"objects": [
10
{
11
"added": "2012-06-01T09:28:46",
12
"content": "<p>Here is the content of the module</p>",
13
"content_clean": "<p>Here is the content of the module that has been cleaned up using various HTML filters to avoid unclosed tags and attributes</p>",
14
"id": 328269,
15
"modified": "2012-06-01T09:28:46",
16
"resource_uri": "/api/v2/content/328269/",
17
"site_id": 12345,
18
"user_id": 54321
19
},
20
{
21
"added": "2012-06-01T09:28:46",
22
"content": "<p>Here is the content of the module</p>",
23
"content_clean": "<p>Here is the content of the module that has been cleaned up using various HTML filters to avoid unclosed tags and attributes</p>",
24
"id": 328270,
25
"modified": "2012-06-01T09:28:46",
26
"resource_uri": "/api/v2/content/328270/",
27
"site_id": 12345,
28
"user_id": 54321
29
},
30
...
31
]
32
}
Copied!
Last modified 2yr ago