//api.imago.io
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.) |
GET Request
curl -X GET //api.imago.io/api/v1/assets/{ID} \
-H "Authorization: Basic {API-KEY}:"
Response
{
...
}
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
{
...
}
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/....
Send email to Site owner
POST Request
curl -X POT //api.imago.io/api/v1/contact \
-H "Authorization: Basic {API-KEY}:"
Subscribe to mailing list.
POST Request
curl -X POT //api.imago.io/api/v1/subscribe \
-H "Authorization: Basic {API-KEY}:"
email required
Get tenant settings
GET Request
curl -X GET //api.imago.io/api/v1/settings \
-H "Authorization: Basic {API-KEY}:"
Response
{
...
}