Get measure units

INTEGRACJA API — KONWERSJA JEDNOSTEK • Przekształć MeasureUnitIds zwrócone przez interfejsy API przepisów i składników odżywczych na czytelne jednostki (g, ml, łyżki stołowe, kubki).

GET
/definitions/measure-units
Definitions
Kredyty nie są wymagane

Odpowiedź

200
application/json
object[]

MeasureUnitArray

object[]

MeasureUnit

Jednostka miary używana do ilości składników w przepisie.

object

id

Unikalny identyfikator jednostki miary

integer<int32>

singular

Pojedyncza forma nazwy jednostki (np. 'gram', 'łyżeczka')

string

plural

Liczba mnoga nazwy jednostki (np. 'gramy', 'łyżeczki')

string
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