List the final-dish books (recipe centers) the user has access to.
GET /recipeCenters
Before you start
Base URL: https://app.tspoonlab.com/recipes/api
Headers
rememberme· required — Session token returned by the login.
Each book's idRecipeCenter is the value you send in the recipe header on every other call (or all for every book). If you don't send it, the user's active book is used.
Login — Returns the token as plain text.
curl https://app.tspoonlab.com/recipes/api/login \
-d [email protected] \
-d password=XXXXXXX
Permissions — Permission to view centers.
Responses may include fields other than the documented ones. Use only the documented fields.
List final-dish books
Returns the user's books sorted by name.
GET /recipeCenters
Example
curl https://app.tspoonlab.com/recipes/api/recipeCenters \
-H "rememberme: $TOKEN"
Response
[
{
"id": "3515834441676562996102020201",
"idRecipeCenter": "3515834441676562996102020202",
"descr": "Summer menu",
"active": true
}
]
idstring — Id of the user/book relationship.idRecipeCenterstring — Book id. This is the value of therecipeheader.descrstring — Book name.activeboolean — Whether it is the user's active book.
Need help? Message us from the support chat in the bottom-right corner.
