PATCH /company/websites/pages/@id
Update website page data
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
Pass the following properties via application/json or form encoding in the body of the request.
todo
Field | Type | Description |
---|---|---|
id | Int | Unique ID of the page |
name | String | Name of the page, usually used in the title HTML tag |
url | String | URL of the page |
language | String | Which language the page belongs to |
locked | Bool | Homepages are automatically generated and are locked. This means that they cannot be deleted |
data | String | A String value |
upload_ids | [Int] | Array of Int |
PATCH /company/websites/pages/@id HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.8.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 177
{
"id": 18,
"name": "...",
"url": "...",
"language": "...",
"locked": true,
"data": "...",
"upload_ids": [
19,
17,
19
]
}
todo
Field | Type | Description |
---|---|---|
id | Int | Unique ID of the page |
name | String | Name of the page, usually used in the title HTML tag |
url | String | URL of the page |
language | String | Which language the page belongs to |
locked | Bool | Homepages are automatically generated and are locked. This means that they cannot be deleted |
data | String | A String value |
upload_ids | [Int] | Array of Int |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 177
{
"id": 14,
"name": "...",
"url": "...",
"language": "...",
"locked": true,
"data": "...",
"upload_ids": [
16,
12,
14
]
}