Tag (Collection)


Get all tags
GET https://apis.wso2.com/api/am/store/v0.10/tags

This operation can be used to retrieve a list of tags that are already added to APIs.

OAuth 2.0 Scope

Not required

Request

GET https://127.0.0.1:9443/api/am/store/v0.10/tags

Response

HTTP/1.1 200 OK Content-Type: application/json { "previous": "", "list": [ { "weight": 1, "name": "mobile" }, { "weight": 1, "name": "multimedia" }, { "weight": 1, "name": "phone" } ], "count": 3, "next": "" }

Sample CURL

curl "https://127.0.0.1:9443/api/am/store/v0.10/tags"

Parameters

Type Name Description Schema Default
Query

limit

optional

Maximum size of resource array to return.

Integer

25

Query

offset

optional

Starting point within the complete list of items qualified.

Integer

0

Header

X-WSO2-Tenant

optional

For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from.

String

Header

Accept

optional

Media types acceptable for the response. Default is application/json.

String

application/json

Header

If-None-Match

optional

Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec.

String

Responses

HTTP Code Description Schema

200

OK. Tag list is returned.

TagList

304

Not Modified. Empty body because the client has already the latest version of the requested resource (Will be supported in future).

404

Not Found. Requested API does not exist.

Error

406

Not Acceptable. The requested media type is not supported

Error