Make a POST request to the following API call with your private API key, mosaic ID, URL of the photo you want to add, and optionally name and description of the photo. Returns ID of the newly added photo on successful addition. Keep track of returned photo ID to remove or update it later.
Make a DELETE request to the following API call with your private API key, mosaic ID, and photo ID. Returns true on first success.
Make a PUT request with your private API key, photo ID, new name, and new description of the photo. Returns true on successful update.
Make a POST request with your private API key, and mosaic ID to render your mosaic to reflect changes from adding and removing photos. Updating name and description of photo does not require a new rendering. Returns true on successful render request.
A render request usually takes about 10-20 seconds to complete. Once complete, subsequent visits to your mosaic page, or the embedded mosaic will show the newly rendered mosaic. Embedded mosaic may show the older version up to a minute because the embedded page is cached for 60 seconds.