Skip to main content

get nutrition recipe

get nutrition recipe. Requires Authorization: Bearer with a Better Auth session token.
1 min read
get/nutrition/profiles/{studioId}/recipes/{recipeId}
Request example
Response
get/nutrition/profiles/{studioId}/recipes/{recipeId}

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.
recipeIdstringrequired#
Identifier or key recipeId.

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
IDstringrequired#
studioIdstringrequired#
createdBystring#
assignedTostring[]#
Namestringrequired#
Descriptionstring#
Servingsinteger#
ImageURLstring#
visibilityenum<string>#
Options:memberssubscribersfollowerspublic
createdAtstringrequired#
updatedAtstringrequired#
ingredientsobject[]required#
Show child attributes
idstringrequired#
recipeIdstringrequired#
namestringrequired#
quantitynumber#
unitstring#
positionintegerrequired#
Order within the recipe, starting at 0.
stepsobject[]required#
Show child attributes
idstringrequired#
recipeIdstringrequired#
bodystringrequired#
positionintegerrequired#
Order within the recipe, starting at 0.
toolsobject[]required#
Show child attributes
idstringrequired#
recipeIdstringrequired#
namestringrequired#
positionintegerrequired#
Order within the recipe, starting at 0.
request_idstring#