Documents

document_update_site_summary

document_update_site_description

post/pimcore-studio/api/documents/site/{id}

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pimcore-studio/api/documents/site/{id}
  • Auth: none declared

Path parameters

idinteger required
Example:83

Id of the document

Request body

mainDomainstring required

Main domain

domainsstring[] required

Domains

errorDocumentstring required

Error document

localizedErrorDocumentsobject required

Localized error documents

redirectToMainDomainboolean required

Redirect to main domain

Example request

{
  "mainDomain": "main_site",
  "domains": [
    "other_domain"
  ],
  "errorDocument": "path/to/error/document",
  "localizedErrorDocuments": {
    "en": "path/to/en/error/document",
    "de": "path/to/de/error/document"
  }
}

Response

document_update_site_success_response

Changes

No recorded changes to this operation across all 2 revisions of this API.