The list handler of the JSON API renders the list configuration together with the list results.
GET /json/sites/default/mercury-json/.content/list-m/list_00001.xml
{
"Category": "",
"CategoryFolderFilter": [],
"CategoryMode": "OR",
"SearchFolder": [
{
"link": "/mercury-demo/.content/",
"path": "/sites/default/mercury-demo/.content/"
}
],
"SortOrder": "DATE_ASC",
"Title": "Demo 2: Sample List",
"TypesToCollect": [
"m-article:m/display/article-elaborate",
"m-contact:m/display/contact-elaborate"
],
"linkedContents": {},
"list": [
{
"Category": [
"topic/",
"topic/people/"
],
"Contact": {
"AddressChoice": {
"Address": {
"Locality": "Düsseldorf",
"PostalCode": "40545",
"StreetAddress": "Bolkerstraße 43 - 47"
}
},
"Email": {
"Email": "claire.dunphy@example.org",
"ObfuscateEmail": false
},
"Mobile": "+49 (160) 123-4567",
"Phone": "+49 (211) 123-4567"
},
"Image": {
"Image": {
"link": "/.galleries/people/23.jpg",
"path": "/sites/default/.galleries/people/23.jpg"
}
},
"Kind": "person",
"Link": {
"Text": "Team overview",
"URI": {
"link": "/mercury-demo/the-team/",
"path": "/sites/default/mercury-demo/the-team/"
}
},
"Name": {
"FirstName": "Claire",
"LastName": "Dunphy"
},
"Order": "222",
"Organization": "Critical Coders Corp.",
"Position": "Director HR",
"linkedContents": {}
}
],
"listInfo": {
"numFound": 30
}
}