Skip to main content

getRoomTagsInfo

StringArrayWrapper getRoomTagsInfo(count, startIndex, filterValue)

GET /api/2.0/files/tags

Get available room tags

Returns the custom room tags available to the caller as a flat array of names, not of objects. What the array holds depends on the account: a portal administrator gets the whole catalog, including tags that no room uses yet, while every other account gets only the tags attached to rooms it can see, with duplicates removed. An empty answer therefore means that this caller sees no tagged room, not that the portal has no tags. filterValue keeps the names that contain the given text, ignoring case, while count and startIndex page the result; no total is returned, so a page shorter than count is the signal that the list is exhausted. The names are exactly the values accepted by the tags filter of GET api/2.0/files/rooms and by the room tag calls, which makes this the call to fill a tag picker with. Add a tag with POST api/2.0/files/tags and check whether one is still in use with GET api/2.0/files/tags/{tagName}/haslinks.

Parameters​

NameInTypeDescriptionNotes
countqueryInteger (int32)How many tag names one page may carry. The answer reports no total, so a page shorter than this is the sign that the list is exhausted.[optional] [example: 25] [min: 1] [max: 100]
startIndexqueryInteger (int32)How many tag names to skip before the page begins. Raise it by the number of names already received to read the next page.[optional] [example: 0] [min: 0] [max: 2147483647]
filterValuequeryStringKeeps only the tag names that contain this text, ignoring case. It is a substring match, so a fragment from the middle of a name is enough.[optional] [example: conf]

Responses​

Status codeDescriptionTypeResponse headers
200The tag names available to the callerStringArrayWrapperX-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset
400A parameter has the wrong type, the count is outside its allowed range, or the startIndex is negative--
401UnauthorizedErrorApiResponse-
429Too Many Requests.ErrorApiResponseRetry-After
500Internal Server Error.ErrorApiResponse-
502Bad Gateway. Returned by the reverse proxy, response body may be HTML and not JSON.--
503Service Unavailable. Returned by the reverse proxy, response body may be HTML and not JSON.--

Return type​

StringArrayWrapper

Authorization​

Basic, OAuth2 (scopes: read, write), ApiKeyBearer, asc_auth_key, Bearer, OpenId

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json