Homepage
Create Homepage Section
POST
/v1/admin/homepage_structure
💡
This request requires “PB-API-TOKEN” from the platforms.
Note: base64Structure is JSON encoded in base64 string
Request
{
"key":"Kenan",
"base64Structure": "ewogICAgICAgICAgICAiaWQiOiAiMzI1NCIsCiAgICAgICAgICAgICJhYmJyZXZpYXRpb24iOiAiICIsCiAgICAgICAgICAgICJ0aXRsZSI6ICJBIENvcnVuYSIsCiAgICAgICAgICAgICJjb3VudHJ5SWQiOiAiMjA1IgogICAgfQ=="
}
Response
200 OK if homepage created successfully
Get Homepage Section by Key
GET
/v1/admin/homepage_structure/{key}
💡
This request requires “PB-API-TOKEN” from the platforms.
Note: base64Structure is JSON encoded in base64 string
Request
Empty
Response
{
"key": "Kenan",
"base64Structure": "ewogICAgICAgICAgICAiaWQiOiAiMzI1NCIsCiAgICAgICAgICAgICJhYmJyZXZpYXRpb24iOiAiICIsCiAgICAgICAgICAgICJ0aXRsZSI6ICJBIENvcnVuYSIsCiAgICAgICAgICAgICJjb3VudHJ5SWQiOiAiMjA1IgogICAgfQ=="
}