-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi_schema.json
42 lines (42 loc) · 1.26 KB
/
api_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"status_code": 200, //Status of the response, if its != 200 error message is displayed
"body": //Array of landings
[
{ //Landing object
"creation_timestamp": 123.1231, //Double with the unix creation timestamp (UTC)
"name": "asdasd", // Name identifier of the landing (For the url)
"owner": "asd@asd.com", //Email of the owner
"title": "asdasd", //Short description of the landing
"description": "sadasdfasdf", //Description of the landing
"id": "", //Unique uuid 4 identifier for the page
"cards": // Object whose fields are diferent types of cards
{
"cardThreeColumns": //Array of cardThreeColumns card objects
[
{
"fieldText" : //Array of columns (3)
[
"asdas",
"",
"asda"
],
"fieldTitle" : //Array of title columns (3)
[
// ...
],
"fieldImage" : [] //Array of image url columns (3)
},
{ /* ... */ }
],
"cardForm":
{
"fieldEmail": { "enabled": true, "text": "test@test.com" },
"fieldName": { "enabled": true, "text": "Some random name"}
}
}
},
{
// ...
}
]
}