/images/

There are two approaches for creating an image and its metadata. One approach fetches and imports the image into Skylark, the other provides a URL to upload the image.

The first approach uses the image_location field to tell Skylark where the image is to be downloaded from. After the image metadata has been created, the images will be downloaded from image_location and stored in Skylark asynchronously.

The second approach is a two step process:

  1. Create the metadata for a image (without specifying image_location)

  2. Upload the image file by POSTing it to the URL specified by upload_image_url in the returned metadata.

The align field can take the values top, middle, bottom or default (the default).

Language
Click Try It! to start a request and see the response here!