At a glance:
This endpoint allows you to generate a unique
This endpoint allows you to generate a unique
collection_id
. You would use this collection_id
to insert, query and delete a resource.What is a Collection?
A collection in the WetroCloud API acts as a container for resources such as text, files and the other supported resource types. Every collection is identified by a uniquecollection_id
.
How to Create a Collection
Before you begin!
Visit the Wetrocloud console to get your API key. If you have trouble obtaining it, refer to this guide.
Visit the Wetrocloud console to get your API key. If you have trouble obtaining it, refer to this guide.
POST
request to the /v1/collection/create/
endpoint. This operation is simple.
Required Parameters
Parameter | Type | Description |
---|---|---|
collection_id | String | The unique ID for collection. |
Request Example
Successful Response
If the request is valid, the response will include:- A unique
collection_id
for your new collection. - A success confirmation.
Related Operations
- List Collections: Displays list of all your existing collections on wetrocloud.
- Insert Resources: Add resources like websites, videos, and files to a collection.
- Query Resources: Access and retrieve insights from the indexed resources.
- Delete Collection: Remove collections and their resources when no longer needed.