Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
Adds a specified amount of liquid from a collectable to an infinity bottle.
Authentication
Requires a valid access token.
URL Parameters
The ID of the user who owns the infinity bottle.
The ID of the infinity bottle to add to.
Request Body
Amount in oz to add (must be greater than 0)
ID of the collectable being added
Returns
Returns a success message if the addition was successful.
curl -X POST https://api.onlydrams.app/api/v1/users/123/infinity_bottles/456/add \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-d '{
"infinity_bottle": {
"amount": 50,
"collectable_id": "789"
}
}'
{
"message": "Added 50 oz."
}