Add Images to Collections via API?


#1

Is it possible to add images to a collection via the API?

If so can someone give me some pointers as the documentation seems a little sparse?


#2

@rjkmelb, never tried but in theory, it should be. You may need probably the following:

  1. Create asset using the api and get the asset details (I can see an addAssets function in the RestApi)
  2. Create your collection entry using the api and using the asset from previous step

Hope that helps and let us know on the results