Endpoint Examples
Insert Resource
This endpoint allows you to add data to a collection using an HTTP POST request.
Request Body
-
collection_id
(text): The ID of the collection to which the data will be added. -
resource
(text): The resource to be added to the collection. -
type
(text): The type of the resource being added.
Response
Upon successful addition, the response will include:
-
success
(boolean): Indicates whether the operation was successful. -
tokens
(number): The number of tokens generated.
POST
Authorizations
Response
202
application/json
Accepted
The response is of type object
.