List views
Returns the list of views available to your perimeter.
A view in Deck is an object to tell what product information should be displayed, in what area (called "zones"), and in which order. The finesse of this configuration is up to the PIM admins and can depend on product segments and classification. But in the end, on the API side, it is a ready-to-use indication to drive information display.
Information can be properties, tiles, localized fields.
Here are some examples:
- the view "web" would be used to give the instructions of what to display on the different zones of the product web page
- the view "technical-sheet" would do that for the technical sheet generation, which is a bit different.
- The view "compare" would be used to specified the criteria useful during product comparison, using zones to define parameters categories
GET /views
curl \
-X GET https://api.ppe-analytics.com/api/v1/views \
-H "PPEApiKey: $API_KEY"
Response examples (200)
{
"status": "OK",
"result": {
"views": [
{
"key": "web",
"trads": {
"en": "Web view to control website",
"fr": "Vue site web"
},
"api_get_view": "/api/v1/views/web"
},
{
"key": "compare",
"name": "Comparision view to know relevant criteria",
"trads": {
"en": "Comparision view",
"fr": "Vue comparison"
},
"api_get_view": "/api/v1/views/compare"
}
]
}
}