Pages
Create, version, launch, and render DB-backed pages — build interactive dashboards and static artifacts served by the swarm
curl -X DELETE "http://localhost:3013/@swarm/api/{path}"curl -X GET "http://localhost:3013/@swarm/api/{path}"curl -X PATCH "http://localhost:3013/@swarm/api/{path}"curl -X POST "http://localhost:3013/@swarm/api/{path}"curl -X PUT "http://localhost:3013/@swarm/api/{path}"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Query Parameters
1 <= length1 <= value <= 5000 <= value"full" | "slim"Response Body
curl -X GET "http://localhost:3013/api/pages"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "http://localhost:3013/api/pages" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "contentType": "text/html", "authMode": "public", "body": "string" }'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X DELETE "http://localhost:3013/api/pages/string"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X GET "http://localhost:3013/api/pages/string"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "http://localhost:3013/api/pages/string" \ -H "Content-Type: application/json" \ -d '{}'Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X POST "http://localhost:3013/api/pages/string/launch"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
Response Body
curl -X GET "http://localhost:3013/api/pages/string/versions"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Path Parameters
1 <= valueResponse Body
curl -X GET "http://localhost:3013/api/pages/string/versions/1"Authorization
bearerAuth API key via Authorization: Bearer <API_KEY>
In: header
Response Body
curl -X GET "http://localhost:3013/api/pages/actions"curl -X GET "http://localhost:3013/p/string"curl -X GET "http://localhost:3013/p/string.json"