Skip to main content

Reemplazar paso de recipe

PUT semantics. Requires Authorization: Bearer with a Better Auth session token.
1 min read
put/nutrition/profiles/{studioId}/recipes/{recipeId}/steps/{stepId}
Request example
Response
put/nutrition/profiles/{studioId}/recipes/{recipeId}/steps/{stepId}

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.
stepIdstringrequired#
Identifier or key stepId.

Body

application/json
bodystringrequired#
positioninteger#

Responses

application/json
OK.
dataobjectrequired#
Show child attributes
idstringrequired#
recipeIdstringrequired#
bodystringrequired#
positionintegerrequired#
Order within the recipe, starting at 0.
request_idstring#