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

Commit cfd2b60

Browse files
ACS-4118 Update api for tags creation
1 parent ddc565f commit cfd2b60

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,4 +385,12 @@ parameter are returned in addition to those specified in the **fields** paramete
385385
contentTypes, accepts , TagEntry);
386386
}
387387

388+
createTags(tags: TagBody[]): Promise<TagEntry[]> {
389+
return this.apiClient.post({
390+
path: '/tags',
391+
bodyParam: tags,
392+
contentTypes: ['application/json'],
393+
accepts: ['application/json']
394+
});
395+
}
388396
}

0 commit comments

Comments
 (0)