Get food macronutrients and portion

प्रति 100 ग्राम और एकल खाद्य की मात्रा के लिए मैक्रोन्यूट्रिएंट्स पुनः प्राप्त करें, जिसे खोज एंडपॉइंट द्वारा लौटाए गए (स्रोत, आईडी) जोड़ी से संबोधित किया गया है। इसका उपयोग किसी खाद्य को फिर से खोजे बिना, पहले से डायरी में संग्रहीत खाद्य को पुनः प्रदर्शित करने के लिए करें। केवल इतालवी: किसी अन्य Accept-Language के लिए 406 लौटाता है।

GET
/foods/{source}/{id}/macronutrients
Foods
लागत: 10 क्रेडिट

उत्तर

200
application/json
object

FoodMacronutrientsResult

मैक्रोन्यूट्रिएंट्स और एकल खाद्य पदार्थ का हिस्सा

object

id

अपने स्वयं के कैटलॉग में पहचानकर्ता

integer<int64>

source

किस कैटलॉग से कोई खाद्य पदार्थ आता है। 'generic' Tuduu खाद्य डेटाबेस का एक खाद्य पदार्थ है: कोई ब्रांड नहीं, पैक नहीं, 100 ग्राम पर पोषक तत्व, और यही वह है जिसका आमतौर पर डायरी प्रविष्टि में उल्लेख होता है। 'packaged' Tuduu मास्टर कैटलॉग का एक उत्पाद है, जिसमें ब्रांड, पैक प्रारूप और लेबल पर घोषित पोषक तत्व होते हैं। दोनों कैटलॉग के स्वतंत्र पहचानकर्ता स्थान हैं, इसलिए किसी खाद्य पदार्थ को (source, id) जोड़ी से संबोधित किया जाता है और कभी केवल id से नहीं

string
"generic""packaged"

portion?

object

All of

विविधता 1

भोजन का एक भाग। जब न तो वजन और न ही लेबल विवरण ज्ञात हो, तब शून्य

object

grams?

पोर्टियन का वजन ग्राम में। जब यह ज्ञात न हो, या जब लेबल बिना वजन के हिस्से का वर्णन करता हो ('1 जार') तब शून्य। पैक आकार से कभी अनुमानित न करें

number<double> | null

label?

लेबल पर ठीक वैसे ही मुद्रित भाग ('30 g', '1 jar'). सामान्य खाद्य पदार्थों के लिए Null, जिन पर कोई लेबल नहीं होता

string | null

isDeclared

जब ग्राम किसी संख्यात्मक फ़ील्ड से आते हैं तो true, और जब वे मुक्त-पाठ लेबल से निकाले गए हों तो false। गणना में ग्राम का उपयोग करने से पहले इसे पढ़ें: यहाँ false का अर्थ है कि संख्या लेबल की हमारी व्याख्या है, न कि संख्या के रूप में घोषित मान

boolean

macronutrients

100 ग्राम भोजन में मैक्रोन्यूट्रिएंट्स

object

kcal?

किलो कैलोरी

number<double> | null

fat?

कुल वसा (ग्रा)

number<double> | null

saturatedFat?

संतृप्त वसा (ग्राम)

number<double> | null

carbohydrates?

कार्बोहाइड्रेट्स (ग्राम)

number<double> | null

sugars?

शुगर्स (ग्राम)

number<double> | null

protein?

प्रोटीन (ग्राम)

number<double> | null

salt?

नमक (ग्राम)

number<double> | null

fiber?

आहार फाइबर (ग्रा)

number<double> | null
401
application/json
object

अधिकृत नहीं

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

निषिद्ध

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
404
application/json
object

नहीं मिला

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

स्वीकृत नहीं

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

अप्रसंस्कृत इकाई

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

बहुत अधिक अनुरोध (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

आंतरिक सर्वर त्रुटि

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

खराब गेटवे (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

गेटवे टाइमआउट (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string