https://api.poweredlocal.com/v1/pages

Retrieve list of pages

Parameters:
ContextNameTypeDescriptionRequired
Response codes:
HTTP codeReasonResponse model
200Returned when successfulAppBundle.Entity.Page[items]
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/pages

Add a page

Parameters:
ContextNameTypeDescriptionRequired
formcontentstringHTML content of the login pageno
Response codes:
HTTP codeReasonResponse model
200See standard HTTP status code reason for 200AppBundle.Entity.Page
201Returned when successfulN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/pages/{id}

Delete a page

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
Response codes:
HTTP codeReasonResponse model
204Returned when successfulN/A
404Page not foundN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/pages/{id}

View a page

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
Response codes:
HTTP codeReasonResponse model
200Returned when successfulAppBundle.Entity.Page
404Page not foundN/A
500Authorization error or any other problemN/A

https://api.poweredlocal.com/v1/pages/{id}

Update page details

Parameters:
ContextNameTypeDescriptionRequired
pathidstringyes
formcontentstringJSON serialized settings of the login pageno
Response codes:
HTTP codeReasonResponse model
200Returned when successfulAppBundle.Entity.Page
404Page not foundN/A
500Authorization error or any other problemN/A

AppBundle.Entity.Page

Properties:
TypeDescriptionFormat
string
string
stringType of the devices supported by this page
arraySettings of the page
stringstring
stringPage's slug
stringTimestamp when the page was createddate-time

AppBundle.Entity.Page[items]

Properties:
TypeDescriptionFormat
array