Thanks to visit codestin.com
Credit goes to busabase.com

Busabase
OpenAPI Reference

Dump

Workspace export and diagnostic data.

POST
/api/v1/dump/export/tables

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/dump/export/tables" \  -H "Content-Type: application/json" \  -d '{    "table": "nodes"  }'
{  "rows": [    {      "property1": null,      "property2": null    }  ],  "nextCursor": "string"}
GET
/api/v1/dump/export/asset-texts/{assetId}/content

Path Parameters

assetId*string

Response Body

application/json

curl -X GET "https://example.com/api/v1/dump/export/asset-texts/string/content"
{  "assetId": "string",  "textStorageKey": "string",  "downloadUrl": "string",  "textContentHash": "string",  "byteCount": 0}
POST
/api/v1/dump/export/doc-bodies

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/dump/export/doc-bodies" \  -H "Content-Type: application/json" \  -d '{    "nodeIds": [      "string"    ]  }'
{  "bodies": [    {      "nodeId": "string",      "markdown": "string"    }  ]}
POST
/api/v1/dump/import/begin

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/dump/import/begin" \  -H "Content-Type: application/json" \  -d '{    "sourceSpaceId": "string"  }'
{  "sessionId": "string"}
POST
/api/v1/dump/import/tables

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/dump/import/tables" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "string",    "table": "nodes",    "rows": [      {        "property1": null,        "property2": null      }    ]  }'
{  "inserted": 0}
POST
/api/v1/dump/import/commit

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/dump/import/commit" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "string"  }'
{  "ok": true,  "warnings": [    "string"  ]}
POST
/api/v1/dump/import/abort

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/dump/import/abort" \  -H "Content-Type: application/json" \  -d '{    "sessionId": "string"  }'
{  "ok": true}