Units
Can only be used by BWS-Admin - except for GET route which is open to all users
Create a Unit
POST
https://api.borlaug.network/units/
This endpoint allows you to get free cakes.
Headers
Name
Type
Description
Authentication
string
Authentication token to track down who is emptying our stocks.
{ "name": "Cake's name", "recipe": "Cake's recipe name", "cake": "Binary cake"}
Update a Unit
PATCH
https://api.borlaug.network/units/:unitid
Path Parameters
Name
Type
Description
unitid
string
Get all Units
GET
https://api.borlaug.network/units/
Query Parameters
Name
Type
Description
page
string
per_page
string
Delete a Unit
DELETE
https://api.borlaug.network/units/:unitid
Path Parameters
Name
Type
Description
unitid
string
Last updated
Was this helpful?