Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 6ee3498

Browse files
committed
[ACS-4116]update of updateCategory endpoint.
1 parent f0c6e8e commit 6ee3498

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/api/content-rest-api/api/categories.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export class CategoriesApi extends BaseApi {
299299
const accepts = ['application/json'];
300300

301301
return this.apiClient.callApi(
302-
'/category/{categoryId}', 'PUT',
302+
'/categories/{categoryId}', 'PUT',
303303
pathParams, queryParams, headerParams, formParams, postBody,
304304
contentTypes, accepts , CategoryEntry);
305305
}

src/api/content-rest-api/docs/CategoriesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Method | HTTP request | Description
99
[**getCategoryLinksForNode**](CategoriesApi.md#getCategoryLinksForNode) | **GET** /nodes/{nodeId}/category-links | List of categories that node is assigned to
1010
[**deleteCategory**](CategoriesApi.md#deleteCategory) | **DELETE** /category/{categoryId} | Deletes the category
1111
[**unlinkNodeFromCategory**](CategoriesApi.md#unlinkNodeFromCategory) | **DELETE** /nodes/{nodeId}/category-links/{categoryId} | Unassign a node from category
12-
[**updateCategory**](CategoriesApi.md#updateCategory) | **PUT** /category/{categoryId} | Update a category
12+
[**updateCategory**](CategoriesApi.md#updateCategory) | **PUT** /categories/{categoryId} | Update a category
1313
[**createSubcategory**](CategoriesApi.md#createSubcategory) | **POST** /categories/{categoryId}/subcategories | Creates a category
1414
[**linkNodeToCategory**](CategoriesApi.md#linkNodeToCategory) | **POST** /nodes/{nodeId}/category-links | Assign a node to a category

0 commit comments

Comments
 (0)