RecipeSage API (1.0.0)
Download OpenAPI specification:Download
Public REST surface generated from RecipeSage's tRPC router. Procedures are grouped by tRPC sub-router (tag).
Browse and search the public discover recipe catalog
Request Body schema: application/jsonrequired
| searchTerm | string <= 255 characters |
| languages | Array of strings <= 20 items [ items <= 35 characters ] |
| categories | Array of strings <= 20 items [ items <= 255 characters ] |
| matchAllCategories | boolean |
| minRating | number [ 0 .. 5 ] |
| minRatingCount | integer [ 0 .. 9007199254740991 ] |
| photo | string Default: "optional" Enum: "optional" "required" "none" |
| sortBy | string Default: "trending" Enum: "trending" "newest" "topRated" "mostSaved" |
| offset | integer [ 0 .. 10000 ] Default: 0 |
| limit | integer [ 1 .. 100 ] Default: 40 |
Responses
Request samples
- Payload
Content type
application/json
{- "searchTerm": "string",
- "languages": [
- "string"
], - "categories": [
- "string"
], - "matchAllCategories": true,
- "minRating": 5,
- "minRatingCount": 9007199254740991,
- "photo": "optional",
- "sortBy": "trending",
- "offset": 0,
- "limit": 40
}Response samples
- 200
- 400
- 500
Content type
application/json
{- "recipes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "language": "string",
- "categories": [
- "string"
], - "approvalState": "PENDING",
- "ratingAverage": 0,
- "ratingCount": -9007199254740991,
- "saveCount": -9007199254740991,
- "createdAt": "string",
- "modifiedAt": "string",
- "author": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "handle": "string",
- "name": "string"
}, - "discoverRecipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
]
}Get a single public discover recipe by id
query Parameters
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Response samples
- 200
- 400
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "language": "string",
- "categories": [
- "string"
], - "approvalState": "PENDING",
- "ratingAverage": 0,
- "ratingCount": -9007199254740991,
- "saveCount": -9007199254740991,
- "createdAt": "string",
- "modifiedAt": "string",
- "author": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "handle": "string",
- "name": "string"
}, - "discoverRecipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
], - "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "ingredients": "string",
- "instructions": "string",
- "notes": "string",
- "myRating": -9007199254740991,
- "isSaved": true,
- "linkedRecipes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "discoverRecipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
]
}List an author's published discover recipes
query Parameters
| authorId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| offset | integer [ 0 .. 10000 ] Default: 0 |
| limit | integer [ 1 .. 100 ] Default: 40 |
Responses
Response samples
- 200
- 400
- 404
- 500
Content type
application/json
{- "recipes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "language": "string",
- "categories": [
- "string"
], - "approvalState": "PENDING",
- "ratingAverage": 0,
- "ratingCount": -9007199254740991,
- "saveCount": -9007199254740991,
- "createdAt": "string",
- "modifiedAt": "string",
- "author": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "handle": "string",
- "name": "string"
}, - "discoverRecipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
]
}Publish one of your recipes to the public discover catalog
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| recipeId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
required | object |
| language required | string [ 1 .. 35 ] characters |
| imageIds required | Array of strings <uuid> <= 10 items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| linkedDiscoverRecipeIds required | Array of strings <uuid> <= 25 items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| agreedToTos required | boolean Value: true |
Responses
Request samples
- Payload
Content type
application/json
{- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "content": {
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string"
}, - "language": "string",
- "imageIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "linkedDiscoverRecipeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "agreedToTos": true
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Edit one of your published discover recipes
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
required | object |
| language required | string [ 1 .. 35 ] characters |
| imageIds required | Array of strings <uuid> <= 10 items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| linkedDiscoverRecipeIds required | Array of strings <uuid> <= 25 items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "content": {
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string"
}, - "language": "string",
- "imageIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "linkedDiscoverRecipeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Remove one of your recipes from the public discover catalog
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Rate a discover recipe (0 clears your rating)
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| rating required | integer [ 0 .. 5 ] |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rating": 5
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "ratingAverage": 0,
- "ratingCount": -9007199254740991,
- "myRating": -9007199254740991
}Save a discover recipe into your own collection
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title | string [ 1 .. 255 ] characters |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1"
}Report a discover recipe for moderator review
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| reason required | string [ 5 .. 2000 ] characters |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "reason": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reported": true
}Create a label group
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| title required | string [ 1 .. 254 ] characters |
| labelIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| warnWhenNotPresent required | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "title": "string",
- "labelIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "warnWhenNotPresent": true
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string",
- "labels": [
- {
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319"
}
]
}Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string",
- "labels": [
- {
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319"
}
]
}
]Update a label group
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title required | string [ 1 .. 254 ] characters |
| labelIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| warnWhenNotPresent required | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "labelIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "warnWhenNotPresent": true
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string",
- "labels": [
- {
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319"
}
]
}Delete a label group
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> [ 1 .. 100 ] characters ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string",
- "labels": [
- {
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319"
}
]
}Create a label
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| title required | string [ 1 .. 100 ] characters |
required | string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "title": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "labelGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string"
}, - "_count": {
- "recipeLabels": -9007199254740991
}
}Delete a label
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| includeAttachedRecipes | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "includeAttachedRecipes": true
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Delete multiple labels
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| ids required | Array of strings <uuid> [ 1 .. 100 ] items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| includeAttachedRecipes | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "includeAttachedRecipes": true
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "labelGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string"
}, - "_count": {
- "recipeLabels": -9007199254740991
}
}
]Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "labelGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string"
}, - "_count": {
- "recipeLabels": -9007199254740991
}
}Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "labelGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string"
}, - "_count": {
- "recipeLabels": -9007199254740991
}
}
]Get labels visible to the caller for the given user ids
query Parameters
| userIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Response samples
- 200
- 400
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "labelGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string"
}, - "_count": {
- "recipeLabels": -9007199254740991
}
}
]Merge a source label into a target label
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| sourceId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| targetId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "sourceId": "797f5a94-3689-4ac8-82fd-d749511ea2b2",
- "targetId": "cbca1126-180e-4334-9df8-cf82289d378b"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Update a label
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title | string [ 1 .. 100 ] characters |
string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Create or update a label
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| title required | string [ 1 .. 100 ] characters |
string or null The label group to assign this label to. Null for no group, undefined to leave unchanged if-exists | |
required | Array of strings or null |
Responses
Request samples
- Payload
Content type
application/json
{- "title": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "addToRecipeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "labelGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string"
}, - "_count": {
- "recipeLabels": -9007199254740991
}
}Create a recipe
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| title required | string [ 1 .. 254 ] characters |
| description required | string |
| yield required | string |
| activeTime required | string |
| totalTime required | string |
| source required | string |
| url required | string |
| notes required | string |
| ingredients required | string |
| instructions required | string |
required | number or null |
required | "main" (string) or "inbox" (string) |
| labelIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| imageIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
string or null | |
| linkedRecipeIds | Array of strings <uuid> <= 100 items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
string or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "rating": 1,
- "folder": "main",
- "labelIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "imageIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "lastMadeAt": "string",
- "linkedRecipeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Fetch a single recipe by id
Authorizations:
Authorization
query Parameters
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "ingredients": "string",
- "instructions": "string",
- "notes": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string",
- "recipeLabels": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "labelId": "41dc2eb6-a66e-42b0-a808-3d1e63af79f1",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "createdAt": "string",
- "updatedAt": "string",
- "label": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "labelGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string"
}, - "_count": {
- "recipeLabels": -9007199254740991
}
}
}
], - "recipeImages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
], - "recipeLinks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "linkedRecipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}Update a recipe
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title required | string [ 1 .. 254 ] characters |
| description required | string |
| yield required | string |
| activeTime required | string |
| totalTime required | string |
| source required | string |
| url required | string |
| notes required | string |
| ingredients required | string |
| instructions required | string |
required | number or null |
required | "main" (string) or "inbox" (string) |
| labelIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| imageIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
string or null | |
| linkedRecipeIds | Array of strings <uuid> <= 100 items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
string or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
number or null | |
string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "rating": 1,
- "folder": "main",
- "labelIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "imageIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "lastMadeAt": "string",
- "linkedRecipeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Delete a recipe
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Delete multiple recipes by id
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| ids required | Array of strings <uuid> non-empty [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Request samples
- Payload
Content type
application/json
{- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Delete every recipe that has at least one of the given labels
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| labelIds required | Array of strings <uuid> non-empty [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Request samples
- Payload
Content type
application/json
{- "labelIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"List recipes for one or more users with filters and paging
Callable without authentication when userIds is provided. Responds 401 if neither userIds nor a session token is supplied.
Request Body schema: application/jsonrequired
| userIds | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| folder required | string Enum: "main" "inbox" |
| orderBy required | string Enum: "title" "createdAt" "updatedAt" "lastMadeAt" |
| orderDirection required | string Enum: "asc" "desc" |
| offset required | number >= 0 |
| limit required | number [ 1 .. 200 ] |
| recipeIds | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| labels | Array of strings |
| labelIntersection | boolean |
| includeAllFriends | boolean |
Array of integers or null | |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "userIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "folder": "main",
- "orderBy": "title",
- "orderDirection": "asc",
- "offset": 0,
- "limit": 1,
- "recipeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "labels": [
- "string"
], - "labelIntersection": true,
- "includeAllFriends": true,
- "ratings": [
- 5
], - "nutritionFilter": {
- "calories": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}, - "protein": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}, - "totalCarbs": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}, - "totalFat": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}, - "sodium": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}
}
}Response samples
- 200
- 400
- 401
- 500
Content type
application/json
{- "recipes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
], - "totalCount": -9007199254740991
}Fetch up to 100 recipes by id
Authorizations:
Authorization
query Parameters
| ids required | Array of strings <uuid> <= 100 items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "ingredients": "string",
- "instructions": "string",
- "notes": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string",
- "recipeLabels": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "labelId": "41dc2eb6-a66e-42b0-a808-3d1e63af79f1",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "createdAt": "string",
- "updatedAt": "string",
- "label": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "labelGroupId": "b768885f-08b2-4ff7-b6f5-33edda42e319",
- "labelGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "warnWhenNotPresent": true,
- "createdAt": "string",
- "updatedAt": "string"
}, - "_count": {
- "recipeLabels": -9007199254740991
}
}
}
], - "recipeImages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
], - "recipeLinks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "linkedRecipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
]Full-text search over recipes
Request Body schema: application/jsonrequired
| searchTerm required | string [ 1 .. 255 ] characters |
| userIds | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| folder required | string Enum: "main" "inbox" |
| labels | Array of strings |
| labelIntersection | boolean |
| includeAllFriends | boolean |
Array of integers or null | |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "searchTerm": "string",
- "userIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "folder": "main",
- "labels": [
- "string"
], - "labelIntersection": true,
- "includeAllFriends": true,
- "ratings": [
- 5
], - "nutritionFilter": {
- "calories": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}, - "protein": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}, - "totalCarbs": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}, - "totalFat": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}, - "sodium": {
- "min": 0,
- "max": 0,
- "matchMissing": true
}
}
}Response samples
- 200
- 400
- 500
Content type
application/json
{- "recipes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
], - "totalCount": -9007199254740991
}Search recipes ranked by how many of the provided ingredients they contain
Request Body schema: application/jsonrequired
| ingredients required | Array of strings [ 1 .. 30 ] items [ items [ 1 .. 255 ] characters ] |
| userIds | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| includeAllFriends | boolean |
Responses
Request samples
- Payload
Content type
application/json
{- "ingredients": [
- "string"
], - "userIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "includeAllFriends": true
}Response samples
- 200
- 400
- 500
Content type
application/json
{- "results": [
- {
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}, - "matchedTerms": [
- "string"
]
}
]
}Find the caller's recipes that look similar to the supplied ones
Authorizations:
Authorization
query Parameters
| recipeIds required | Array of strings <uuid> non-empty [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
]Find the caller's recipes that match a title exactly
Authorizations:
Authorization
query Parameters
| title required | string non-empty |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
]Find the caller's recipes that match a source URL exactly
Authorizations:
Authorization
query Parameters
| url required | string non-empty |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
]Suggest a non-conflicting title for a new recipe (e.g. 'Spaghetti (2)')
Authorizations:
Authorization
query Parameters
| ignoreIds | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| title required | string non-empty |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
"string"Create a meal plan
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| title required | string [ 1 .. 254 ] characters |
| collaboratorUserIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "title": "string",
- "collaboratorUserIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "customMealOptions": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Create a single meal plan item (deprecated)
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| mealPlanId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title required | string [ 1 .. 254 ] characters |
| scheduledDate required | string^\d{4}-\d{2}-\d{2}$ |
| meal required | string [ 1 .. 254 ] characters |
required | string or null |
| notes | string <= 10000 characters |
Responses
Request samples
- Payload
Content type
application/json
{- "mealPlanId": "aa4c792a-336f-412f-985e-eeef1181f3a8",
- "title": "string",
- "scheduledDate": "string",
- "meal": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "notes": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Create multiple meal plan items
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| mealPlanId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
required | Array of objects [ 1 .. 1000 ] items |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "mealPlanId": "aa4c792a-336f-412f-985e-eeef1181f3a8",
- "items": [
- {
- "title": "string",
- "scheduledDate": "string",
- "meal": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "notes": "string"
}
], - "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Delete a meal plan
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Delete a single meal plan item (deprecated)
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Delete multiple meal plan items
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| mealPlanId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| ids required | Array of strings <uuid> [ 1 .. 1000 ] items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "mealPlanId": "aa4c792a-336f-412f-985e-eeef1181f3a8",
- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Detach the caller as a collaborator from a meal plan
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Get a single meal plan by id
Authorizations:
Authorization
query Parameters
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "collaboratorUsers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
], - "title": "string",
- "customMealOptions": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "_count": {
- "items": -9007199254740991
}
}Get the items belonging to a meal plan
Authorizations:
Authorization
query Parameters
| mealPlanId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "mealPlanId": "aa4c792a-336f-412f-985e-eeef1181f3a8",
- "title": "string",
- "notes": "string",
- "scheduled": "string",
- "scheduledDate": "string",
- "meal": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "shoppingListItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "shoppingList": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string"
}
}
], - "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "ingredients": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
]Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "collaboratorUsers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
], - "title": "string",
- "customMealOptions": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "_count": {
- "items": -9007199254740991
}
}
]Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "collaboratorUsers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
], - "title": "string",
- "customMealOptions": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "_count": {
- "items": -9007199254740991
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "mealPlanId": "aa4c792a-336f-412f-985e-eeef1181f3a8",
- "title": "string",
- "notes": "string",
- "scheduled": "string",
- "scheduledDate": "string",
- "meal": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "shoppingListItems": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "shoppingList": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string"
}
}
], - "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "ingredients": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
]
}
]Update a meal plan
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title | string [ 1 .. 254 ] characters |
| collaboratorUserIds | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "collaboratorUserIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "customMealOptions": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Update a single meal plan item (deprecated)
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title required | string [ 1 .. 254 ] characters |
| scheduledDate required | string^\d{4}-\d{2}-\d{2}$ |
| meal required | string [ 1 .. 254 ] characters |
required | string or null |
| notes | string <= 10000 characters |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "scheduledDate": "string",
- "meal": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "notes": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Update multiple meal plan items
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| mealPlanId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
required | Array of objects [ 1 .. 100 ] items |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "mealPlanId": "aa4c792a-336f-412f-985e-eeef1181f3a8",
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "scheduledDate": "string",
- "meal": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "notes": "string"
}
], - "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Create or update multiple meal plan items via id-keyed upsert
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| mealPlanId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
required | Array of objects [ 1 .. 100 ] items |
Responses
Request samples
- Payload
Content type
application/json
{- "mealPlanId": "aa4c792a-336f-412f-985e-eeef1181f3a8",
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "scheduledDate": "string",
- "meal": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "notes": "string",
- "createdAt": "string",
- "updatedAt": "string"
}
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Create a shopping list
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| title required | string [ 1 .. 254 ] characters |
| collaboratorUserIds required | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Request samples
- Payload
Content type
application/json
{- "title": "string",
- "collaboratorUserIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Create a single shopping list item (deprecated)
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| shoppingListId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title required | string [ 1 .. 254 ] characters |
required | string or null |
| completed | boolean |
| categoryTitle | string non-empty |
Responses
Request samples
- Payload
Content type
application/json
{- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "title": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "completed": true,
- "categoryTitle": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Create multiple shopping list items
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| shoppingListId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
required | Array of objects [ 1 .. 1000 ] items |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "items": [
- {
- "title": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "completed": true,
- "categoryTitle": "string"
}
], - "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Delete a shopping list
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Delete a single shopping list item (deprecated)
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Delete multiple shopping list items
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| shoppingListId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| ids required | Array of strings <uuid> [ 1 .. 1000 ] items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Detach the caller as a collaborator from a shopping list
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Get a single shopping list by id
Authorizations:
Authorization
query Parameters
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "collaboratorUsers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
], - "title": "string",
- "categoryOrder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "_count": {
- "items": -9007199254740991
}
}Get the items belonging to a shopping list
Authorizations:
Authorization
query Parameters
| shoppingListId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "title": "string",
- "completed": true,
- "categoryTitle": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "ingredients": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "groupTitle": "string"
}
]Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "collaboratorUsers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
], - "title": "string",
- "categoryOrder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "_count": {
- "items": -9007199254740991
}
}
]Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "collaboratorUsers": [
- {
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
], - "title": "string",
- "categoryOrder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "_count": {
- "items": -9007199254740991
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "title": "string",
- "completed": true,
- "categoryTitle": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "ingredients": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "groupTitle": "string"
}
]
}
]Update a shopping list
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title | string [ 1 .. 254 ] characters |
| collaboratorUserIds | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
string or null |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "collaboratorUserIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "categoryOrder": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Update a single shopping list item (deprecated)
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| title | string [ 1 .. 254 ] characters |
string or null | |
| completed | boolean |
| categoryTitle | string non-empty |
Responses
Request samples
- Payload
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "completed": true,
- "categoryTitle": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Update multiple shopping list items
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| shoppingListId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
required | Array of objects [ 1 .. 100 ] items |
| reference | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "completed": true,
- "categoryTitle": "string"
}
], - "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Create or update multiple shopping list items via id-keyed upsert
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| shoppingListId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
required | Array of objects [ 1 .. 100 ] items |
Responses
Request samples
- Payload
Content type
application/json
{- "shoppingListId": "7dc44ca0-9d2a-4e9f-8b8d-05307025c33d",
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "completed": true,
- "categoryTitle": "string",
- "createdAt": "string",
- "updatedAt": "string"
}
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "reference": "2ddb20b8-e0e3-45ae-a638-42610b990a6a"
}Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "role": "string",
- "content": "string",
- "name": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "createdAt": "string",
- "updatedAt": "string",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "folder": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "lastMadeAt": "string",
- "rating": -9007199254740991,
- "recipeLabels": [
- {
- "label": {
- "title": "string"
}
}
], - "recipeImages": [
- {
- "order": -9007199254740991,
- "image": {
- "location": "string"
}
}
], - "fromUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
}
]Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
], - "email": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "subscriptions": [
- {
- "expires": "string",
- "capabilities": [
- "highResImages"
]
}
]
}Get the caller's friends, plus pending incoming and outgoing friend requests
Authorizations:
Authorization
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "friends": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
], - "incomingRequests": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
], - "outgoingRequests": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
]
}Look up a user profile by email address
Authorizations:
Authorization
query Parameters
| email required | string non-empty |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}Response samples
- 200
- 400
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}Get the showcased profile items for a user, filtered by what the caller is allowed to see
query Parameters
| userId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Response samples
- 200
- 400
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "title": "string",
- "type": "all-recipes",
- "visibility": "public",
- "order": -9007199254740991,
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "label": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string"
}
}
]Look up user profiles by id
query Parameters
| ids required | Array of strings <uuid> [ 1 .. 100 ] items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Response samples
- 200
- 400
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
]Create a friendship from the caller to another user, accepting an incoming request if one exists
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| friendId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "friendId": "4bd6e55f-1d02-40eb-85a5-4e8b566403a4"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Remove the friendship between the caller and another user in both directions
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| friendId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "friendId": "4bd6e55f-1d02-40eb-85a5-4e8b566403a4"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Update the caller's public profile, showcased items, and profile images
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| name | string [ 1 .. 254 ] characters |
| handle | string [ 1 .. 255 ] characters |
| enableProfile | boolean |
Array of objects | |
| profileImageIds | Array of strings <uuid> [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileItems": [
- {
- "title": "string",
- "type": "all-recipes",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "labelId": "41dc2eb6-a66e-42b0-a808-3d1e63af79f1",
- "visibility": "public"
}
], - "profileImageIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Update the caller's stored app preferences
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| preferencesVersion | number >= 0 |
| global.enableSplitPane | boolean |
string or null | |
| global.fontSize | string Enum: "1rem" "14px" "16px" "18px" "20px" "22px" "24px" |
| global.theme | string Enum: "default" "light" "dark" "black" "midnight" |
| global.preferencesSync | string Enum: "enabled" "disabled" |
| global.startPage | string Enum: "myRecipes" "manageLabels" "mealPlans" "shoppingLists" |
| global.offlineModePrompt | string Enum: "ask" "never" |
| myRecipes.enableLabelIntersection | boolean |
| myRecipes.showLabels | boolean |
| myRecipes.showLabelChips | boolean |
| myRecipes.showImages | boolean |
| myRecipes.showSource | boolean |
| myRecipes.showRecipeDescription | boolean |
| myRecipes.showRating | boolean |
| myRecipes.viewType | string Enum: "tiles" "list" "compact" |
| myRecipes.sortBy | string Enum: "title" "-createdAt" "createdAt" "-updatedAt" "updatedAt" "-lastMadeAt" "lastMadeAt" |
| myRecipes.includeFriends | string Enum: "yes" "no" "search" "browse" |
| recipeDetails.enableWakeLock | boolean |
| recipeDetails.autoExpandNutrition | boolean |
| cookMode.fontSize | string Enum: "1rem" "14px" "16px" "18px" "20px" "22px" "24px" |
| manageLabels.showCreatedAt | boolean |
| measurementConverter.enabledUnits | Array of strings |
| MealPlan.showAddedBy | boolean |
| MealPlan.showAddedOn | boolean |
| MealPlan.startOfWeek | string Enum: "monday" "sunday" |
| MealPlan.viewType | string Enum: "calendar" "list" |
| ShoppingList.sortBy | string Enum: "title" "-title" "createdAt" "-createdAt" |
| ShoppingList.showAddedBy | boolean |
| ShoppingList.showAddedOn | boolean |
| ShoppingList.showRecipeTitle | boolean |
| ShoppingList.preferDelete | boolean |
| ShoppingList.groupSimilar | boolean |
| ShoppingList.groupCategories | boolean |
| ShoppingList.ignoreItemTitles | string <= 5000 characters |
Responses
Request samples
- Payload
Content type
application/json
{- "preferencesVersion": 0,
- "global.enableSplitPane": true,
- "global.language": "en-us",
- "global.fontSize": "1rem",
- "global.theme": "default",
- "global.preferencesSync": "enabled",
- "global.startPage": "myRecipes",
- "global.offlineModePrompt": "ask",
- "myRecipes.enableLabelIntersection": true,
- "myRecipes.showLabels": true,
- "myRecipes.showLabelChips": true,
- "myRecipes.showImages": true,
- "myRecipes.showSource": true,
- "myRecipes.showRecipeDescription": true,
- "myRecipes.showRating": true,
- "myRecipes.viewType": "tiles",
- "myRecipes.sortBy": "title",
- "myRecipes.includeFriends": "yes",
- "recipeDetails.enableWakeLock": true,
- "recipeDetails.autoExpandNutrition": true,
- "cookMode.fontSize": "1rem",
- "manageLabels.showCreatedAt": true,
- "measurementConverter.enabledUnits": [
- "string"
], - "MealPlan.showAddedBy": true,
- "MealPlan.showAddedOn": true,
- "MealPlan.startOfWeek": "monday",
- "MealPlan.viewType": "calendar",
- "ShoppingList.sortBy": "title",
- "ShoppingList.showAddedBy": true,
- "ShoppingList.showAddedOn": true,
- "ShoppingList.showRecipeTitle": true,
- "ShoppingList.preferDelete": true,
- "ShoppingList.groupSimilar": true,
- "ShoppingList.groupCategories": true,
- "ShoppingList.ignoreItemTitles": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Authenticate with a Google ID token and receive a session token
Request Body schema: application/jsonrequired
| clientId | string |
| credential required | string |
| allowRegistration | boolean Default: true |
Responses
Request samples
- Payload
Content type
application/json
{- "clientId": "string",
- "credential": "string",
- "allowRegistration": true
}Response samples
- 200
- 400
- 500
Content type
application/json
{- "token": "string",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "email": "string"
}Exchange a desktop Google auth code for a session token
Requires no session token. Responds 401 if the supplied auth code has an invalid signature or has expired.
Request Body schema: application/jsonrequired
| code required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "code": "string"
}Response samples
- 200
- 400
- 401
- 500
Content type
application/json
{- "token": "string",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "email": "string"
}Authenticate with email and password and receive a session token
Request Body schema: application/jsonrequired
| email required | string |
| password required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "email": "string",
- "password": "string"
}Response samples
- 200
- 400
- 500
Content type
application/json
{- "token": "string",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "email": "string"
}Create a new account with email and password
Request Body schema: application/jsonrequired
| name required | string [ 1 .. 254 ] characters |
| email required | string <email> [ 1 .. 254 ] characters ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z... |
| password required | string [ 6 .. 1000 ] characters |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "email": "user@example.com",
- "password": "string"
}Response samples
- 200
- 400
- 500
Content type
application/json
{- "token": "string",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "email": "string"
}Register a Firebase Cloud Messaging token for the caller
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| fcmToken required | string non-empty |
Responses
Request samples
- Payload
Content type
application/json
{- "fcmToken": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Remove a Firebase Cloud Messaging token for the caller
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| fcmToken required | string non-empty |
Responses
Request samples
- Payload
Content type
application/json
{- "fcmToken": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Update the caller's name, email, and/or password
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| name | string [ 1 .. 254 ] characters |
string <email> [ 1 .. 254 ] characters ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z... | |
| password | string [ 6 .. 1000 ] characters |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "email": "user@example.com",
- "password": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
"string"Recognize a recipe from one or more images using OCR
Authorizations:
Authorization
Request Body schema: multipart/form-datarequired
| file required | Array of strings <binary> [ items <binary > ] |
Responses
Response samples
- 200
Content type
application/json
{- "recipe": {
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "folder": "string",
- "rating": 0,
- "lastMadeAt": "string",
- "nutritionInfo": "string",
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string"
}, - "labels": [
- "string"
], - "images": [
- "string"
]
}Recognize a recipe from a PDF file
Authorizations:
Authorization
Request Body schema: multipart/form-datarequired
| file required | string <binary> |
Responses
Response samples
- 200
Content type
application/json
{- "recipe": {
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "folder": "string",
- "rating": 0,
- "lastMadeAt": "string",
- "nutritionInfo": "string",
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string"
}, - "labels": [
- "string"
], - "images": [
- "string"
]
}Extract a recipe from a block of text
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| text required | string [ 1 .. 10000 ] characters |
Responses
Request samples
- Payload
Content type
application/json
{- "text": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "recipe": {
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "folder": "string",
- "rating": 0,
- "lastMadeAt": "string",
- "nutritionInfo": "string",
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string"
}, - "labels": [
- "string"
], - "images": [
- "string"
]
}Extract nutrition information from a block of text
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| text required | string [ 1 .. 10000 ] characters |
Responses
Request samples
- Payload
Content type
application/json
{- "text": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "servingSize": "string",
- "calories": 0,
- "totalFat": 0,
- "saturatedFat": 0,
- "transFat": 0,
- "polyunsaturatedFat": 0,
- "monounsaturatedFat": 0,
- "cholesterol": 0,
- "sodium": 0,
- "totalCarbs": 0,
- "dietaryFiber": 0,
- "totalSugars": 0,
- "addedSugars": 0,
- "protein": 0,
- "vitaminD": 0,
- "calcium": 0,
- "iron": 0,
- "potassium": 0
}Recognize a recipe from an uploaded document
Authorizations:
Authorization
Request Body schema: multipart/form-datarequired
| file required | string <binary> |
Responses
Response samples
- 200
Content type
application/json
{- "recipe": {
- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "folder": "string",
- "rating": 0,
- "lastMadeAt": "string",
- "nutritionInfo": "string",
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string"
}, - "labels": [
- "string"
], - "images": [
- "string"
]
}Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "CREATE",
- "type": "IMPORT",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "resultCode": -9007199254740991,
- "progress": -9007199254740991,
- "meta": {
- "importType": "lcb",
- "importLabels": [
- "string"
], - "importStorageKey": "string",
- "importStorageBucket": "string",
- "partialCount": -9007199254740991,
- "failedCount": -9007199254740991,
- "options": {
- "excludeImages": true,
- "includeStockRecipes": true,
- "includeTechniques": true
}, - "language": "string"
}, - "createdAt": "string",
- "updatedAt": "string"
}
]Get a single job by id
Authorizations:
Authorization
query Parameters
| id required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "CREATE",
- "type": "COOKBOOK",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "resultCode": -9007199254740991,
- "progress": -9007199254740991,
- "meta": {
- "cookbookTitle": "string",
- "cookbookSubtitle": "string",
- "cookbookIntroduction": "string",
- "cookbookAuthor": "string",
- "cookbookIncludeToc": true,
- "cookbookIncludeImages": true,
- "cookbookIncludeLabels": true,
- "cookbookStorageBucket": "string",
- "cookbookStorageKey": "string",
- "cookbookDownloadUrl": "string",
- "recipeIds": [
- "string"
], - "language": "string"
}, - "createdAt": "string",
- "updatedAt": "string"
}Start an export job
Authorizations:
Authorization
Request Body schema: application/jsonrequired
required | "txt" (string) or "pdf" (string) or "jsonld" (string) |
| recipeIds | Array of strings <uuid> [ 1 .. 5000 ] items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Request samples
- Payload
Content type
application/json
{- "format": "txt",
- "recipeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39"
}Start a cookbook PDF generation job
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| title required | string [ 1 .. 1000 ] characters |
| subtitle | string <= 1000 characters |
| introduction | string <= 50000 characters |
| author | string <= 1000 characters |
| includeToc required | boolean |
| includeImages required | boolean |
| includeLabels required | boolean |
| recipeIds required | Array of strings <uuid> [ 1 .. 1000 ] items [^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA...] |
Responses
Request samples
- Payload
Content type
application/json
{- "title": "string",
- "subtitle": "string",
- "introduction": "string",
- "author": "string",
- "includeToc": true,
- "includeImages": true,
- "includeLabels": true,
- "recipeIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39"
}Download an image from a URL and store it as a recipe image
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| url required | string [ 1 .. 4096 ] characters |
Responses
Request samples
- Payload
Content type
application/json
{- "url": "string"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}Send a message to another user, optionally sharing a recipe
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| to required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| body | string |
| recipeId | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
Responses
Request samples
- Payload
Content type
application/json
{- "to": "4a3e8739-e3a9-4b51-9b6f-406b6818a828",
- "body": "string",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1"
}Response samples
- 200
- 400
- 401
- 403
- 500
Content type
application/json
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "body": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "toUserId": "6b24f439-a350-415b-8542-30ae3827c522",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "originalRecipeId": "af58040c-c887-4561-9d54-f4bd62d753d8",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "originalRecipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}Get a conversation with another user and its messages
Authorizations:
Authorization
query Parameters
| userId required | string <uuid> ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA... |
| messageLimit | integer [ 1 .. 500 ] |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
{- "messageThread": {
- "otherUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "latestMessage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "body": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "toUserId": "6b24f439-a350-415b-8542-30ae3827c522",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "originalRecipeId": "af58040c-c887-4561-9d54-f4bd62d753d8",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "originalRecipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
}, - "messages": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "body": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "toUserId": "6b24f439-a350-415b-8542-30ae3827c522",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "originalRecipeId": "af58040c-c887-4561-9d54-f4bd62d753d8",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "originalRecipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
]
}Response samples
- 200
- 400
- 401
- 403
- 404
- 500
Content type
application/json
[- {
- "otherUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "handle": "string",
- "enableProfile": true,
- "profileImages": [
- {
- "order": -9007199254740991,
- "imageId": "bbefe473-c66a-4040-85cf-1c7e6f0b3830",
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "latestMessage": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "body": "string",
- "createdAt": "string",
- "updatedAt": "string",
- "fromUserId": "1dace4d0-98e4-4ab4-97cf-c23ae5cef503",
- "toUserId": "6b24f439-a350-415b-8542-30ae3827c522",
- "recipeId": "31545f76-b27f-4c7c-9faf-229771396df1",
- "originalRecipeId": "af58040c-c887-4561-9d54-f4bd62d753d8",
- "recipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}, - "originalRecipe": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "recipeImages": [
- {
- "image": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "location": "string"
}
}
]
}
}
}
]Response samples
- 200
Content type
application/json
{- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "folder": "string",
- "rating": 0,
- "lastMadeAt": "string",
- "nutritionInfo": "string",
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string",
- "imageURL": "string"
}Clip a recipe from a URL or raw HTML
Authorizations:
Authorization
Request Body schema: application/jsonrequired
| url | string |
| html | string |
Responses
Request samples
- Payload
Content type
application/json
{- "url": "string",
- "html": "string"
}Response samples
- 200
Content type
application/json
{- "title": "string",
- "description": "string",
- "yield": "string",
- "activeTime": "string",
- "totalTime": "string",
- "source": "string",
- "url": "string",
- "notes": "string",
- "ingredients": "string",
- "instructions": "string",
- "folder": "string",
- "rating": 0,
- "lastMadeAt": "string",
- "nutritionInfo": "string",
- "nutritionServingSize": "string",
- "nutritionCalories": 0,
- "nutritionTotalFat": 0,
- "nutritionSaturatedFat": 0,
- "nutritionTransFat": 0,
- "nutritionPolyunsaturatedFat": 0,
- "nutritionMonounsaturatedFat": 0,
- "nutritionCholesterol": 0,
- "nutritionSodium": 0,
- "nutritionTotalCarbs": 0,
- "nutritionDietaryFiber": 0,
- "nutritionTotalSugars": 0,
- "nutritionAddedSugars": 0,
- "nutritionProtein": 0,
- "nutritionVitaminD": 0,
- "nutritionCalcium": 0,
- "nutritionIron": 0,
- "nutritionPotassium": 0,
- "nutritionOtherDetails": "string",
- "imageURL": "string"
}Import recipes from a Living Cookbook FDXZ export
Authorizations:
Authorization
query Parameters
required | "true" (string) or "false" (string) |
| labels | string |
Request Body schema: multipart/form-datarequired
| file required | string <binary> |
Responses
Response samples
- 201
Content type
application/json
{- "jobId": "string"
}Import recipes from a Living Cookbook export
Authorizations:
Authorization
query Parameters
required | "true" (string) or "false" (string) |
required | "true" (string) or "false" (string) |
required | "true" (string) or "false" (string) |
| labels | string |
Request Body schema: multipart/form-datarequired
| file required | string <binary> |
Responses
Response samples
- 201
Content type
application/json
{- "jobId": "string"
}Import recipes from a Pepperplate account
Authorizations:
Authorization
query Parameters
| labels | string |
Request Body schema: application/jsonrequired
| username required | string |
| password required | string |
Responses
Request samples
- Payload
Content type
application/json
{- "username": "string",
- "password": "string"
}Response samples
- 201
Content type
application/json
{- "jobId": "string"
}Import recipes from a list of URLs
Authorizations:
Authorization
query Parameters
| labels | string |
Request Body schema: application/jsonrequired
| urls required | Array of strings [ 1 .. 5000 ] items |
Responses
Request samples
- Payload
Content type
application/json
{- "urls": [
- "string"
]
}Response samples
- 201
Content type
application/json
{- "jobId": "string"
}