Media
Media
curl -X GET "https://example.com/api/v1/admin/media"Empty
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/api/v1/admin/media/batch" \ -H "Content-Type: application/json" \ -d '{ "action": "string", "ids": [ "string" ] }'Empty
curl -X POST "https://example.com/api/v1/admin/media/upload"Empty
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Media ID
Response Body
curl -X DELETE "https://example.com/api/v1/admin/media/string"Empty
curl -X GET "https://example.com/api/v1/media"Empty
curl -X GET "https://example.com/api/v1/media/stats"Empty
curl -X POST "https://example.com/api/v1/media/upload"Empty
Authorization
bearer_auth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Media ID
Response Body
curl -X DELETE "https://example.com/api/v1/media/string"Empty
