Pages

Update page by id

put/v1/pages/:id

Request

  • Base URL: https://api.dayschedule.com/v1
  • URL: https://api.dayschedule.com/v1/v1/pages/:id
  • Auth: none declared

Path parameters

idnumber required

Request body

page_idnumber nullable
account_idnumber nullable
user_idnumber nullable
namestring required
domainstring required
is_defaultboolean
descriptionstring nullable
logostring nullable
shape'rounded' | 'circle' | 'square' | 'rectangle' | 'null' nullable
remove_brandingboolean nullable
seoobject nullable
is_publicboolean
screenshotsstring[] nullable
created_atstring nullable
updated_atstring nullable

Example request

{
  "page_id": 1,
  "account_id": 1,
  "user_id": 1,
  "name": "Vikash Rathee",
  "domain": "vikash",
  "is_default": true,
  "description": "Welcome to my day schedule page, please select an event below to book an appointment.",
  "logo": "https://example.com/logo.png",
  "shape": "rounded",
  "color": {
    "primary": "#ff0000",
    "secondary": "#0000ff"
  },
  "remove_branding": true,
  "seo": {
    "title": "Homepage",
    "description": "Welcome to our website!"
  },
  "integrations": {
    "google_analytics_id": "G-123456789",
    "facebook_pixel_id": "123456789012345"
  },
  "is_public": true,
  "screenshots": [
    "https://example.com/screenshot1.png"
  ],
  "updated_at": "1970-01-01T00:00:00.000Z"
}

Response

OK

page_idnumber nullable
account_idnumber nullable
user_idnumber nullable
namestring required
domainstring required
is_defaultboolean
descriptionstring nullable
logostring nullable
shape'rounded' | 'circle' | 'square' | 'rectangle' | 'null' nullable
remove_brandingboolean nullable
seoobject nullable
is_publicboolean
screenshotsstring[] nullable
created_atstring nullable
updated_atstring nullable

Example response

{
  "page_id": 1,
  "account_id": 1,
  "user_id": 1,
  "name": "Vikash Rathee",
  "domain": "vikash",
  "is_default": true,
  "description": "Welcome to my day schedule page, please select an event below to book an appointment.",
  "logo": "https://example.com/logo.png",
  "shape": "rounded",
  "color": {
    "primary": "#ff0000",
    "secondary": "#0000ff"
  },
  "remove_branding": true,
  "seo": {
    "title": "Homepage",
    "description": "Welcome to our website!"
  },
  "integrations": {
    "google_analytics_id": "G-123456789",
    "facebook_pixel_id": "123456789012345"
  },
  "is_public": true,
  "screenshots": [
    "https://example.com/screenshot1.png"
  ],
  "updated_at": "1970-01-01T00:00:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.