šŸ”“ Create a manual intake (without image-based prediction)

[NOTE] This endpoint is DEPRECATED. We recommend using the endpoint POST /intake/manualInput/{userId} instead.

Ā 

Endpoint callable by APIUser only.

Ā 

Creates a manual intake consisting of a consumed dish or a list of consumed food groups, without using an image-based prediction. This is an alternative to the /recognition endpoints.

Ā 

This endpoint can be used to add an intake without the need of an image nor applying the recognition process.

Ā 

You must provide either the parameter 'class_ids' or the parameter 'food_group_ids', but never both.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Parameters to create a manual dish.

string

Timestamp that will be assigned to the image. It will take into account the user's timezone. Following the format '%Y/%m/%d, %H:%M:%S'. If this is not provided it will be set to the current time as default.

class_ids
array of integers

A list of general class ids provided by /getAllClasses. If a list has multiple elements then it will be considered that it is a combo dish.

class_ids
food_group_ids
array of integers

A list of food group ids.

food_group_ids
Responses

401

Unauthorized, invalid token.

403

Forbidden

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json