mealie-typescript 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +25 -11
- package/.openapi-generator/FILES +0 -303
- package/.openapi-generator/VERSION +0 -1
- package/.openapi-generator-ignore +0 -26
- package/api.ts +0 -28987
- package/base.ts +0 -62
- package/common.ts +0 -113
- package/configuration.ts +0 -121
- package/docs/AdminAboutApi.md +0 -164
- package/docs/AdminAboutInfo.md +0 -62
- package/docs/AdminBackupsApi.md +0 -333
- package/docs/AdminDebugApi.md +0 -62
- package/docs/AdminEmailApi.md +0 -116
- package/docs/AdminMaintenanceApi.md +0 -270
- package/docs/AdminManageGroupsApi.md +0 -305
- package/docs/AdminManageHouseholdsApi.md +0 -305
- package/docs/AdminManageUsersApi.md +0 -417
- package/docs/AllBackups.md +0 -22
- package/docs/AppAboutApi.md +0 -142
- package/docs/AppInfo.md +0 -44
- package/docs/AppStartupInfo.md +0 -22
- package/docs/AppStatistics.md +0 -30
- package/docs/AppTheme.md +0 -46
- package/docs/AssignCategories.md +0 -22
- package/docs/AssignSettings.md +0 -22
- package/docs/AssignTags.md +0 -22
- package/docs/AuthMethod.md +0 -12
- package/docs/BackupFile.md +0 -24
- package/docs/BodyTriggerActionApiHouseholdsRecipeActionsItemIdTriggerRecipeSlugPost.md +0 -20
- package/docs/CategoryBase.md +0 -26
- package/docs/CategoryIn.md +0 -20
- package/docs/CategoryOut.md +0 -26
- package/docs/CategorySummary.md +0 -24
- package/docs/ChangePassword.md +0 -22
- package/docs/CheckAppConfig.md +0 -30
- package/docs/CookBookPagination.md +0 -32
- package/docs/Cookbook.md +0 -18
- package/docs/Cookbook1.md +0 -18
- package/docs/CookbookHousehold.md +0 -22
- package/docs/CreateCookBook.md +0 -30
- package/docs/CreateGroupRecipeAction.md +0 -24
- package/docs/CreateIngredientFood.md +0 -34
- package/docs/CreateIngredientFoodAlias.md +0 -20
- package/docs/CreateIngredientUnit.md +0 -38
- package/docs/CreateIngredientUnitAlias.md +0 -20
- package/docs/CreateInviteToken.md +0 -24
- package/docs/CreatePlanEntry.md +0 -28
- package/docs/CreateRandomEntry.md +0 -22
- package/docs/CreateRecipe.md +0 -20
- package/docs/CreateRecipeBulk.md +0 -24
- package/docs/CreateRecipeByUrlBulk.md +0 -20
- package/docs/CreateUserRegistration.md +0 -42
- package/docs/CreateWebhook.md +0 -28
- package/docs/DebugResponse.md +0 -22
- package/docs/DeleteRecipes.md +0 -20
- package/docs/DeleteTokenResponse.md +0 -20
- package/docs/EmailInitationResponse.md +0 -22
- package/docs/EmailInvitation.md +0 -22
- package/docs/EmailReady.md +0 -20
- package/docs/EmailSuccess.md +0 -22
- package/docs/EmailTest.md +0 -20
- package/docs/ExploreCategoriesApi.md +0 -144
- package/docs/ExploreCookbooksApi.md +0 -145
- package/docs/ExploreFoodsApi.md +0 -144
- package/docs/ExploreHouseholdsApi.md +0 -141
- package/docs/ExploreRecipesApi.md +0 -266
- package/docs/ExploreTagsApi.md +0 -144
- package/docs/ExploreToolsApi.md +0 -144
- package/docs/ExportRecipes.md +0 -22
- package/docs/ExportTypes.md +0 -8
- package/docs/FileTokenResponse.md +0 -20
- package/docs/Food.md +0 -40
- package/docs/Food1.md +0 -40
- package/docs/ForgotPassword.md +0 -20
- package/docs/FormatResponse.md +0 -22
- package/docs/GetAllApiRecipesGetCategoriesParameterInner.md +0 -18
- package/docs/GetAllApiRecipesGetTagsParameterInner.md +0 -18
- package/docs/GroupAdminUpdate.md +0 -24
- package/docs/GroupBase.md +0 -20
- package/docs/GroupDataExport.md +0 -32
- package/docs/GroupEventNotifierCreate.md +0 -22
- package/docs/GroupEventNotifierOptions.md +0 -69
- package/docs/GroupEventNotifierOptionsOut.md +0 -70
- package/docs/GroupEventNotifierOut.md +0 -30
- package/docs/GroupEventNotifierUpdate.md +0 -32
- package/docs/GroupEventPagination.md +0 -32
- package/docs/GroupHouseholdSummary.md +0 -22
- package/docs/GroupInDB.md +0 -34
- package/docs/GroupPagination.md +0 -32
- package/docs/GroupRecipeActionOut.md +0 -30
- package/docs/GroupRecipeActionPagination.md +0 -32
- package/docs/GroupRecipeActionType.md +0 -10
- package/docs/GroupStorage.md +0 -26
- package/docs/GroupSummary.md +0 -26
- package/docs/GroupsHouseholdsApi.md +0 -135
- package/docs/GroupsMigrationsApi.md +0 -68
- package/docs/GroupsMultiPurposeLabelsApi.md +0 -308
- package/docs/GroupsReportsApi.md +0 -172
- package/docs/GroupsSeedersApi.md +0 -175
- package/docs/GroupsSelfServiceApi.md +0 -351
- package/docs/HTTPValidationError.md +0 -20
- package/docs/HouseholdCreate.md +0 -22
- package/docs/HouseholdInDB.md +0 -34
- package/docs/HouseholdPagination.md +0 -32
- package/docs/HouseholdRecipeSummary.md +0 -22
- package/docs/HouseholdStatistics.md +0 -28
- package/docs/HouseholdSummary.md +0 -28
- package/docs/HouseholdUserSummary.md +0 -22
- package/docs/HouseholdsCookbooksApi.md +0 -361
- package/docs/HouseholdsEventNotificationsApi.md +0 -360
- package/docs/HouseholdsInvitationsApi.md +0 -171
- package/docs/HouseholdsMealplanRulesApi.md +0 -305
- package/docs/HouseholdsMealplansApi.md +0 -420
- package/docs/HouseholdsRecipeActionsApi.md +0 -367
- package/docs/HouseholdsSelfServiceApi.md +0 -406
- package/docs/HouseholdsShoppingListItemsApi.md +0 -470
- package/docs/HouseholdsShoppingListsApi.md +0 -545
- package/docs/HouseholdsWebhooksApi.md +0 -413
- package/docs/ImageType.md +0 -12
- package/docs/IngredientConfidence.md +0 -30
- package/docs/IngredientFoodAlias.md +0 -20
- package/docs/IngredientFoodInput.md +0 -40
- package/docs/IngredientFoodOutput.md +0 -40
- package/docs/IngredientFoodPagination.md +0 -32
- package/docs/IngredientReferences.md +0 -21
- package/docs/IngredientRequest.md +0 -22
- package/docs/IngredientUnitAlias.md +0 -20
- package/docs/IngredientUnitInput.md +0 -42
- package/docs/IngredientUnitOutput.md +0 -42
- package/docs/IngredientUnitPagination.md +0 -32
- package/docs/IngredientsRequest.md +0 -22
- package/docs/ItemId.md +0 -18
- package/docs/ItemId1.md +0 -18
- package/docs/LogicalOperator.md +0 -10
- package/docs/LongLiveTokenCreateResponse.md +0 -27
- package/docs/LongLiveTokenIn.md +0 -22
- package/docs/LongLiveTokenOut.md +0 -24
- package/docs/MaintenanceStorageDetails.md +0 -28
- package/docs/MaintenanceSummary.md +0 -24
- package/docs/MealieSchemaRecipeRecipeCommentsUserBase.md +0 -26
- package/docs/MealieSchemaUserUserUserBase.md +0 -44
- package/docs/MergeFood.md +0 -22
- package/docs/MergeUnit.md +0 -22
- package/docs/MultiPurposeLabelCreate.md +0 -22
- package/docs/MultiPurposeLabelOut.md +0 -26
- package/docs/MultiPurposeLabelPagination.md +0 -32
- package/docs/MultiPurposeLabelSummary.md +0 -26
- package/docs/MultiPurposeLabelUpdate.md +0 -26
- package/docs/Nutrition.md +0 -40
- package/docs/OrderByNullPosition.md +0 -10
- package/docs/OrderDirection.md +0 -10
- package/docs/OrganizerCategoriesApi.md +0 -422
- package/docs/OrganizerTagsApi.md +0 -421
- package/docs/OrganizerToolsApi.md +0 -363
- package/docs/PaginationBaseHouseholdSummary.md +0 -32
- package/docs/PaginationBaseIngredientFood.md +0 -32
- package/docs/PaginationBaseReadCookBook.md +0 -32
- package/docs/PaginationBaseRecipeCategory.md +0 -32
- package/docs/PaginationBaseRecipeSummary.md +0 -32
- package/docs/PaginationBaseRecipeTag.md +0 -32
- package/docs/PaginationBaseRecipeTool.md +0 -32
- package/docs/PaginationBaseUserOut.md +0 -32
- package/docs/PaginationBaseUserSummary.md +0 -32
- package/docs/ParsedIngredient.md +0 -24
- package/docs/PasswordResetToken.md +0 -20
- package/docs/PlanEntryPagination.md +0 -32
- package/docs/PlanEntryType.md +0 -20
- package/docs/PlanRulesCreate.md +0 -24
- package/docs/PlanRulesDay.md +0 -22
- package/docs/PlanRulesOut.md +0 -32
- package/docs/PlanRulesPagination.md +0 -32
- package/docs/PlanRulesType.md +0 -22
- package/docs/QueryFilterJSON.md +0 -20
- package/docs/QueryFilterJSONPart.md +0 -30
- package/docs/ReadCookBook.md +0 -40
- package/docs/ReadGroupPreferences.md +0 -24
- package/docs/ReadHouseholdPreferences.md +0 -36
- package/docs/ReadInviteToken.md +0 -26
- package/docs/ReadPlanEntry.md +0 -38
- package/docs/ReadWebhook.md +0 -34
- package/docs/RecipeAsset.md +0 -24
- package/docs/RecipeBulkActionsApi.md +0 -448
- package/docs/RecipeCRUDApi.md +0 -1306
- package/docs/RecipeCategory.md +0 -26
- package/docs/RecipeCategoryPagination.md +0 -32
- package/docs/RecipeCommentCreate.md +0 -22
- package/docs/RecipeCommentOutInput.md +0 -32
- package/docs/RecipeCommentOutOutput.md +0 -32
- package/docs/RecipeCommentPagination.md +0 -32
- package/docs/RecipeCommentUpdate.md +0 -22
- package/docs/RecipeCommentsApi.md +0 -361
- package/docs/RecipeDuplicate.md +0 -20
- package/docs/RecipeExportsApi.md +0 -118
- package/docs/RecipeImagesAndAssetsApi.md +0 -521
- package/docs/RecipeIngredientInput.md +0 -36
- package/docs/RecipeIngredientOutput.md +0 -36
- package/docs/RecipeIngredientParserApi.md +0 -119
- package/docs/RecipeInput.md +0 -84
- package/docs/RecipeLastMade.md +0 -20
- package/docs/RecipeNote.md +0 -22
- package/docs/RecipeOutput.md +0 -84
- package/docs/RecipeSettings.md +0 -30
- package/docs/RecipeShareToken.md +0 -30
- package/docs/RecipeShareTokenCreate.md +0 -22
- package/docs/RecipeShareTokenSummary.md +0 -28
- package/docs/RecipeSharedApi.md +0 -112
- package/docs/RecipeStep.md +0 -28
- package/docs/RecipeSuggestionResponse.md +0 -20
- package/docs/RecipeSuggestionResponseItem.md +0 -24
- package/docs/RecipeSummary.md +0 -68
- package/docs/RecipeTag.md +0 -26
- package/docs/RecipeTagPagination.md +0 -32
- package/docs/RecipeTagResponse.md +0 -28
- package/docs/RecipeTimelineApi.md +0 -366
- package/docs/RecipeTimelineEventIn.md +0 -32
- package/docs/RecipeTimelineEventOut.md +0 -42
- package/docs/RecipeTimelineEventPagination.md +0 -32
- package/docs/RecipeTimelineEventUpdate.md +0 -24
- package/docs/RecipeTool.md +0 -28
- package/docs/RecipeToolCreate.md +0 -22
- package/docs/RecipeToolOut.md +0 -28
- package/docs/RecipeToolPagination.md +0 -32
- package/docs/RecipeToolResponse.md +0 -30
- package/docs/RecipesFoodsApi.md +0 -364
- package/docs/RecipesUnitsApi.md +0 -364
- package/docs/RegisteredParser.md +0 -12
- package/docs/RelationalKeyword.md +0 -20
- package/docs/RelationalOperator.md +0 -18
- package/docs/Relationaloperator.md +0 -18
- package/docs/ReportCategory.md +0 -14
- package/docs/ReportEntryOut.md +0 -30
- package/docs/ReportOut.md +0 -32
- package/docs/ReportSummary.md +0 -30
- package/docs/ReportSummaryStatus.md +0 -14
- package/docs/ResetPassword.md +0 -26
- package/docs/SaveGroupRecipeAction.md +0 -28
- package/docs/ScrapeRecipe.md +0 -22
- package/docs/ScrapeRecipeData.md +0 -22
- package/docs/ScrapeRecipeTest.md +0 -22
- package/docs/SeederConfig.md +0 -20
- package/docs/SetPermissions.md +0 -28
- package/docs/SharedRecipesApi.md +0 -228
- package/docs/ShoppingListAddRecipeParams.md +0 -22
- package/docs/ShoppingListAddRecipeParamsBulk.md +0 -24
- package/docs/ShoppingListCreate.md +0 -26
- package/docs/ShoppingListItemCreate.md +0 -48
- package/docs/ShoppingListItemOutInput.md +0 -58
- package/docs/ShoppingListItemOutOutput.md +0 -58
- package/docs/ShoppingListItemPagination.md +0 -32
- package/docs/ShoppingListItemRecipeRefCreate.md +0 -26
- package/docs/ShoppingListItemRecipeRefOut.md +0 -30
- package/docs/ShoppingListItemRecipeRefUpdate.md +0 -30
- package/docs/ShoppingListItemUpdate.md +0 -46
- package/docs/ShoppingListItemUpdateBulk.md +0 -49
- package/docs/ShoppingListItemUpdateRecipeReferencesInner.md +0 -30
- package/docs/ShoppingListItemsCollectionOut.md +0 -25
- package/docs/ShoppingListMultiPurposeLabelOut.md +0 -28
- package/docs/ShoppingListMultiPurposeLabelUpdate.md +0 -26
- package/docs/ShoppingListOut.md +0 -40
- package/docs/ShoppingListPagination.md +0 -32
- package/docs/ShoppingListRecipeRefOut.md +0 -28
- package/docs/ShoppingListRemoveRecipeParams.md +0 -20
- package/docs/ShoppingListSummary.md +0 -38
- package/docs/ShoppingListUpdate.md +0 -34
- package/docs/SuccessResponse.md +0 -22
- package/docs/SupportedMigrations.md +0 -26
- package/docs/TagBase.md +0 -26
- package/docs/TagIn.md +0 -20
- package/docs/TagOut.md +0 -26
- package/docs/TimelineEventImage.md +0 -10
- package/docs/TimelineEventType.md +0 -12
- package/docs/Unit.md +0 -42
- package/docs/Unit1.md +0 -42
- package/docs/UnlockResults.md +0 -20
- package/docs/UpdateCookBook.md +0 -36
- package/docs/UpdateGroupPreferences.md +0 -20
- package/docs/UpdateHouseholdAdmin.md +0 -26
- package/docs/UpdateHouseholdPreferences.md +0 -34
- package/docs/UpdateImageResponse.md +0 -20
- package/docs/UpdatePlanEntry.md +0 -34
- package/docs/UserIn.md +0 -46
- package/docs/UserOut.md +0 -56
- package/docs/UserPagination.md +0 -32
- package/docs/UserRatingOut.md +0 -28
- package/docs/UserRatingSummary.md +0 -24
- package/docs/UserRatingUpdate.md +0 -22
- package/docs/UserRatingsUserRatingOut.md +0 -20
- package/docs/UserRatingsUserRatingSummary.md +0 -20
- package/docs/UserSummary.md +0 -28
- package/docs/UsernameOrId.md +0 -18
- package/docs/UsersAuthenticationApi.md +0 -250
- package/docs/UsersCRUDApi.md +0 -334
- package/docs/UsersImagesApi.md +0 -66
- package/docs/UsersPasswordsApi.md +0 -118
- package/docs/UsersRatingsApi.md +0 -300
- package/docs/UsersRegistrationApi.md +0 -63
- package/docs/UsersTokensApi.md +0 -120
- package/docs/UtilsApi.md +0 -60
- package/docs/ValidationError.md +0 -24
- package/docs/ValidationErrorLocInner.md +0 -18
- package/docs/Value.md +0 -18
- package/docs/WebhookPagination.md +0 -32
- package/docs/WebhookType.md +0 -8
- package/index.ts +0 -18
- package/tsconfig.json +0 -21
|
@@ -1,521 +0,0 @@
|
|
|
1
|
-
# RecipeImagesAndAssetsApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**deleteRecipeImageApiRecipesSlugImageDelete**](#deleterecipeimageapirecipesslugimagedelete) | **DELETE** /api/recipes/{slug}/image | Delete Recipe Image|
|
|
8
|
-
|[**getRecipeAssetApiMediaRecipesRecipeIdAssetsFileNameGet**](#getrecipeassetapimediarecipesrecipeidassetsfilenameget) | **GET** /api/media/recipes/{recipe_id}/assets/{file_name} | Get Recipe Asset|
|
|
9
|
-
|[**getRecipeImgApiMediaRecipesRecipeIdImagesFileNameGet**](#getrecipeimgapimediarecipesrecipeidimagesfilenameget) | **GET** /api/media/recipes/{recipe_id}/images/{file_name} | Get Recipe Img|
|
|
10
|
-
|[**getRecipeTimelineEventImgApiMediaRecipesRecipeIdImagesTimelineTimelineEventIdFileNameGet**](#getrecipetimelineeventimgapimediarecipesrecipeidimagestimelinetimelineeventidfilenameget) | **GET** /api/media/recipes/{recipe_id}/images/timeline/{timeline_event_id}/{file_name} | Get Recipe Timeline Event Img|
|
|
11
|
-
|[**getUserImageApiMediaUsersUserIdFileNameGet**](#getuserimageapimediausersuseridfilenameget) | **GET** /api/media/users/{user_id}/{file_name} | Get User Image|
|
|
12
|
-
|[**getValidationTextApiMediaDockerValidateTxtGet**](#getvalidationtextapimediadockervalidatetxtget) | **GET** /api/media/docker/validate.txt | Get Validation Text|
|
|
13
|
-
|[**scrapeImageUrlApiRecipesSlugImagePost**](#scrapeimageurlapirecipesslugimagepost) | **POST** /api/recipes/{slug}/image | Scrape Image Url|
|
|
14
|
-
|[**updateRecipeImageApiRecipesSlugImagePut**](#updaterecipeimageapirecipesslugimageput) | **PUT** /api/recipes/{slug}/image | Update Recipe Image|
|
|
15
|
-
|[**uploadRecipeAssetApiRecipesSlugAssetsPost**](#uploadrecipeassetapirecipesslugassetspost) | **POST** /api/recipes/{slug}/assets | Upload Recipe Asset|
|
|
16
|
-
|
|
17
|
-
# **deleteRecipeImageApiRecipesSlugImageDelete**
|
|
18
|
-
> any deleteRecipeImageApiRecipesSlugImageDelete()
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Example
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import {
|
|
25
|
-
RecipeImagesAndAssetsApi,
|
|
26
|
-
Configuration
|
|
27
|
-
} from 'mealie-typescript';
|
|
28
|
-
|
|
29
|
-
const configuration = new Configuration();
|
|
30
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
31
|
-
|
|
32
|
-
let slug: string; // (default to undefined)
|
|
33
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
34
|
-
|
|
35
|
-
const { status, data } = await apiInstance.deleteRecipeImageApiRecipesSlugImageDelete(
|
|
36
|
-
slug,
|
|
37
|
-
acceptLanguage
|
|
38
|
-
);
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
### Parameters
|
|
42
|
-
|
|
43
|
-
|Name | Type | Description | Notes|
|
|
44
|
-
|------------- | ------------- | ------------- | -------------|
|
|
45
|
-
| **slug** | [**string**] | | defaults to undefined|
|
|
46
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
### Return type
|
|
50
|
-
|
|
51
|
-
**any**
|
|
52
|
-
|
|
53
|
-
### Authorization
|
|
54
|
-
|
|
55
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
56
|
-
|
|
57
|
-
### HTTP request headers
|
|
58
|
-
|
|
59
|
-
- **Content-Type**: Not defined
|
|
60
|
-
- **Accept**: application/json
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### HTTP response details
|
|
64
|
-
| Status code | Description | Response headers |
|
|
65
|
-
|-------------|-------------|------------------|
|
|
66
|
-
|**200** | Successful Response | - |
|
|
67
|
-
|**422** | Validation Error | - |
|
|
68
|
-
|
|
69
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
70
|
-
|
|
71
|
-
# **getRecipeAssetApiMediaRecipesRecipeIdAssetsFileNameGet**
|
|
72
|
-
> any getRecipeAssetApiMediaRecipesRecipeIdAssetsFileNameGet()
|
|
73
|
-
|
|
74
|
-
Returns a recipe asset
|
|
75
|
-
|
|
76
|
-
### Example
|
|
77
|
-
|
|
78
|
-
```typescript
|
|
79
|
-
import {
|
|
80
|
-
RecipeImagesAndAssetsApi,
|
|
81
|
-
Configuration
|
|
82
|
-
} from 'mealie-typescript';
|
|
83
|
-
|
|
84
|
-
const configuration = new Configuration();
|
|
85
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
86
|
-
|
|
87
|
-
let recipeId: string; // (default to undefined)
|
|
88
|
-
let fileName: string; // (default to undefined)
|
|
89
|
-
|
|
90
|
-
const { status, data } = await apiInstance.getRecipeAssetApiMediaRecipesRecipeIdAssetsFileNameGet(
|
|
91
|
-
recipeId,
|
|
92
|
-
fileName
|
|
93
|
-
);
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
### Parameters
|
|
97
|
-
|
|
98
|
-
|Name | Type | Description | Notes|
|
|
99
|
-
|------------- | ------------- | ------------- | -------------|
|
|
100
|
-
| **recipeId** | [**string**] | | defaults to undefined|
|
|
101
|
-
| **fileName** | [**string**] | | defaults to undefined|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
### Return type
|
|
105
|
-
|
|
106
|
-
**any**
|
|
107
|
-
|
|
108
|
-
### Authorization
|
|
109
|
-
|
|
110
|
-
No authorization required
|
|
111
|
-
|
|
112
|
-
### HTTP request headers
|
|
113
|
-
|
|
114
|
-
- **Content-Type**: Not defined
|
|
115
|
-
- **Accept**: application/json
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### HTTP response details
|
|
119
|
-
| Status code | Description | Response headers |
|
|
120
|
-
|-------------|-------------|------------------|
|
|
121
|
-
|**200** | Successful Response | - |
|
|
122
|
-
|**422** | Validation Error | - |
|
|
123
|
-
|
|
124
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
125
|
-
|
|
126
|
-
# **getRecipeImgApiMediaRecipesRecipeIdImagesFileNameGet**
|
|
127
|
-
> any getRecipeImgApiMediaRecipesRecipeIdImagesFileNameGet()
|
|
128
|
-
|
|
129
|
-
Takes in a recipe id, returns the static image. This route is proxied in the docker image and should not hit the API in production
|
|
130
|
-
|
|
131
|
-
### Example
|
|
132
|
-
|
|
133
|
-
```typescript
|
|
134
|
-
import {
|
|
135
|
-
RecipeImagesAndAssetsApi,
|
|
136
|
-
Configuration
|
|
137
|
-
} from 'mealie-typescript';
|
|
138
|
-
|
|
139
|
-
const configuration = new Configuration();
|
|
140
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
141
|
-
|
|
142
|
-
let recipeId: string; // (default to undefined)
|
|
143
|
-
let fileName: ImageType; // (default to undefined)
|
|
144
|
-
|
|
145
|
-
const { status, data } = await apiInstance.getRecipeImgApiMediaRecipesRecipeIdImagesFileNameGet(
|
|
146
|
-
recipeId,
|
|
147
|
-
fileName
|
|
148
|
-
);
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
### Parameters
|
|
152
|
-
|
|
153
|
-
|Name | Type | Description | Notes|
|
|
154
|
-
|------------- | ------------- | ------------- | -------------|
|
|
155
|
-
| **recipeId** | [**string**] | | defaults to undefined|
|
|
156
|
-
| **fileName** | **ImageType** | | defaults to undefined|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
### Return type
|
|
160
|
-
|
|
161
|
-
**any**
|
|
162
|
-
|
|
163
|
-
### Authorization
|
|
164
|
-
|
|
165
|
-
No authorization required
|
|
166
|
-
|
|
167
|
-
### HTTP request headers
|
|
168
|
-
|
|
169
|
-
- **Content-Type**: Not defined
|
|
170
|
-
- **Accept**: application/json
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
### HTTP response details
|
|
174
|
-
| Status code | Description | Response headers |
|
|
175
|
-
|-------------|-------------|------------------|
|
|
176
|
-
|**200** | Successful Response | - |
|
|
177
|
-
|**422** | Validation Error | - |
|
|
178
|
-
|
|
179
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
180
|
-
|
|
181
|
-
# **getRecipeTimelineEventImgApiMediaRecipesRecipeIdImagesTimelineTimelineEventIdFileNameGet**
|
|
182
|
-
> any getRecipeTimelineEventImgApiMediaRecipesRecipeIdImagesTimelineTimelineEventIdFileNameGet()
|
|
183
|
-
|
|
184
|
-
Takes in a recipe id and event timeline id, returns the static image. This route is proxied in the docker image and should not hit the API in production
|
|
185
|
-
|
|
186
|
-
### Example
|
|
187
|
-
|
|
188
|
-
```typescript
|
|
189
|
-
import {
|
|
190
|
-
RecipeImagesAndAssetsApi,
|
|
191
|
-
Configuration
|
|
192
|
-
} from 'mealie-typescript';
|
|
193
|
-
|
|
194
|
-
const configuration = new Configuration();
|
|
195
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
196
|
-
|
|
197
|
-
let recipeId: string; // (default to undefined)
|
|
198
|
-
let timelineEventId: string; // (default to undefined)
|
|
199
|
-
let fileName: ImageType; // (default to undefined)
|
|
200
|
-
|
|
201
|
-
const { status, data } = await apiInstance.getRecipeTimelineEventImgApiMediaRecipesRecipeIdImagesTimelineTimelineEventIdFileNameGet(
|
|
202
|
-
recipeId,
|
|
203
|
-
timelineEventId,
|
|
204
|
-
fileName
|
|
205
|
-
);
|
|
206
|
-
```
|
|
207
|
-
|
|
208
|
-
### Parameters
|
|
209
|
-
|
|
210
|
-
|Name | Type | Description | Notes|
|
|
211
|
-
|------------- | ------------- | ------------- | -------------|
|
|
212
|
-
| **recipeId** | [**string**] | | defaults to undefined|
|
|
213
|
-
| **timelineEventId** | [**string**] | | defaults to undefined|
|
|
214
|
-
| **fileName** | **ImageType** | | defaults to undefined|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
### Return type
|
|
218
|
-
|
|
219
|
-
**any**
|
|
220
|
-
|
|
221
|
-
### Authorization
|
|
222
|
-
|
|
223
|
-
No authorization required
|
|
224
|
-
|
|
225
|
-
### HTTP request headers
|
|
226
|
-
|
|
227
|
-
- **Content-Type**: Not defined
|
|
228
|
-
- **Accept**: application/json
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
### HTTP response details
|
|
232
|
-
| Status code | Description | Response headers |
|
|
233
|
-
|-------------|-------------|------------------|
|
|
234
|
-
|**200** | Successful Response | - |
|
|
235
|
-
|**422** | Validation Error | - |
|
|
236
|
-
|
|
237
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
238
|
-
|
|
239
|
-
# **getUserImageApiMediaUsersUserIdFileNameGet**
|
|
240
|
-
> getUserImageApiMediaUsersUserIdFileNameGet()
|
|
241
|
-
|
|
242
|
-
Takes in a recipe slug, returns the static image. This route is proxied in the docker image and should not hit the API in production
|
|
243
|
-
|
|
244
|
-
### Example
|
|
245
|
-
|
|
246
|
-
```typescript
|
|
247
|
-
import {
|
|
248
|
-
RecipeImagesAndAssetsApi,
|
|
249
|
-
Configuration
|
|
250
|
-
} from 'mealie-typescript';
|
|
251
|
-
|
|
252
|
-
const configuration = new Configuration();
|
|
253
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
254
|
-
|
|
255
|
-
let userId: string; // (default to undefined)
|
|
256
|
-
let fileName: string; // (default to undefined)
|
|
257
|
-
|
|
258
|
-
const { status, data } = await apiInstance.getUserImageApiMediaUsersUserIdFileNameGet(
|
|
259
|
-
userId,
|
|
260
|
-
fileName
|
|
261
|
-
);
|
|
262
|
-
```
|
|
263
|
-
|
|
264
|
-
### Parameters
|
|
265
|
-
|
|
266
|
-
|Name | Type | Description | Notes|
|
|
267
|
-
|------------- | ------------- | ------------- | -------------|
|
|
268
|
-
| **userId** | [**string**] | | defaults to undefined|
|
|
269
|
-
| **fileName** | [**string**] | | defaults to undefined|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
### Return type
|
|
273
|
-
|
|
274
|
-
void (empty response body)
|
|
275
|
-
|
|
276
|
-
### Authorization
|
|
277
|
-
|
|
278
|
-
No authorization required
|
|
279
|
-
|
|
280
|
-
### HTTP request headers
|
|
281
|
-
|
|
282
|
-
- **Content-Type**: Not defined
|
|
283
|
-
- **Accept**: application/json
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
### HTTP response details
|
|
287
|
-
| Status code | Description | Response headers |
|
|
288
|
-
|-------------|-------------|------------------|
|
|
289
|
-
|**200** | Successful Response | - |
|
|
290
|
-
|**422** | Validation Error | - |
|
|
291
|
-
|
|
292
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
293
|
-
|
|
294
|
-
# **getValidationTextApiMediaDockerValidateTxtGet**
|
|
295
|
-
> getValidationTextApiMediaDockerValidateTxtGet()
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
### Example
|
|
299
|
-
|
|
300
|
-
```typescript
|
|
301
|
-
import {
|
|
302
|
-
RecipeImagesAndAssetsApi,
|
|
303
|
-
Configuration
|
|
304
|
-
} from 'mealie-typescript';
|
|
305
|
-
|
|
306
|
-
const configuration = new Configuration();
|
|
307
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
308
|
-
|
|
309
|
-
const { status, data } = await apiInstance.getValidationTextApiMediaDockerValidateTxtGet();
|
|
310
|
-
```
|
|
311
|
-
|
|
312
|
-
### Parameters
|
|
313
|
-
This endpoint does not have any parameters.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
### Return type
|
|
317
|
-
|
|
318
|
-
void (empty response body)
|
|
319
|
-
|
|
320
|
-
### Authorization
|
|
321
|
-
|
|
322
|
-
No authorization required
|
|
323
|
-
|
|
324
|
-
### HTTP request headers
|
|
325
|
-
|
|
326
|
-
- **Content-Type**: Not defined
|
|
327
|
-
- **Accept**: Not defined
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
### HTTP response details
|
|
331
|
-
| Status code | Description | Response headers |
|
|
332
|
-
|-------------|-------------|------------------|
|
|
333
|
-
|**200** | Successful Response | - |
|
|
334
|
-
|
|
335
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
336
|
-
|
|
337
|
-
# **scrapeImageUrlApiRecipesSlugImagePost**
|
|
338
|
-
> any scrapeImageUrlApiRecipesSlugImagePost(scrapeRecipe)
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
### Example
|
|
342
|
-
|
|
343
|
-
```typescript
|
|
344
|
-
import {
|
|
345
|
-
RecipeImagesAndAssetsApi,
|
|
346
|
-
Configuration,
|
|
347
|
-
ScrapeRecipe
|
|
348
|
-
} from 'mealie-typescript';
|
|
349
|
-
|
|
350
|
-
const configuration = new Configuration();
|
|
351
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
352
|
-
|
|
353
|
-
let slug: string; // (default to undefined)
|
|
354
|
-
let scrapeRecipe: ScrapeRecipe; //
|
|
355
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
356
|
-
|
|
357
|
-
const { status, data } = await apiInstance.scrapeImageUrlApiRecipesSlugImagePost(
|
|
358
|
-
slug,
|
|
359
|
-
scrapeRecipe,
|
|
360
|
-
acceptLanguage
|
|
361
|
-
);
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
### Parameters
|
|
365
|
-
|
|
366
|
-
|Name | Type | Description | Notes|
|
|
367
|
-
|------------- | ------------- | ------------- | -------------|
|
|
368
|
-
| **scrapeRecipe** | **ScrapeRecipe**| | |
|
|
369
|
-
| **slug** | [**string**] | | defaults to undefined|
|
|
370
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
### Return type
|
|
374
|
-
|
|
375
|
-
**any**
|
|
376
|
-
|
|
377
|
-
### Authorization
|
|
378
|
-
|
|
379
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
380
|
-
|
|
381
|
-
### HTTP request headers
|
|
382
|
-
|
|
383
|
-
- **Content-Type**: application/json
|
|
384
|
-
- **Accept**: application/json
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
### HTTP response details
|
|
388
|
-
| Status code | Description | Response headers |
|
|
389
|
-
|-------------|-------------|------------------|
|
|
390
|
-
|**200** | Successful Response | - |
|
|
391
|
-
|**422** | Validation Error | - |
|
|
392
|
-
|
|
393
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
394
|
-
|
|
395
|
-
# **updateRecipeImageApiRecipesSlugImagePut**
|
|
396
|
-
> UpdateImageResponse updateRecipeImageApiRecipesSlugImagePut()
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
### Example
|
|
400
|
-
|
|
401
|
-
```typescript
|
|
402
|
-
import {
|
|
403
|
-
RecipeImagesAndAssetsApi,
|
|
404
|
-
Configuration
|
|
405
|
-
} from 'mealie-typescript';
|
|
406
|
-
|
|
407
|
-
const configuration = new Configuration();
|
|
408
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
409
|
-
|
|
410
|
-
let slug: string; // (default to undefined)
|
|
411
|
-
let image: File; // (default to undefined)
|
|
412
|
-
let extension: string; // (default to undefined)
|
|
413
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
414
|
-
|
|
415
|
-
const { status, data } = await apiInstance.updateRecipeImageApiRecipesSlugImagePut(
|
|
416
|
-
slug,
|
|
417
|
-
image,
|
|
418
|
-
extension,
|
|
419
|
-
acceptLanguage
|
|
420
|
-
);
|
|
421
|
-
```
|
|
422
|
-
|
|
423
|
-
### Parameters
|
|
424
|
-
|
|
425
|
-
|Name | Type | Description | Notes|
|
|
426
|
-
|------------- | ------------- | ------------- | -------------|
|
|
427
|
-
| **slug** | [**string**] | | defaults to undefined|
|
|
428
|
-
| **image** | [**File**] | | defaults to undefined|
|
|
429
|
-
| **extension** | [**string**] | | defaults to undefined|
|
|
430
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
### Return type
|
|
434
|
-
|
|
435
|
-
**UpdateImageResponse**
|
|
436
|
-
|
|
437
|
-
### Authorization
|
|
438
|
-
|
|
439
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
440
|
-
|
|
441
|
-
### HTTP request headers
|
|
442
|
-
|
|
443
|
-
- **Content-Type**: multipart/form-data
|
|
444
|
-
- **Accept**: application/json
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
### HTTP response details
|
|
448
|
-
| Status code | Description | Response headers |
|
|
449
|
-
|-------------|-------------|------------------|
|
|
450
|
-
|**200** | Successful Response | - |
|
|
451
|
-
|**422** | Validation Error | - |
|
|
452
|
-
|
|
453
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
454
|
-
|
|
455
|
-
# **uploadRecipeAssetApiRecipesSlugAssetsPost**
|
|
456
|
-
> RecipeAsset uploadRecipeAssetApiRecipesSlugAssetsPost()
|
|
457
|
-
|
|
458
|
-
Upload a file to store as a recipe asset
|
|
459
|
-
|
|
460
|
-
### Example
|
|
461
|
-
|
|
462
|
-
```typescript
|
|
463
|
-
import {
|
|
464
|
-
RecipeImagesAndAssetsApi,
|
|
465
|
-
Configuration
|
|
466
|
-
} from 'mealie-typescript';
|
|
467
|
-
|
|
468
|
-
const configuration = new Configuration();
|
|
469
|
-
const apiInstance = new RecipeImagesAndAssetsApi(configuration);
|
|
470
|
-
|
|
471
|
-
let slug: string; // (default to undefined)
|
|
472
|
-
let name: string; // (default to undefined)
|
|
473
|
-
let icon: string; // (default to undefined)
|
|
474
|
-
let extension: string; // (default to undefined)
|
|
475
|
-
let file: File; // (default to undefined)
|
|
476
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
477
|
-
|
|
478
|
-
const { status, data } = await apiInstance.uploadRecipeAssetApiRecipesSlugAssetsPost(
|
|
479
|
-
slug,
|
|
480
|
-
name,
|
|
481
|
-
icon,
|
|
482
|
-
extension,
|
|
483
|
-
file,
|
|
484
|
-
acceptLanguage
|
|
485
|
-
);
|
|
486
|
-
```
|
|
487
|
-
|
|
488
|
-
### Parameters
|
|
489
|
-
|
|
490
|
-
|Name | Type | Description | Notes|
|
|
491
|
-
|------------- | ------------- | ------------- | -------------|
|
|
492
|
-
| **slug** | [**string**] | | defaults to undefined|
|
|
493
|
-
| **name** | [**string**] | | defaults to undefined|
|
|
494
|
-
| **icon** | [**string**] | | defaults to undefined|
|
|
495
|
-
| **extension** | [**string**] | | defaults to undefined|
|
|
496
|
-
| **file** | [**File**] | | defaults to undefined|
|
|
497
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
### Return type
|
|
501
|
-
|
|
502
|
-
**RecipeAsset**
|
|
503
|
-
|
|
504
|
-
### Authorization
|
|
505
|
-
|
|
506
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
507
|
-
|
|
508
|
-
### HTTP request headers
|
|
509
|
-
|
|
510
|
-
- **Content-Type**: multipart/form-data
|
|
511
|
-
- **Accept**: application/json
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
### HTTP response details
|
|
515
|
-
| Status code | Description | Response headers |
|
|
516
|
-
|-------------|-------------|------------------|
|
|
517
|
-
|**200** | Successful Response | - |
|
|
518
|
-
|**422** | Validation Error | - |
|
|
519
|
-
|
|
520
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
521
|
-
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# RecipeIngredientInput
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**quantity** | **number** | | [optional] [default to undefined]
|
|
9
|
-
**unit** | [**Unit**](Unit.md) | | [optional] [default to undefined]
|
|
10
|
-
**food** | [**Food**](Food.md) | | [optional] [default to undefined]
|
|
11
|
-
**referencedRecipe** | [**RecipeInput**](RecipeInput.md) | | [optional] [default to undefined]
|
|
12
|
-
**note** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**display** | **string** | | [optional] [default to '']
|
|
14
|
-
**title** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**originalText** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**referenceId** | **string** | | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { RecipeIngredientInput } from 'mealie-typescript';
|
|
22
|
-
|
|
23
|
-
const instance: RecipeIngredientInput = {
|
|
24
|
-
quantity,
|
|
25
|
-
unit,
|
|
26
|
-
food,
|
|
27
|
-
referencedRecipe,
|
|
28
|
-
note,
|
|
29
|
-
display,
|
|
30
|
-
title,
|
|
31
|
-
originalText,
|
|
32
|
-
referenceId,
|
|
33
|
-
};
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# RecipeIngredientOutput
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**quantity** | **number** | | [optional] [default to undefined]
|
|
9
|
-
**unit** | [**Unit1**](Unit1.md) | | [optional] [default to undefined]
|
|
10
|
-
**food** | [**Food1**](Food1.md) | | [optional] [default to undefined]
|
|
11
|
-
**referencedRecipe** | [**RecipeOutput**](RecipeOutput.md) | | [optional] [default to undefined]
|
|
12
|
-
**note** | **string** | | [optional] [default to undefined]
|
|
13
|
-
**display** | **string** | | [optional] [default to '']
|
|
14
|
-
**title** | **string** | | [optional] [default to undefined]
|
|
15
|
-
**originalText** | **string** | | [optional] [default to undefined]
|
|
16
|
-
**referenceId** | **string** | | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { RecipeIngredientOutput } from 'mealie-typescript';
|
|
22
|
-
|
|
23
|
-
const instance: RecipeIngredientOutput = {
|
|
24
|
-
quantity,
|
|
25
|
-
unit,
|
|
26
|
-
food,
|
|
27
|
-
referencedRecipe,
|
|
28
|
-
note,
|
|
29
|
-
display,
|
|
30
|
-
title,
|
|
31
|
-
originalText,
|
|
32
|
-
referenceId,
|
|
33
|
-
};
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
# RecipeIngredientParserApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**parseIngredientApiParserIngredientPost**](#parseingredientapiparseringredientpost) | **POST** /api/parser/ingredient | Parse Ingredient|
|
|
8
|
-
|[**parseIngredientsApiParserIngredientsPost**](#parseingredientsapiparseringredientspost) | **POST** /api/parser/ingredients | Parse Ingredients|
|
|
9
|
-
|
|
10
|
-
# **parseIngredientApiParserIngredientPost**
|
|
11
|
-
> ParsedIngredient parseIngredientApiParserIngredientPost(ingredientRequest)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import {
|
|
18
|
-
RecipeIngredientParserApi,
|
|
19
|
-
Configuration,
|
|
20
|
-
IngredientRequest
|
|
21
|
-
} from 'mealie-typescript';
|
|
22
|
-
|
|
23
|
-
const configuration = new Configuration();
|
|
24
|
-
const apiInstance = new RecipeIngredientParserApi(configuration);
|
|
25
|
-
|
|
26
|
-
let ingredientRequest: IngredientRequest; //
|
|
27
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
28
|
-
|
|
29
|
-
const { status, data } = await apiInstance.parseIngredientApiParserIngredientPost(
|
|
30
|
-
ingredientRequest,
|
|
31
|
-
acceptLanguage
|
|
32
|
-
);
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Parameters
|
|
36
|
-
|
|
37
|
-
|Name | Type | Description | Notes|
|
|
38
|
-
|------------- | ------------- | ------------- | -------------|
|
|
39
|
-
| **ingredientRequest** | **IngredientRequest**| | |
|
|
40
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Return type
|
|
44
|
-
|
|
45
|
-
**ParsedIngredient**
|
|
46
|
-
|
|
47
|
-
### Authorization
|
|
48
|
-
|
|
49
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
50
|
-
|
|
51
|
-
### HTTP request headers
|
|
52
|
-
|
|
53
|
-
- **Content-Type**: application/json
|
|
54
|
-
- **Accept**: application/json
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
### HTTP response details
|
|
58
|
-
| Status code | Description | Response headers |
|
|
59
|
-
|-------------|-------------|------------------|
|
|
60
|
-
|**200** | Successful Response | - |
|
|
61
|
-
|**422** | Validation Error | - |
|
|
62
|
-
|
|
63
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
64
|
-
|
|
65
|
-
# **parseIngredientsApiParserIngredientsPost**
|
|
66
|
-
> Array<ParsedIngredient> parseIngredientsApiParserIngredientsPost(ingredientsRequest)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### Example
|
|
70
|
-
|
|
71
|
-
```typescript
|
|
72
|
-
import {
|
|
73
|
-
RecipeIngredientParserApi,
|
|
74
|
-
Configuration,
|
|
75
|
-
IngredientsRequest
|
|
76
|
-
} from 'mealie-typescript';
|
|
77
|
-
|
|
78
|
-
const configuration = new Configuration();
|
|
79
|
-
const apiInstance = new RecipeIngredientParserApi(configuration);
|
|
80
|
-
|
|
81
|
-
let ingredientsRequest: IngredientsRequest; //
|
|
82
|
-
let acceptLanguage: string; // (optional) (default to undefined)
|
|
83
|
-
|
|
84
|
-
const { status, data } = await apiInstance.parseIngredientsApiParserIngredientsPost(
|
|
85
|
-
ingredientsRequest,
|
|
86
|
-
acceptLanguage
|
|
87
|
-
);
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
### Parameters
|
|
91
|
-
|
|
92
|
-
|Name | Type | Description | Notes|
|
|
93
|
-
|------------- | ------------- | ------------- | -------------|
|
|
94
|
-
| **ingredientsRequest** | **IngredientsRequest**| | |
|
|
95
|
-
| **acceptLanguage** | [**string**] | | (optional) defaults to undefined|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
### Return type
|
|
99
|
-
|
|
100
|
-
**Array<ParsedIngredient>**
|
|
101
|
-
|
|
102
|
-
### Authorization
|
|
103
|
-
|
|
104
|
-
[OAuth2PasswordBearer](../README.md#OAuth2PasswordBearer)
|
|
105
|
-
|
|
106
|
-
### HTTP request headers
|
|
107
|
-
|
|
108
|
-
- **Content-Type**: application/json
|
|
109
|
-
- **Accept**: application/json
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
### HTTP response details
|
|
113
|
-
| Status code | Description | Response headers |
|
|
114
|
-
|-------------|-------------|------------------|
|
|
115
|
-
|**200** | Successful Response | - |
|
|
116
|
-
|**422** | Validation Error | - |
|
|
117
|
-
|
|
118
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
119
|
-
|