Nirmos
Media

List Media

List Media — Nirmos Control Plane REST API.

GET
/v1/media

Authorization

better-auth.session_token<token>

Production cookie uses __Secure- prefix.

In: cookie

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
cursor?string
Length1 <= length <= 128
sourceType?string

Value in

  • "UPLOAD"
  • "GENERATED"
status?string

Value in

  • "PENDING"
  • "READY"
  • "FAILED"
mimeType?string

Value in

  • "image/png"
  • "image/jpeg"
  • "image/webp"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/media"
{  "data": {    "items": [      {}    ],    "nextCursor": "string"  },  "requestId": "string"}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}
{  "error": {    "code": "string",    "message": "string",    "details": null,    "requestId": "string"  }}