Get Section
How to obtain a section.
You can use the section ID or the slug.
GET https://mburger.cloud/api/sections/<id-or-slug>
URL Parameters
Name
Type
Required
Description
id-or-slug
int, string
Yes
Section id or the value of the slug element.
If you are using the slug (and the project has Multi-language enabled) make sure to include the correct locale in the request.
Parameters
Name
Type
Required
Description
locale
string
No
For multi-language projects, specify the desired locale for elements values. If locale is not provided or found the project fallback will be used.
force_locale_fallback
boolean
No
If true and the requested locale is empty, the fallback locale is returned. Default false.
include
string
No
Specify which relations to load and include in response.
image_format
string
No
Specify which image dimension to include in response. Values are thumb, medium, large and original. Default is medium.
use_slug
string
No
If true forces MBurger to use the slug.
distance
string
No
With this parameter and providing your latitude and longitude the distance between you and every section is added in the response. Example: distance=42.24234,13.543344
Last updated