List Content
GET
/content
const url = 'http://localhost:9000/content?limit=50&offset=0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:9000/content?limit=50&offset=0'Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” limit
integer
offset
integer
order
string
fields
string
q
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
content
Array<object>
object
id
string
label
string
slug
string
format
string
prefix
string
metadata
object
key
additional properties
any
count
integer
limit
integer
offset
integer
Example generated
{ "content": [ { "id": "example", "label": "example", "slug": "example", "format": "example", "prefix": "example", "metadata": {} } ], "count": 1, "limit": 1, "offset": 1}