Project

Get Project

How to obtain all project data.
Request
Response
GET https://mburger.cloud/api/project
1
curl https://mburger.cloud/api/project?locale=it&include=sections&sort=-title
2
-H "Accept: application/json"
3
-H "X-MBurger-Token: <token>"
4
-H "X-MBurger-Version: 3"
Copied!

Parameters

Name
Type
Required
Description
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.

Includes

Name
Description
blocks
This relation will return all blocks of the project. You can also send blocks.sections, blocks.structure or blocks.sections.elements to obtain all the data in a single API call.
beacons
This relation will load all beacons associated with the project
contracts
This relation will return all contracts uploaded to the project
When successful, a HTTP 200 and JSON like this is returned:
1
{
2
"status_code": 0,
3
"body": {
4
"id": 1,
5
"name": "Awesome Project",
6
"has_analytics": false,
7
"has_beacons": true,
8
"has_users": true,
9
"has_multilanguage": true,
10
"has_live_messages": true,
11
"has_push": true,
12
"has_subscriptions": false,
13
"has_payments": true,
14
"tz": "Europe\/Rome",
15
"locales": {
16
"it": "Italian",
17
"en": "English"
18
},
19
"created_at": 1542981950,
20
"updated_at": 1544016407
21
}
22
}
Copied!
Last modified 1yr ago
Copy link