Content Management Screens API
The Screens API is in phase and is not yet available to users. You can contact the Product-Live team at contact@product-live.com if you want more details and get an early access.
Introduction
A screen designates what fields will be displayed for your items in the Product-Live interface. With this API, you can get overall information on screens on your and your partner shared tables.
The Screens API Swagger definition is available on our Product-Live API portal here.
General information
- Rate limit: 50 requests per minute
Get Screen by id
Request URL
Path parameters
Parameter | Type | Description |
---|---|---|
screenId | string | A screen id |
Request parameters
None
Request headers
Header | Type | Value |
---|---|---|
accept | string | application/json |
X-Api-Key | string | Your account API key |
X-Context | number | The account id of your partner in order to get the screen he shared with you |
Request Body
None
Request Example
bash
curl -X 'GET' \
'https://api-next.product-live.com/v1/screens/4627' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>' \
-H 'X-Context: 4013'
1
2
3
4
5
2
3
4
5
Response Example
json
{
"id": "4627",
"updatedAt": "2024-06-26T14:05:11.000Z",
"createdAt": "2024-06-26T14:05:11.000Z",
"title": "Suppliers",
"position": 2,
"lineHeight": "MEDIUM",
"status": "ACTIVE",
"description": "Supplier screen",
"titleLocal": {
"eng": "Suppliers"
},
"descriptionLocal": {
"eng": "Suppliers"
},
"key": "suppliers",
"tableId": "978",
"levelId": "1023"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
List Screens
Request URL
Path parameters
None
Request parameters
Parameter | Type | Description |
---|---|---|
tableId | string | A table Id |
page | integer | Optional The page number to retrieve. Default value if missing : 0 |
size | integer | Optional The number of items per page. Default value if missing : 10 |
Request headers
Header | Type | Value |
---|---|---|
accept | string | application/json |
X-Api-Key | string | Your account API key |
X-Context | number | The account id of your partner in order to get the list of screens he shared with you |
Request Body
None
Request Example
bash
curl -X 'GET' \
'https://api-next.product-live.com/v1/screens?tableId=978&page=0&size=1' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>' \
-H 'X-Context: 4013'
1
2
3
4
5
2
3
4
5
Response example
json
{
"object": "list",
"data": [
{
"id": "4627",
"updatedAt": "2024-06-26T14:05:11.000Z",
"createdAt": "2024-06-26T14:05:11.000Z",
"title": "Suppliers",
"position": 2,
"lineHeight": "MEDIUM",
"status": "ACTIVE",
"description": "Supplier screen",
"titleLocal": {
"eng": "Suppliers"
},
"descriptionLocal": {
"eng": "Suppliers"
},
"key": "suppliers",
"tableId": "978",
"levelId": "1023"
}
],
"totalElements": 1
}
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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Find Screens
Request URL
Path parameters
None
Request parameters
Parameter | Type | Description |
---|---|---|
tableId | string | A table Id |
page | integer | Optional The page number to retrieve. Default value if missing : 0 |
size | integer | Optional The number of items per page. Default value if missing : 10 |
Request headers
Header | Type | Value |
---|---|---|
accept | string | application/json |
X-Api-Key | string | Your account API key |
X-Context | number | The account id of your partner in order to get the screen he shared with you |
Request Body
See more details on the find request body in the dedicated page Find request.
json
{
"type": "eq",
"caseSensitive": true,
"field": "title",
"value": "View all business columns"
}
1
2
3
4
5
6
2
3
4
5
6
json
{
"type": "and",
"queries": [
{
"type": "eq",
"caseSensitive": true,
"field": "title",
"value": "View all business columns"
},
{
"type": "greaterOrEqual",
"caseSensitive": true,
"field": "createdAt",
"value": "2021-12-30T10:17:29.000Z"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Request Example
bash
curl -X 'POST' \
'https://api.product-live.com/v1/screens/find?tableId=978&page=0&size=1' \
-H 'accept: */*' \
-H 'X-Api-Key: <REDACTED>' \
-H 'X-Context: 4013'
-d '{
"type": "and",
"queries": [
{
"type": "eq",
"caseSensitive": true,
"field": "key",
"value": "ACTIVE"
},
{
"type": "greaterOrEqual",
"caseSensitive": true,
"field": "createdAt",
"value": "2021-12-30T10:17:29.000Z"
}
]
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Response example
json
{
"object": "list",
"data": [
{
"id": "4627",
"updatedAt": "2024-06-26T14:05:11.000Z",
"createdAt": "2024-06-26T14:05:11.000Z",
"title": "Suppliers",
"position": 2,
"lineHeight": "MEDIUM",
"status": "ACTIVE",
"description": "Supplier screen",
"titleLocal": {
"eng": "Suppliers"
},
"descriptionLocal": {
"eng": "Suppliers"
},
"key": "suppliers",
"tableId": "978",
"levelId": "1023"
}
],
"totalElements": 1
}
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
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25