sites — Alodai API
Generated from services/sites/src/routes/** and the @mp/shared schemas each handler applies. 8 of 28 operations publish a request schema; the rest are marked unmeasured.
The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/organizations/string/sites"Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/organizations/string/sites" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string" }'The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string"Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/sites/string" \ -H "Content-Type: application/json" \ -d '{}'The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X DELETE "https://example.com/sites/string"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/navigation"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/navigation/string"Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "https://example.com/sites/string/navigation/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "items": [ { "id": "string", "label": "string", "type": "page" } ] }'The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/pages"Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/sites/string/pages" \ -H "Content-Type: application/json" \ -d '{ "slug": "string", "title": "string" }'The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/pages/string"Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/sites/string/pages/string" \ -H "Content-Type: application/json" \ -d '{}'The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X DELETE "https://example.com/sites/string/pages/string"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/pages/string/preview"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/pages/string/preview-public"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X POST "https://example.com/sites/string/pages/string/publish"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/pages/string/revisions"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/pages/string/revisions/string"Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/sites/string/pages/string/revisions/string/restore" \ -H "Content-Type: application/json" \ -d '{}'The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/pages/by-path"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/pages/home"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/redirects"Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/sites/string/redirects" \ -H "Content-Type: application/json" \ -d '{ "fromPath": "string" }'Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/sites/string/redirects/string" \ -H "Content-Type: application/json" \ -d '{}'The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X DELETE "https://example.com/sites/string/redirects/string"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/robots.txt"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Path Parameters
Response Body
curl -X GET "https://example.com/sites/string/sitemap.xml"The request shape is unmeasured: this handler applies no @mp/shared schema to its input, so none is published here. Nothing is invented to fill the gap.
Response Body
curl -X GET "https://example.com/sites/resolve"