{"openapi":"3.1.0","info":{"title":"REST","version":"1.0.0"},"paths":{"/v2/sites":{"post":{"operationId":"SiteController_createV2_v2","summary":"Create Site","description":"Creates a new site in a workspace.","tags":["site"],"parameters":[{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSiteV2ResponseBodyDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSiteV2RequestBodyDto"}}}}},"get":{"operationId":"SiteController_listV2_v2","summary":"List Sites","description":"Returns a list of sites in a workspace.","tags":["site"],"parameters":[{"name":"workspaceId","in":"query","description":"The workspace ID to list sites from.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","description":"The maximum number of sites to return.","required":false,"schema":{"type":"number","format":"double","minimum":1,"maximum":100,"default":20}},{"name":"startingAfter","in":"query","description":"The pagination cursor. This is used to indicate what ID to list from.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSiteV2ResponseBodyDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}}}}},"/v2/sites/{siteId}":{"get":{"operationId":"SiteController_getOneV2_v2","summary":"Get Site","description":"Returns a site by its ID.","tags":["site"],"parameters":[{"name":"siteId","in":"path","description":"The site ID for the site you are requesting.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadSiteV2ResponseBodyDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}}}},"patch":{"operationId":"SiteController_updateOneV2_v2","summary":"Update Site","description":"Updates an existing site.","tags":["site"],"parameters":[{"name":"siteId","in":"path","description":"The site ID for the site you are updating.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSiteV2ResponseBodyDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSiteV2RequestBodyDto"}}}}},"delete":{"operationId":"SiteController_deleteV2_v2","summary":"Delete Site","description":"Deletes a site.","tags":["site"],"parameters":[{"name":"siteId","in":"path","description":"The site ID for the site you are deleting.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Site successfully deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}}}}},"/v2/sites/{siteId}/duplicate":{"post":{"operationId":"SiteController_duplicateV2_v2","summary":"Duplicate Site","description":"Duplicates an existing site with all its content and configuration.","tags":["site"],"parameters":[{"name":"siteId","in":"path","description":"The site ID for the site you are duplicating.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Returns the newly created duplicated site.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateSiteV2ResponseBodyDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateSiteV2RequestBodyDto"}}}}}},"/v2/locales":{"post":{"operationId":"SiteLocaleController_createV2_v2","summary":"Create Locale","description":"Creates a new locale for a site.","tags":["locale"],"parameters":[{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSiteLocaleV2ResponseBodyDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseDto"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictResponseDto"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSiteLocaleV2RequestBodyDto"}}}}},"get":{"operationId":"SiteLocaleController_listV2_v2","summary":"List Locales","description":"Returns a list of locales for a site.","tags":["locale"],"parameters":[{"name":"siteId","in":"query","description":"The site ID to list locales from.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","description":"The maximum number of locales to return.","required":false,"schema":{"type":"number","format":"double","minimum":1,"maximum":100,"default":20}},{"name":"startingAfter","in":"query","description":"The pagination cursor. This is used to indicate what ID to list from.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListSiteLocaleV2ResponseBodyDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}}}}},"/v2/locales/{localeIdOrCode}":{"get":{"operationId":"SiteLocaleController_getV2_v2","summary":"Get Locale","description":"Returns a locale by its ID or locale code.","tags":["locale"],"parameters":[{"name":"localeIdOrCode","in":"path","description":"The locale ID or locale code.","required":true,"schema":{"type":"string"}},{"name":"siteId","in":"query","description":"The site ID required when using a locale code instead of a locale ID.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadSiteLocaleV2ResponseBodyDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}}}},"patch":{"operationId":"SiteLocaleController_updateV2_v2","summary":"Update Locale","description":"Updates an existing locale.","tags":["locale"],"parameters":[{"name":"localeIdOrCode","in":"path","description":"The locale ID or locale code.","required":true,"schema":{"type":"string"}},{"name":"siteId","in":"query","description":"The site ID required when using a locale code instead of a locale ID.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSiteLocaleV2ResponseBodyDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictResponseDto"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSiteLocaleV2RequestBodyDto"}}}}},"delete":{"operationId":"SiteLocaleController_deleteV2_v2","summary":"Delete Locale","description":"Deletes a locale.","tags":["locale"],"parameters":[{"name":"localeIdOrCode","in":"path","description":"The locale ID or locale code.","required":true,"schema":{"type":"string"}},{"name":"siteId","in":"query","description":"The site ID required when using a locale code instead of a locale ID.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Locale successfully deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseDto"}}}}}}},"/v2/locales/{localeIdOrCode}/restore":{"post":{"operationId":"SiteLocaleController_restoreV2_v2","summary":"Restore Locale","description":"Restores a previously deleted locale.","tags":["locale"],"parameters":[{"name":"localeIdOrCode","in":"path","description":"The locale ID or locale code.","required":true,"schema":{"type":"string"}},{"name":"siteId","in":"query","description":"The site ID required when using a locale code instead of a locale ID.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Locale successfully restored.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestoreSiteLocaleV2ResponseBodyDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResponseDto"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenResponseDto"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundResponseDto"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConflictResponseDto"}}}}}}},"/v6/pages":{"post":{"operationId":"PageController_createV6_v6","summary":"Create Page","description":"Creates a new page in a site.","tags":["page"],"parameters":[{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePageV6ResponseBodyDto"}}}},"400":{"description":"Missing siteId field.","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Access forbidden.","content":{"application/json":{"schema":{"description":"Any type"}}}},"409":{"description":"A page or route with this pathname already exists.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePageV6RequestBodyDto"}}}}},"get":{"operationId":"PageController_listV6_v6","summary":"List Pages","description":"Returns a list of pages for a site.","tags":["page"],"parameters":[{"name":"siteId","in":"query","description":"The site ID to list pages from.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","description":"The maximum number of pages to return.","required":false,"schema":{"type":"number","format":"double","minimum":1,"maximum":100,"default":20}},{"name":"startingAfter","in":"query","description":"The pagination cursor. This is used to indicate what ID to list from.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"pathPrefix","in":"query","description":"The filter that limits pages to only those with a pathname that begins with this value.","required":false,"schema":{"type":"string","default":"/"}},{"name":"sortBy","in":"query","description":"The field to sort pages by.","required":false,"schema":{"$ref":"#/components/schemas/V6PagesGetParametersSortBy","default":"path"}},{"name":"sortDirection","in":"query","description":"The sort direction.","required":false,"schema":{"$ref":"#/components/schemas/V6PagesGetParametersSortDirection","default":"asc"}},{"name":"includeOffline","in":"query","description":"The flag that determines whether to include offline pages in the results.","required":false,"schema":{"$ref":"#/components/schemas/V6PagesGetParametersIncludeOffline","default":"false"}},{"name":"locale","in":"query","description":"The locale code to filter pages by.","required":false,"schema":{"type":"string"}},{"name":"versionRef","in":"query","description":"The version reference to retrieve pages from. Defaults to `ref:draft` if not provided.\n\nSupported formats:\n- `ref:draft` - Draft/working version\n- `ref:live` - Live/published version","required":false,"schema":{"$ref":"#/components/schemas/V6PagesGetParametersVersionRef","default":"ref:draft"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListPagesV2ResponseBodyDto"}}}},"403":{"description":"Access forbidden.","content":{"application/json":{"schema":{"description":"Any type"}}}}}}},"/v6/pages/{pageIdOrPathname}":{"get":{"operationId":"PageController_getV6_v6","summary":"Get Page","description":"Returns a page by its ID or pathname.","tags":["page"],"parameters":[{"name":"pageIdOrPathname","in":"path","description":"The page ID or pathname for the page you are requesting.","required":true,"schema":{"type":"string"}},{"name":"siteId","in":"query","description":"The site ID required when using a pathname instead of a page ID.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"versionRef","in":"query","description":"The version reference to retrieve the page from. Defaults to `ref:draft` if not provided.\n\nSupported formats:\n- `ref:draft` - Draft/working version\n- `ref:live` - Live/published version","required":false,"schema":{"$ref":"#/components/schemas/V6PagesPageIdOrPathnameGetParametersVersionRef","default":"ref:draft"}},{"name":"locale","in":"query","description":"The locale to retrieve the page in. Accepts either a locale code (e.g. `en-US`) or a `site_locale` UUID. If provided and resolves to a non-default locale, localized page data is collapsed into the response.","required":false,"schema":{"type":"string"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetPageV6ResponseBodyDto"}}}},"403":{"description":"Access forbidden.","content":{"application/json":{"schema":{"description":"Any type"}}}}}},"patch":{"operationId":"PageController_updateV6_v6","summary":"Update Page","description":"Updates an existing page.","tags":["page"],"parameters":[{"name":"pageIdOrPathname","in":"path","description":"The page ID or pathname for the page you are updating.","required":true,"schema":{"type":"string"}},{"name":"siteId","in":"query","description":"The site ID required when using a pathname instead of a page ID.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePageV6ResponseBodyDto"}}}},"400":{"description":"Missing pathname field.","content":{"application/json":{"schema":{"description":"Any type"}}}},"403":{"description":"Access forbidden.","content":{"application/json":{"schema":{"description":"Any type"}}}},"409":{"description":"A page or route with this pathname already exists.","content":{"application/json":{"schema":{"description":"Any type"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePageV6RequestBodyDto"}}}}},"delete":{"operationId":"PageController_deleteV6_v6","summary":"Delete Page","description":"Deletes a page.","tags":["page"],"parameters":[{"name":"pageIdOrPathname","in":"path","description":"The page ID or pathname for the page you are deleting.","required":true,"schema":{"type":"string"}},{"name":"siteId","in":"query","description":"The site ID required when using a pathname instead of a page ID.","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"x-api-key","in":"header","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"The response that indicates success when the page is deleted.","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"403":{"description":"Access forbidden.","content":{"application/json":{"schema":{"description":"Any type"}}}}}}}},"servers":[{"url":"https://api.makeswift.com","description":"Production server"}],"components":{"schemas":{"CreateSiteV2RequestBodyDto":{"type":"object","properties":{"workspaceId":{"type":"string","format":"uuid","description":"The ID of the workspace that contains this site."},"name":{"type":"string","description":"The site name."},"hostOrigin":{"type":"string","format":"uri","description":"The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing."},"defaultLocale":{"type":"string","default":"en-US","description":"The primary locale of this site."}},"required":["workspaceId","name"],"title":"CreateSiteV2RequestBodyDto"},"CreateSiteV2ResponseBodyDtoObject":{"type":"string","enum":["site"],"description":"The type of the object","title":"CreateSiteV2ResponseBodyDtoObject"},"CreateSiteV2ResponseBodyDtoLocaleManagementMode":{"type":"string","enum":["internal","external"],"description":"Controls whether locales are managed internally via the builder or externally via API.","title":"CreateSiteV2ResponseBodyDtoLocaleManagementMode"},"CreateSiteV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/CreateSiteV2ResponseBodyDtoObject","description":"The type of the object"},"id":{"type":"string","format":"uuid"},"name":{"type":"string","description":"The site name."},"hostOrigin":{"type":["string","null"],"format":"uri","description":"The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing."},"publicApiKey":{"type":"string","format":"uuid","description":"The publishable API key that a host can use to get page and component data for rendering your site."},"defaultLocale":{"type":"string","description":"The primary locale of this site."},"defaultLocalePathPrefix":{"type":["string","null"]},"localeManagementMode":{"$ref":"#/components/schemas/CreateSiteV2ResponseBodyDtoLocaleManagementMode","description":"Controls whether locales are managed internally via the builder or externally via API."}},"required":["object","id","name","hostOrigin","publicApiKey","defaultLocale","localeManagementMode"],"title":"CreateSiteV2ResponseBodyDto"},"BadRequestResponseDtoObject":{"type":"string","enum":["error"],"title":"BadRequestResponseDtoObject"},"BadRequestResponseDtoCode":{"type":"string","enum":["bad_request"],"title":"BadRequestResponseDtoCode"},"BadRequestResponseDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/BadRequestResponseDtoObject"},"code":{"$ref":"#/components/schemas/BadRequestResponseDtoCode"},"message":{"type":"string"}},"required":["object","code","message"],"title":"BadRequestResponseDto"},"ForbiddenResponseDtoObject":{"type":"string","enum":["error"],"title":"ForbiddenResponseDtoObject"},"ForbiddenResponseDtoCode":{"type":"string","enum":["forbidden"],"title":"ForbiddenResponseDtoCode"},"ForbiddenResponseDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ForbiddenResponseDtoObject"},"code":{"$ref":"#/components/schemas/ForbiddenResponseDtoCode"},"message":{"type":"string"}},"required":["object","code","message"],"title":"ForbiddenResponseDto"},"ListSiteV2ResponseBodyDtoObject":{"type":"string","enum":["list"],"title":"ListSiteV2ResponseBodyDtoObject"},"ListSiteV2ResponseBodyDtoDataItemsObject":{"type":"string","enum":["site"],"description":"The type of the object","title":"ListSiteV2ResponseBodyDtoDataItemsObject"},"ListSiteV2ResponseBodyDtoDataItemsLocaleManagementMode":{"type":"string","enum":["internal","external"],"description":"Controls whether locales are managed internally via the builder or externally via API.","title":"ListSiteV2ResponseBodyDtoDataItemsLocaleManagementMode"},"ListSiteV2ResponseBodyDtoDataItems":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ListSiteV2ResponseBodyDtoDataItemsObject","description":"The type of the object"},"id":{"type":"string","format":"uuid"},"name":{"type":"string","description":"The site name."},"hostOrigin":{"type":["string","null"],"format":"uri","description":"The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing."},"publicApiKey":{"type":"string","format":"uuid","description":"The publishable API key that a host can use to get page and component data for rendering your site."},"defaultLocale":{"type":"string","description":"The primary locale of this site."},"defaultLocalePathPrefix":{"type":["string","null"]},"localeManagementMode":{"$ref":"#/components/schemas/ListSiteV2ResponseBodyDtoDataItemsLocaleManagementMode","description":"Controls whether locales are managed internally via the builder or externally via API."}},"required":["object","id","name","hostOrigin","publicApiKey","defaultLocale","localeManagementMode"],"title":"ListSiteV2ResponseBodyDtoDataItems"},"ListSiteV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ListSiteV2ResponseBodyDtoObject"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ListSiteV2ResponseBodyDtoDataItems"}},"hasMore":{"type":"boolean","description":"The flag that indicates whether there are more sites available."}},"required":["object","data","hasMore"],"title":"ListSiteV2ResponseBodyDto"},"ReadSiteV2ResponseBodyDtoObject":{"type":"string","enum":["site"],"description":"The type of the object","title":"ReadSiteV2ResponseBodyDtoObject"},"ReadSiteV2ResponseBodyDtoLocaleManagementMode":{"type":"string","enum":["internal","external"],"description":"Controls whether locales are managed internally via the builder or externally via API.","title":"ReadSiteV2ResponseBodyDtoLocaleManagementMode"},"ReadSiteV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ReadSiteV2ResponseBodyDtoObject","description":"The type of the object"},"id":{"type":"string","format":"uuid"},"name":{"type":"string","description":"The site name."},"hostOrigin":{"type":["string","null"],"format":"uri","description":"The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing."},"publicApiKey":{"type":"string","format":"uuid","description":"The publishable API key that a host can use to get page and component data for rendering your site."},"defaultLocale":{"type":"string","description":"The primary locale of this site."},"defaultLocalePathPrefix":{"type":["string","null"]},"localeManagementMode":{"$ref":"#/components/schemas/ReadSiteV2ResponseBodyDtoLocaleManagementMode","description":"Controls whether locales are managed internally via the builder or externally via API."}},"required":["object","id","name","hostOrigin","publicApiKey","defaultLocale","localeManagementMode"],"title":"ReadSiteV2ResponseBodyDto"},"UpdateSiteV2RequestBodyDto":{"type":"object","properties":{"name":{"type":"string","description":"The site name."},"hostOrigin":{"type":"string","format":"uri","description":"The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing."},"defaultLocale":{"type":"string","description":"The primary locale of this site."}},"title":"UpdateSiteV2RequestBodyDto"},"UpdateSiteV2ResponseBodyDtoObject":{"type":"string","enum":["site"],"description":"The type of the object","title":"UpdateSiteV2ResponseBodyDtoObject"},"UpdateSiteV2ResponseBodyDtoLocaleManagementMode":{"type":"string","enum":["internal","external"],"description":"Controls whether locales are managed internally via the builder or externally via API.","title":"UpdateSiteV2ResponseBodyDtoLocaleManagementMode"},"UpdateSiteV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/UpdateSiteV2ResponseBodyDtoObject","description":"The type of the object"},"id":{"type":"string","format":"uuid"},"name":{"type":"string","description":"The site name."},"hostOrigin":{"type":["string","null"],"format":"uri","description":"The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing."},"publicApiKey":{"type":"string","format":"uuid","description":"The publishable API key that a host can use to get page and component data for rendering your site."},"defaultLocale":{"type":"string","description":"The primary locale of this site."},"defaultLocalePathPrefix":{"type":["string","null"]},"localeManagementMode":{"$ref":"#/components/schemas/UpdateSiteV2ResponseBodyDtoLocaleManagementMode","description":"Controls whether locales are managed internally via the builder or externally via API."}},"required":["object","id","name","hostOrigin","publicApiKey","defaultLocale","localeManagementMode"],"title":"UpdateSiteV2ResponseBodyDto"},"DuplicateSiteV2RequestBodyDto":{"type":"object","properties":{"name":{"type":"string","description":"The name for the duplicated site."}},"required":["name"],"title":"DuplicateSiteV2RequestBodyDto"},"DuplicateSiteV2ResponseBodyDtoObject":{"type":"string","enum":["site"],"description":"The type of the object","title":"DuplicateSiteV2ResponseBodyDtoObject"},"DuplicateSiteV2ResponseBodyDtoLocaleManagementMode":{"type":"string","enum":["internal","external"],"description":"Controls whether locales are managed internally via the builder or externally via API.","title":"DuplicateSiteV2ResponseBodyDtoLocaleManagementMode"},"DuplicateSiteV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/DuplicateSiteV2ResponseBodyDtoObject","description":"The type of the object"},"id":{"type":"string","format":"uuid"},"name":{"type":"string","description":"The site name."},"hostOrigin":{"type":["string","null"],"format":"uri","description":"The public URL where your site is hosted. This is the URL that Makeswift uses to render your site for editing."},"publicApiKey":{"type":"string","format":"uuid","description":"The publishable API key that a host can use to get page and component data for rendering your site."},"defaultLocale":{"type":"string","description":"The primary locale of this site."},"defaultLocalePathPrefix":{"type":["string","null"]},"localeManagementMode":{"$ref":"#/components/schemas/DuplicateSiteV2ResponseBodyDtoLocaleManagementMode","description":"Controls whether locales are managed internally via the builder or externally via API."}},"required":["object","id","name","hostOrigin","publicApiKey","defaultLocale","localeManagementMode"],"description":"The newly created duplicated site with all content and configuration copied from the original","title":"DuplicateSiteV2ResponseBodyDto"},"CreateSiteLocaleV2RequestBodyDto":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid","description":"The site ID to create the locale for."},"locale":{"type":"string","description":"Locale of the site locale."},"domain":{"type":"string","format":"uri","description":"The domain URL for domain-based localization. This URL must include the protocol."}},"required":["siteId","locale"],"title":"CreateSiteLocaleV2RequestBodyDto"},"CreateSiteLocaleV2ResponseBodyDtoObject":{"type":"string","enum":["locale"],"title":"CreateSiteLocaleV2ResponseBodyDtoObject"},"CreateSiteLocaleV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/CreateSiteLocaleV2ResponseBodyDtoObject"},"id":{"type":"string","format":"uuid","description":"The ID of the created locale."},"locale":{"type":"string","description":"We support the subset of locales specified with ISO 3166 that are composed of language and optionally a region."},"domain":{"type":["string","null"],"format":"uri","description":"The domain URL for domain-based localization."},"pathPrefix":{"type":["string","null"],"description":"Custom URL path prefix. Null means the locale code is used as the default prefix."},"isDefault":{"type":"boolean","description":"The flag that indicates whether this locale is the default locale for the site."}},"required":["object","id","locale","domain","pathPrefix","isDefault"],"title":"CreateSiteLocaleV2ResponseBodyDto"},"NotFoundResponseDtoObject":{"type":"string","enum":["error"],"title":"NotFoundResponseDtoObject"},"NotFoundResponseDtoCode":{"type":"string","enum":["not_found"],"title":"NotFoundResponseDtoCode"},"NotFoundResponseDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/NotFoundResponseDtoObject"},"code":{"$ref":"#/components/schemas/NotFoundResponseDtoCode"},"message":{"type":"string"}},"required":["object","code","message"],"title":"NotFoundResponseDto"},"ConflictResponseDtoObject":{"type":"string","enum":["error"],"title":"ConflictResponseDtoObject"},"ConflictResponseDtoCode":{"type":"string","enum":["conflict"],"title":"ConflictResponseDtoCode"},"ConflictResponseDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ConflictResponseDtoObject"},"code":{"$ref":"#/components/schemas/ConflictResponseDtoCode"},"message":{"type":"string"}},"required":["object","code","message"],"title":"ConflictResponseDto"},"ListSiteLocaleV2ResponseBodyDtoObject":{"type":"string","enum":["list"],"title":"ListSiteLocaleV2ResponseBodyDtoObject"},"ListSiteLocaleV2ResponseBodyDtoDataItemsObject":{"type":"string","enum":["locale"],"title":"ListSiteLocaleV2ResponseBodyDtoDataItemsObject"},"ListSiteLocaleV2ResponseBodyDtoDataItems":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ListSiteLocaleV2ResponseBodyDtoDataItemsObject"},"id":{"type":["string","null"],"format":"uuid","description":"The ID of the locale you are getting."},"locale":{"type":"string","description":"We support the subset of locales specified with ISO 3166 that are composed of language and optionally a region."},"domain":{"type":["string","null"],"format":"uri","description":"The domain URL for domain-based localization."},"pathPrefix":{"type":["string","null"],"description":"Custom URL path prefix. Null means the locale code is used as the default prefix."},"isDefault":{"type":"boolean","description":"The flag that indicates whether this locale is the default locale for the site."}},"required":["object","id","locale","domain","pathPrefix","isDefault"],"title":"ListSiteLocaleV2ResponseBodyDtoDataItems"},"ListSiteLocaleV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ListSiteLocaleV2ResponseBodyDtoObject"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ListSiteLocaleV2ResponseBodyDtoDataItems"}},"hasMore":{"type":"boolean","description":"The flag that indicates whether there are more locales available."}},"required":["object","data","hasMore"],"title":"ListSiteLocaleV2ResponseBodyDto"},"ReadSiteLocaleV2ResponseBodyDtoObject":{"type":"string","enum":["locale"],"title":"ReadSiteLocaleV2ResponseBodyDtoObject"},"ReadSiteLocaleV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ReadSiteLocaleV2ResponseBodyDtoObject"},"id":{"type":["string","null"],"format":"uuid","description":"The ID of the locale you are getting."},"locale":{"type":"string","description":"We support the subset of locales specified with ISO 3166 that are composed of language and optionally a region."},"domain":{"type":["string","null"],"format":"uri","description":"The domain URL for domain-based localization."},"pathPrefix":{"type":["string","null"],"description":"Custom URL path prefix. Null means the locale code is used as the default prefix."},"isDefault":{"type":"boolean","description":"The flag that indicates whether this locale is the default locale for the site."}},"required":["object","id","locale","domain","pathPrefix","isDefault"],"title":"ReadSiteLocaleV2ResponseBodyDto"},"UpdateSiteLocaleV2RequestBodyDto":{"type":"object","properties":{"locale":{"type":"string","description":"Locale of the site locale."},"domain":{"type":["string","null"],"format":"uri","description":"The domain URL for domain-based localization. This URL must include the protocol."}},"title":"UpdateSiteLocaleV2RequestBodyDto"},"UpdateSiteLocaleV2ResponseBodyDtoObject":{"type":"string","enum":["locale"],"title":"UpdateSiteLocaleV2ResponseBodyDtoObject"},"UpdateSiteLocaleV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/UpdateSiteLocaleV2ResponseBodyDtoObject"},"id":{"type":"string","format":"uuid","description":"The ID of the updated locale."},"locale":{"type":"string","description":"We support the subset of locales specified with ISO 3166 that are composed of language and optionally a region."},"domain":{"type":["string","null"],"format":"uri","description":"The domain URL for domain-based localization."},"pathPrefix":{"type":["string","null"],"description":"Custom URL path prefix. Null means the locale code is used as the default prefix."},"isDefault":{"type":"boolean","description":"The flag that indicates whether this locale is the default locale for the site."}},"required":["object","id","locale","domain","pathPrefix","isDefault"],"title":"UpdateSiteLocaleV2ResponseBodyDto"},"RestoreSiteLocaleV2ResponseBodyDtoObject":{"type":"string","enum":["locale"],"title":"RestoreSiteLocaleV2ResponseBodyDtoObject"},"RestoreSiteLocaleV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/RestoreSiteLocaleV2ResponseBodyDtoObject"},"id":{"type":"string","format":"uuid","description":"The ID of the restored locale."},"locale":{"type":"string","description":"We support the subset of locales specified with ISO 3166 that are composed of language and optionally a region."},"domain":{"type":["string","null"],"format":"uri","description":"The domain URL for domain-based localization."},"pathPrefix":{"type":["string","null"],"description":"Custom URL path prefix. Null means the locale code is used as the default prefix."},"isDefault":{"type":"boolean","description":"The flag that indicates whether this locale is the default locale for the site."}},"required":["object","id","locale","domain","pathPrefix","isDefault"],"title":"RestoreSiteLocaleV2ResponseBodyDto"},"CreatePageV6RequestBodyDto":{"type":"object","properties":{"siteId":{"type":"string","format":"uuid","description":"The site ID to create the page for."},"pathname":{"type":"string","description":"The page pathname."},"name":{"type":"string","minLength":1,"description":"The page name."}},"required":["siteId","pathname","name"],"title":"CreatePageV6RequestBodyDto"},"CreatePageV6ResponseBodyDtoObject":{"type":"string","enum":["page"],"title":"CreatePageV6ResponseBodyDtoObject"},"CreatePageV6ResponseBodyDtoSitemapFrequency":{"type":"string","enum":["always","hourly","daily","weekly","monthly","yearly","never"],"description":"The sitemap update frequency.","title":"CreatePageV6ResponseBodyDtoSitemapFrequency"},"CreatePageV6ResponseBodyDtoLocalizationsItems":{"type":"object","properties":{"locale":{"type":"string","description":"The locale of the localization."},"pathname":{"type":"string","description":"The pathname of the localization."},"id":{"type":"string","format":"uuid","description":"The ID of the localization."}},"required":["pathname"],"title":"CreatePageV6ResponseBodyDtoLocalizationsItems"},"CreatePageV6ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/CreatePageV6ResponseBodyDtoObject"},"id":{"type":"string","format":"uuid","description":"The ID of the page."},"pathname":{"type":"string","description":"The page pathname."},"canonicalUrl":{"type":["string","null"],"description":"The canonical URL of the page."},"title":{"type":["string","null"],"description":"The page title."},"description":{"type":["string","null"],"description":"The page description."},"socialImageUrl":{"type":["string","null"],"description":"The social image URL of the page."},"sitemapPriority":{"type":["number","null"],"format":"double","minimum":0,"maximum":1,"description":"The sitemap priority."},"sitemapFrequency":{"oneOf":[{"$ref":"#/components/schemas/CreatePageV6ResponseBodyDtoSitemapFrequency"},{"type":"null"}],"description":"The sitemap update frequency."},"createdAt":{"type":["string","null"],"format":"date-time","description":"The page creation date and time."},"updatedAt":{"type":["string","null"],"format":"date-time","description":"The page last update date and time."},"publishedAt":{"type":["string","null"],"format":"date-time","description":"The page publication date and time."},"isOnline":{"type":"boolean","description":"The flag that indicates whether the page is online."},"excludedFromSearchEngines":{"type":["boolean","null"],"description":"The flag that indicates whether the page is excluded from search."},"locale":{"type":"string","description":"The page locale. This defaults to the default locale of the parent site."},"localizations":{"type":"array","items":{"$ref":"#/components/schemas/CreatePageV6ResponseBodyDtoLocalizationsItems"},"description":"The localizations of the page."}},"required":["object","id","pathname","canonicalUrl","title","description","socialImageUrl","sitemapPriority","sitemapFrequency","createdAt","updatedAt","publishedAt","isOnline","excludedFromSearchEngines","localizations"],"title":"CreatePageV6ResponseBodyDto"},"V6PagesGetParametersSortBy":{"type":"string","enum":["title","path","description","updatedAt","createdAt"],"default":"path","title":"V6PagesGetParametersSortBy"},"V6PagesGetParametersSortDirection":{"type":"string","enum":["asc","desc"],"default":"asc","title":"V6PagesGetParametersSortDirection"},"V6PagesGetParametersIncludeOffline":{"type":"string","enum":["true","false"],"default":"false","title":"V6PagesGetParametersIncludeOffline"},"V6PagesGetParametersVersionRef":{"type":"string","enum":["ref:live","ref:draft"],"default":"ref:draft","title":"V6PagesGetParametersVersionRef"},"ListPagesV2ResponseBodyDtoObject":{"type":"string","enum":["list"],"title":"ListPagesV2ResponseBodyDtoObject"},"ListPagesV2ResponseBodyDtoDataItemsObject":{"type":"string","enum":["page"],"title":"ListPagesV2ResponseBodyDtoDataItemsObject"},"ListPagesV2ResponseBodyDtoDataItemsSitemapFrequency":{"type":"string","enum":["always","hourly","daily","weekly","monthly","yearly","never"],"description":"The sitemap update frequency.","title":"ListPagesV2ResponseBodyDtoDataItemsSitemapFrequency"},"ListPagesV2ResponseBodyDtoDataItemsLocalizationsItems":{"type":"object","properties":{"locale":{"type":"string","description":"The locale of the localization."},"pathname":{"type":"string","description":"The pathname of the localization."},"id":{"type":"string","format":"uuid","description":"The ID of the localization."}},"required":["pathname"],"title":"ListPagesV2ResponseBodyDtoDataItemsLocalizationsItems"},"ListPagesV2ResponseBodyDtoDataItems":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ListPagesV2ResponseBodyDtoDataItemsObject"},"id":{"type":"string","format":"uuid","description":"The ID of the page."},"pathname":{"type":"string","description":"The page pathname."},"canonicalUrl":{"type":["string","null"],"description":"The canonical URL of the page."},"title":{"type":["string","null"],"description":"The page title."},"description":{"type":["string","null"],"description":"The page description."},"socialImageUrl":{"type":["string","null"],"description":"The social image URL of the page."},"sitemapPriority":{"type":["number","null"],"format":"double","minimum":0,"maximum":1,"description":"The sitemap priority."},"sitemapFrequency":{"oneOf":[{"$ref":"#/components/schemas/ListPagesV2ResponseBodyDtoDataItemsSitemapFrequency"},{"type":"null"}],"description":"The sitemap update frequency."},"createdAt":{"type":["string","null"],"format":"date-time","description":"The page creation date and time."},"updatedAt":{"type":["string","null"],"format":"date-time","description":"The page last update date and time."},"publishedAt":{"type":["string","null"],"format":"date-time","description":"The page publication date and time."},"isOnline":{"type":"boolean","description":"The flag that indicates whether the page is online."},"excludedFromSearchEngines":{"type":["boolean","null"],"description":"The flag that indicates whether the page is excluded from search."},"locale":{"type":"string","description":"The page locale. This defaults to the default locale of the parent site."},"localizations":{"type":"array","items":{"$ref":"#/components/schemas/ListPagesV2ResponseBodyDtoDataItemsLocalizationsItems"},"description":"The localizations of the page."}},"required":["object","id","pathname","canonicalUrl","title","description","socialImageUrl","sitemapPriority","sitemapFrequency","createdAt","updatedAt","publishedAt","isOnline","excludedFromSearchEngines","localizations"],"title":"ListPagesV2ResponseBodyDtoDataItems"},"ListPagesV2ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/ListPagesV2ResponseBodyDtoObject"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ListPagesV2ResponseBodyDtoDataItems"}},"hasMore":{"type":"boolean","description":"The flag that indicates whether there are more pages available."}},"required":["object","data","hasMore"],"title":"ListPagesV2ResponseBodyDto"},"V6PagesPageIdOrPathnameGetParametersVersionRef":{"type":"string","enum":["ref:live","ref:draft"],"default":"ref:draft","title":"V6PagesPageIdOrPathnameGetParametersVersionRef"},"GetPageV6ResponseBodyDtoObject":{"type":"string","enum":["page"],"title":"GetPageV6ResponseBodyDtoObject"},"GetPageV6ResponseBodyDtoSitemapFrequency":{"type":"string","enum":["always","hourly","daily","weekly","monthly","yearly","never"],"description":"The sitemap update frequency.","title":"GetPageV6ResponseBodyDtoSitemapFrequency"},"GetPageV6ResponseBodyDtoLocalizationsItems":{"type":"object","properties":{"locale":{"type":"string","description":"The locale of the localization."},"pathname":{"type":"string","description":"The pathname of the localization."},"id":{"type":"string","format":"uuid","description":"The ID of the localization."}},"required":["pathname"],"title":"GetPageV6ResponseBodyDtoLocalizationsItems"},"GetPageV6ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/GetPageV6ResponseBodyDtoObject"},"id":{"type":"string","format":"uuid","description":"The ID of the page."},"pathname":{"type":"string","description":"The page pathname."},"canonicalUrl":{"type":["string","null"],"description":"The canonical URL of the page."},"title":{"type":["string","null"],"description":"The page title."},"description":{"type":["string","null"],"description":"The page description."},"socialImageUrl":{"type":["string","null"],"description":"The social image URL of the page."},"sitemapPriority":{"type":["number","null"],"format":"double","minimum":0,"maximum":1,"description":"The sitemap priority."},"sitemapFrequency":{"oneOf":[{"$ref":"#/components/schemas/GetPageV6ResponseBodyDtoSitemapFrequency"},{"type":"null"}],"description":"The sitemap update frequency."},"createdAt":{"type":["string","null"],"format":"date-time","description":"The page creation date and time."},"updatedAt":{"type":["string","null"],"format":"date-time","description":"The page last update date and time."},"publishedAt":{"type":["string","null"],"format":"date-time","description":"The page publication date and time."},"isOnline":{"type":"boolean","description":"The flag that indicates whether the page is online."},"excludedFromSearchEngines":{"type":["boolean","null"],"description":"The flag that indicates whether the page is excluded from search."},"locale":{"type":"string","description":"The page locale. This defaults to the default locale of the parent site."},"localizations":{"type":"array","items":{"$ref":"#/components/schemas/GetPageV6ResponseBodyDtoLocalizationsItems"},"description":"The localizations of the page."}},"required":["object","id","pathname","canonicalUrl","title","description","socialImageUrl","sitemapPriority","sitemapFrequency","createdAt","updatedAt","publishedAt","isOnline","excludedFromSearchEngines","localizations"],"title":"GetPageV6ResponseBodyDto"},"UpdatePageV6RequestBodyDto":{"type":"object","properties":{"pathname":{"type":"string","description":"The page pathname."},"name":{"type":"string","minLength":1,"description":"The page name."},"isOnline":{"type":"boolean","description":"The flag that indicates whether the page is online."}},"title":"UpdatePageV6RequestBodyDto"},"UpdatePageV6ResponseBodyDtoObject":{"type":"string","enum":["page"],"title":"UpdatePageV6ResponseBodyDtoObject"},"UpdatePageV6ResponseBodyDtoSitemapFrequency":{"type":"string","enum":["always","hourly","daily","weekly","monthly","yearly","never"],"description":"The sitemap update frequency.","title":"UpdatePageV6ResponseBodyDtoSitemapFrequency"},"UpdatePageV6ResponseBodyDtoLocalizationsItems":{"type":"object","properties":{"locale":{"type":"string","description":"The locale of the localization."},"pathname":{"type":"string","description":"The pathname of the localization."},"id":{"type":"string","format":"uuid","description":"The ID of the localization."}},"required":["pathname"],"title":"UpdatePageV6ResponseBodyDtoLocalizationsItems"},"UpdatePageV6ResponseBodyDto":{"type":"object","properties":{"object":{"$ref":"#/components/schemas/UpdatePageV6ResponseBodyDtoObject"},"id":{"type":"string","format":"uuid","description":"The ID of the page."},"pathname":{"type":"string","description":"The page pathname."},"canonicalUrl":{"type":["string","null"],"description":"The canonical URL of the page."},"title":{"type":["string","null"],"description":"The page title."},"description":{"type":["string","null"],"description":"The page description."},"socialImageUrl":{"type":["string","null"],"description":"The social image URL of the page."},"sitemapPriority":{"type":["number","null"],"format":"double","minimum":0,"maximum":1,"description":"The sitemap priority."},"sitemapFrequency":{"oneOf":[{"$ref":"#/components/schemas/UpdatePageV6ResponseBodyDtoSitemapFrequency"},{"type":"null"}],"description":"The sitemap update frequency."},"createdAt":{"type":["string","null"],"format":"date-time","description":"The page creation date and time."},"updatedAt":{"type":["string","null"],"format":"date-time","description":"The page last update date and time."},"publishedAt":{"type":["string","null"],"format":"date-time","description":"The page publication date and time."},"isOnline":{"type":"boolean","description":"The flag that indicates whether the page is online."},"excludedFromSearchEngines":{"type":["boolean","null"],"description":"The flag that indicates whether the page is excluded from search."},"locale":{"type":"string","description":"The page locale. This defaults to the default locale of the parent site."},"localizations":{"type":"array","items":{"$ref":"#/components/schemas/UpdatePageV6ResponseBodyDtoLocalizationsItems"},"description":"The localizations of the page."}},"required":["object","id","pathname","canonicalUrl","title","description","socialImageUrl","sitemapPriority","sitemapFrequency","createdAt","updatedAt","publishedAt","isOnline","excludedFromSearchEngines","localizations"],"title":"UpdatePageV6ResponseBodyDto"}},"securitySchemes":{"Authentication":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key authentication. Accepts either:\n- App API key (e.g. sk_eczMHVBY9fV6GYFhvs53qcnxq7yptlXL3ABKOZtn6dQ)\n- Site API key (UUID format, e.g. 550e8400-e29b-41d4-a716-446655440000)"}}}}