Import an Image

Use this API call to import an image resource.

Requires the images-import permission.

Returns

Returns a Task Descriptor Object, otherwise returns an Error.

POST /v1/image/5b9c2a77b6393d0001eb45fd/tasks

Example Request
$ curl https://api.cycle.io/v1/image/5b9c2a77b6393d0001eb45fd/tasks \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-HUB-ID: HUB_ID"
\
-d '{"action":"import"}' \
-X POST
Example Response
{
"data": {
"action": "import",
"job_id": "5d01b9b3db2ab00001508cd8"
}
}