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

Commit b9809fa

Browse files
ACS-4118 Allow to return tags for specified name
1 parent e692367 commit b9809fa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,8 @@ parameter are returned in addition to those specified in the **fields** paramete
257257
'skipCount': opts['skipCount'],
258258
'maxItems': opts['maxItems'],
259259
'fields': buildCollectionParam(opts['fields'], 'csv'),
260-
'include': buildCollectionParam(opts['include'], 'csv')
260+
'include': buildCollectionParam(opts['include'], 'csv'),
261+
where: opts?.name ? `(name='${opts.name}')` : undefined
261262
};
262263

263264
const headerParams = {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ List tags
235235
Gets a list of tags in this repository.
236236

237237
You can use the **include** parameter to return additional **values** information.
238+
You can also use **name** parameter to return tags only for specified name.
238239

239240

240241
### Example

0 commit comments

Comments
 (0)