Create Server
Create Server. 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.
Create Server. 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.
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.
Response Body
application/json
application/json
curl -X POST "https://app.enderdash.com/api/trpc/servers.createServer" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "result": { "data": { "agentKey": "string", "server": { "agentKeyPrefix": "string", "connectionMetadata": { "capabilities": [ 0 ], "agentKind": 0, "platform": 0, "platformType": 0 }, "createdAt": "2019-08-24T14:15:22Z", "id": "string", "isOnline": true, "lastSeenAt": "2019-08-24T14:15:22Z", "minecraftVersion": "string", "name": "string", "organizationId": "string", "serverType": "string", "updatedAt": "2019-08-24T14:15:22Z" } } }}{ "error": { "message": "string", "code": -32001, "data": { "code": "UNAUTHORIZED", "httpStatus": 0, "path": "string", "stack": "string" } }}Create File Access Request POST
Create File Access Request. 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.
Delete Server POST
Delete Server. 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.