Modbot Docs
APIAPI referenceEvidence

Start an upload

POST/api/evidence/uploads

Phase 1: reserve an upload and find out where the bytes go. Returns the cap in force, the accepted formats so the client can filter before a byte moves, and a target. On a store that can be written to directly the target is a presigned PUT straight to the bucket; otherwise it is Modbot's own transfer endpoint. That is a capability difference, not a failure.

Needs the UploadEvidence permission.

AuthorizationBearer <token>

An API key, made on Settings, API keys. Every key starts with mbk_.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/evidence/uploads" \  -H "Content-Type: application/json" \  -d '{}'
{  "uploadId": "string",  "maxBytes": 0,  "acceptedTypes": [    "string"  ],  "transferUrl": "string",  "presigned": true}

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.