PLATINUM DOCS
ApiVolumes

POST /v1/volumes/sources/test

POST
/v1/volumes/sources/test

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/volumes/sources/test" \  -H "Content-Type: application/json" \  -d '{    "source": {      "provider": "aws",      "bucket": "string",      "access_key_id": "string",      "secret_access_key": "string"    }  }'
{  "ok": true,  "objects_found": 0,  "more": true}
{  "error": "string",  "code": "string",  "limit": "string",  "max": 0,  "used": 0,  "requested": 0,  "reason": "string"}
Empty
{  "error": "string",  "code": "string",  "limit": "string",  "max": 0,  "used": 0,  "requested": 0,  "reason": "string"}
{  "error": "string",  "code": "string",  "limit": "string",  "max": 0,  "used": 0,  "requested": 0,  "reason": "string"}