Pages

Create a page

Create HTML page. Use index.htm for homepage.

post/papi/project/{projectId}/pages

Request

  • Base URL: https://api.websitepublisher.ai
  • URL: https://api.websitepublisher.ai/papi/project/{projectId}/pages
  • Auth: OAuth 2 (authorization code, authorization URL https://api.websitepublisher.ai/dapi/oauth/authorize, token URL https://api.websitepublisher.ai/dapi/oauth/token, scopes: read, write)

Path parameters

projectIdinteger required

Request body

slugstring required

URL path like about.htm

contentstring required

Complete HTML with DOCTYPE

Example request

{
  "slug": "about.htm",
  "meta": {
    "language": "en"
  },
  "seo": {
    "robots_index": true,
    "robots_follow": true
  }
}

Response

Created

Changes

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