Get content by URL, IDs, or handles
Used to fetch views by a single URL and/or multiple IDs or handles in a single request.
Note: The maximum url length is 4096 characters
Headers
Api key to validate your environment.
"environment-1637c4d0-e878-4738-b866-152106a4f88c"
Query Parameters
The URL to get data from. Maximum: 1 Required: false
Specific view ids to get data from.
Maximum: unlimited
Required: false
Specific handles to get data from. Handles will be returned in the views object and must be unique.
Maximum: unlimited
Required: false
By default, each view is returned only once. However, if you set includeDuplicateViews to true, the view will be returned for each matching requested handle
Response
Valid request.
- Option 1
- Option 2
{
"title": "Enterspeed",
"logo": "/media-path/enterspeed.svg"
}{
"gid://Environment/f0edd7b7-23dd-4177-a98a-313127601e97/Source/32ebdcab-ae19-4a71-a09e-a93257b807b7/Entity/4573/BlogPostTile": {
"title": "How to increase performance",
"image": "/media-path/performance.jpg",
"url": "/blog/how-to-increase-performance/"
},
"Navigation": {
"items": [
{
"text": "Contact us",
"link": "/contact-us/"
}
]
}
}