EnderDashEnderDash

Save Shared Server Workspace

Save Shared Server Workspace. This POST operation is exposed from the servers router on EnderDash's tRPC HTTP API surface. Authentication is required with either a signed-in session cookie or a user API key.

POST
/servers.saveSharedServerWorkspace

Save Shared Server Workspace. This POST operation is exposed from the servers router on EnderDash's tRPC HTTP API surface. Authentication is required with either a signed-in session cookie or a user API key.

Authorization

better-auth.session_token<token>

Signed-in EnderDash browser session cookie.

In: cookie

Request Body

application/json

Serialized tRPC procedure input for this mutation. Responses use the standard tRPC HTTP result envelope.

TypeScript Definitions

Use the request body type in TypeScript.

organizationId*string
serverId*string
document*

Response Body

application/json

application/json

curl -X POST "https://app.enderdash.com/api/trpc/servers.saveSharedServerWorkspace" \  -H "Content-Type: application/json" \  -d '{    "organizationId": "string",    "serverId": "string",    "document": {      "version": 3,      "layout": {        "grid": {          "root": {            "type": "leaf",            "data": {              "views": [                "string"              ],              "id": "string"            }          },          "height": 0,          "width": 0,          "orientation": "HORIZONTAL"        },        "panels": {          "property1": {            "id": "string"          },          "property2": {            "id": "string"          }        }      },      "tiles": {        "property1": {          "panelType": "permissions"        },        "property2": {          "panelType": "permissions"        }      },      "mode": "tabs"    }  }'
{  "result": {    "data": {      "saved": true    }  }}