get-ingredient-catalog-by-barcode¶
Source¶
Repository:
jef-systems/jef-caferimo-backendModule:
caferimoDocumentation Scope:
getLambda:
jef-caferimo-get-3
Endpoint¶
API Name:
jef-caferimoAction Name:
getMethod:
GETScope Label:
GETResource Path:
/get-ingredient-catalog-by-barcodeComplete Endpoint:
https://lfyr4e0eqe.execute-api.ap-southeast-1.amazonaws.com/prod/get-ingredient-catalog-by-barcodeLambda ARN:
arn:aws:lambda:ap-southeast-1:246715082475:function:jef-caferimo-get-3curl payload mode:
query_string
API Gateway Description¶
Function: jef-caferimo-get-3
API Name: jef-caferimo
Action: get
Method: GET
Resource Path: /get-ingredient-catalog-by-barcode
Payload:
- barcode: string
- limit: number-whole-number-optional
- last_evaluated_key: string-optional
Response:
- exists: boolean
- message: string
- items: [{"pk":"string-jsin","gsi_1_pk":"string-barcode","jsin":"string","barcode":"string","product_name":"string","product_unit":"string"}]
- count: number-whole-number
- last_evaluated_key: string-optional
Request Payload¶
{
"barcode": "string",
"limit": "number-whole-number-optional",
"last_evaluated_key": "string-optional"
}
Response¶
{
"exists": "boolean",
"message": "string",
"items": "[{\"pk\":\"string-jsin\",\"gsi_1_pk\":\"string-barcode\",\"jsin\":\"string\",\"barcode\":\"string\",\"product_name\":\"string\",\"product_unit\":\"string\"}]",
"count": "number-whole-number",
"last_evaluated_key": "string-optional"
}
CMD curl¶
curl "https://lfyr4e0eqe.execute-api.ap-southeast-1.amazonaws.com/prod/get-ingredient-catalog-by-barcode?barcode=string&limit=number-whole-number-optional&last_evaluated_key=string-optional"
PowerShell curl¶
curl.exe "https://lfyr4e0eqe.execute-api.ap-southeast-1.amazonaws.com/prod/get-ingredient-catalog-by-barcode?barcode=string&limit=number-whole-number-optional&last_evaluated_key=string-optional"