Imago

Rest

Api Endpoint

//api.imago.io

HTTP status code summary

Code Message
200 Everything worked as expected.
401 No valid API key provided.
403 Insufficient Permissions.
404 The requested resource doesn't exist.
500, 502, 503, 504 Something went wrong on Stripe's end. (These are rare.)

assets

Get asset by id

GET Request

curl -X GET //api.imago.io/api/v1/assets/{ID} \
   -H "Authorization: Basic {API-KEY}:"

Response

{
...
}

PUT asset by id

save asset by Id

PUT Request

curl -X PUT //api.imago.io/api/v1/assets/{ID} \
   -H "Authorization: Basic {API-KEY}:" \
   -H "ContentType: application/json" \
   -d {data}

Response

{
...
}

POST Request

curl -X POST //api.imago.io/api/v1/search \
   -H "Authorization: Basic {API-KEY}:" \
   -H "ContentType: application/json" \
   -d {data}

data could be

path: ['/shop/products']

Response

{
...
}

play redirect

POST Request

curl -X POST //api.imago.io/api/v1/play_redirect \
   -H "Authorization: Basic {API-KEY}:" \
   -H "ContentType: application/json" \
   -d {data}

data could be

{
  "uuid": {video uuid},
  "codec":"mp4",
  "size":"720p"
}

Response

https://domain.com/....

contact

Send email to Site owner

POST Request

curl -X POT //api.imago.io/api/v1/contact \
   -H "Authorization: Basic {API-KEY}:"

subscribe

Subscribe to mailing list.

POST Request

curl -X POT //api.imago.io/api/v1/subscribe \
   -H "Authorization: Basic {API-KEY}:"

email required

settings

Get tenant settings

GET Request

curl -X GET //api.imago.io/api/v1/settings \
   -H "Authorization: Basic {API-KEY}:"

Response

{
...
}