Get a recipe

Pobierz pełne, szczegółowe informacje o konkretnej recepturze według jej identyfikatora. Obejmuje to kroki, składniki, wartości odżywcze i multimedia, zapewniając wszystko, co potrzebne do przedstawienia bogatego, interaktywnego doświadczenia kulinarnego na Twojej platformie. Stworzone z myślą o błyskawicznym dostępie, zasila główne strony szczegółów receptur Twojej aplikacji. Zastosowania: INTERAKTYWNY TRYB GOTOWANIA • Uruchom tryb gotowania krok po kroku, bez rozpraszania, w swojej aplikacji, z precyzyjnymi czasami, instrukcjami i zasobami multimedialnymi. Możliwość integracji z asystentami głosowymi. E-COMMERCE — WZBOGACONE STRONY PRODUKTÓW • Osadź pełną recepturę na stronach produktów, gdzie dany produkt jest kluczowym składnikiem. Użytkownicy mogą dodać wszystkie składniki do koszyka z poziomu widoku receptury. RESTAURACJE — INTERAKTYWNE MENU CYFROWE • Klienci skanują kod QR dania i widzą pełną recepturę: składniki, przygotowanie, wartości odżywcze. ZESTAWY DO GOTOWANIA Z DOSTAWĄ • Cyfrowa instrukcja obsługi do fizycznych zestawów posiłkowych. Klient skanuje kod QR na opakowaniu i przegląda przepis krok po kroku.

GET
/recipes/{recipeId}
Recipes
Kredyty nie są wymagane

Odpowiedź

200
application/json
object

RecipeDetail

Pełne szczegóły przepisu

object

recipeId

Unikalny identyfikator przepisu

integer<int32>

title?

Zlokalizowany tytuł przepisu

string | null

slug

Przyjazny dla URL slug przepisu

string

difficulty?

Identyfikator poziomu trudności; możliwy do rozwiązania za pomocą GET /definitions/difficulties

integer<uint8> | null

cookingTimeMinutes?

Czas gotowania w minutach

integer<int32> | null

preparationTimeMinutes?

Czas przygotowania w minutach

integer<int32> | null

recipeTypeId

Identyfikator typu przepisu; możliwy do rozwiązania za pomocą GET /definitions/recipe-types

integer<int16>

servings

Liczba porcji, które przepis daje

integer<int16>

countryId?

Identyfikator kraju pochodzenia; możliwy do rozwiązania za pomocą GET /definitions/countries

integer<int32> | null

italianRegionId?

Identyfikator regionu pochodzenia we Włoszech; rozwiązywalny za pomocą GET /definitions/italian-regions

integer<int32> | null

description?

Lokalny opis przepisu

string | null

otherInfos?

Dodatkowe zlokalizowane uwagi lub informacje o przepisie

string | null

storageInstructions?

Zlokalizowane instrukcje przechowywania i konserwacji

string | null

isPublished

Czy przepis jest opublikowany

boolean

isDeleted

Czy przepis został soft-zarchiwizowany

boolean

totalTimeMinutes?

Suma czasu gotowania i przygotowania w minutach

integer<int32> | null

imageUrl?

Adres URL okładki przepisu

string | null

preparationSteps?

string[]
string

links?

object[]

NamedLink

object

name

string

url

string

ingredients?

object[]

All of

Wariant 1

object[]

RecipeIngredient

Składnik w przepisie z ilością

object

recipeIngredientId?

Unikalny identyfikator dla tego składnika

integer<int32>

recipeId?

Identyfikator przepisu, do którego należy ten składnik

integer<int32>

name?

Wyświetl nazwę składnika

string | null

quantity?

Ilość użytego składnika

number<double> | null

measureUnitId?

Identyfikator jednostki miary dla ilości; można go rozwiązać za pomocą GET /definitions/measure-units

integer<int32> | null

isIngredient?

Prawda, jeśli jest to składnik; fałsz, jeśli jest to ogólny przedmiot lub uwaga

boolean

suggestions?

object[]

All of

Wariant 1

object[]

RecipeTool

Narzędzie lub sprzęt potrzebny do przepisu

object

recipeToolId?

Unikalny identyfikator dla tego wpisu narzędzia

integer<int32>

recipeId?

Identyfikator przepisu, do którego należy to narzędzie

integer<int32>

name

Wyświetl nazwę narzędzia

string
204
application/json

No Content

Brak schematów dostępnych dla tego punktu końcowego.

401
application/json
object

Nieautoryzowany

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

Zabronione

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

Nieakceptowalne

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

Nieprzetwarzalny podmiot

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

Zbyt wiele żądań (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

Błąd wewnętrzny serwera

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

Zła Brama (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

Przekroczenie limitu czasu bramy (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string