Setting metadata value
Learn how to update the collection using the Alphamoon's API
Last updated
Learn how to update the collection using the Alphamoon's API
Last updated
Alphamoon's API lets you update collections with metadata in just a few clicks.
Let's say you want to indicate that the given collection has already been printed. In this case, you can use the endpoint below to include such information in the server response:
PATCH
/api/v0.3/collections/{collection_id}
Path parameters
collection_id*
String
The ID of the selected collection.
You can get the collection_id from:
endpoint (Base64 or Binary)
Get collections endpoint
URL e.g. https://workspace.alphamoon.ai/supervision/223742cc9bca43fd81b2d41b0018e4c7
Request body*
Add your metadata in the request body. For the purposes of this tutorial, let's stick with the printing example. Our metadata will be as follows:
See the example:
See next:
Go to the tab to learn more.