The API reference moved here from eksis.io/developers.
Media

List media

GET
/v1/media

Newest first. Only finished uploads are listed, since those are the only ones a post can use.

Authorization

headerAuthorizationBearer <token>

Send your key as Authorization: Bearer eksis_sk_....

Query Parameters

type?string
Value in"image""video"
limit?integer

Rows per page. Values above 100 are clamped to 100.

Range1 <= value <= 100
Default25
cursor?string

The nextCursor from the previous page, unchanged.

Response Body

One page of media.

application/json
  1. response
data?array<>
nextCursor?|

Pass back as cursor for the next page. null means this was the last page.

curl -X GET 'https://api.eksis.io/v1/media' \  -H 'Authorization: Bearer eksis_sk_...'
{  "data": [    {      "id": "string",      "filename": "string",      "url": "http://example.com",      "kind": "image",      "mime": "string",      "size": 0,      "width": 0,      "height": 0,      "durationMs": 0,      "status": "uploading",      "createdAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}