Retrieve list of pages
Context | Name | Type | Description | Required |
---|
HTTP code | Reason | Response model |
---|---|---|
200 | Returned when successful | AppBundle.Entity.Page[items] |
500 | Authorization error or any other problem | N/A |
Add a page
Context | Name | Type | Description | Required |
---|---|---|---|---|
form | content | string | HTML content of the login page | no |
HTTP code | Reason | Response model |
---|---|---|
200 | See standard HTTP status code reason for 200 | AppBundle.Entity.Page |
201 | Returned when successful | N/A |
500 | Authorization error or any other problem | N/A |
Delete a page
Context | Name | Type | Description | Required |
---|---|---|---|---|
path | id | string | yes |
HTTP code | Reason | Response model |
---|---|---|
204 | Returned when successful | N/A |
404 | Page not found | N/A |
500 | Authorization error or any other problem | N/A |
View a page
Context | Name | Type | Description | Required |
---|---|---|---|---|
path | id | string | yes |
HTTP code | Reason | Response model |
---|---|---|
200 | Returned when successful | AppBundle.Entity.Page |
404 | Page not found | N/A |
500 | Authorization error or any other problem | N/A |
Update page details
Context | Name | Type | Description | Required |
---|---|---|---|---|
path | id | string | yes | |
form | content | string | JSON serialized settings of the login page | no |
HTTP code | Reason | Response model |
---|---|---|
200 | Returned when successful | AppBundle.Entity.Page |
404 | Page not found | N/A |
500 | Authorization error or any other problem | N/A |
Type | Description | Format |
---|---|---|
string | ||
string | ||
string | Type of the devices supported by this page | |
array | Settings of the page | |
string | string | |
string | Page's slug | |
string | Timestamp when the page was created | date-time |
Type | Description | Format |
---|---|---|
array |