Get Tags
get/tags
Returns a list of tags. The properties that can be used as filter and sort criteria are:
- id,
- name,
- createdBy,
- creationTimeStamp,
- modifiedBy, and
- modifiedTimeStamp
The properties that can be used only as filter critiera are:
- members.resources.id
1{2 "version": 2,3 "accept": "application/vnd.sas.metadata.tag.summary",4 "count": 1,5 "start": 0,6 "limit": 10,7 "name": "tags",8 "items": [9 {10 "creationTimeStamp": "2021-04-13T00:00:00Z",11 "createdBy": "sasuser",12 "modifiedTimeStamp": "2021-04-13T00:00:00Z",13 "modifiedBy": "sasuser",14 "id": "a56ce67a-54e0-44e4-bce2-2398a8b27b2e",15 "links": [16 {17 "method": "GET",18 "rel": "self",19 "href": "/catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e",20 "uri": "/catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e",21 "type": "application/vnd.sas.metadata.tag"22 },23 {24 "method": "GET",25 "rel": "alternate",26 "href": "/catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e",27 "uri": "/catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e",28 "type": "application/vnd.sas.metadata.tag.summary"29 },30 {31 "method": "GET",32 "rel": "up",33 "href": "/catalog/tags",34 "uri": "/catalog/tags",35 "type": "application/vnd.sas.collection",36 "itemType": "application/vnd.sas.metadata.tag.summary"37 },38 {39 "method": "PUT",40 "rel": "update",41 "href": "/catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e",42 "uri": "/catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e",43 "type": "application/vnd.sas.metadata.tag",44 "responseType": "application/vnd.sas.metadata.tag"45 },46 {47 "method": "DELETE",48 "rel": "delete",49 "href": "/catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e",50 "uri": "/catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e"51 }52 ],53 "version": 1,54 "name": "Sales"55 }56 ],57 "links": [58 {59 "method": "GET",60 "rel": "self",61 "href": "/catalog/tags?start=0&limit=10&sortBy=name",62 "uri": "/catalog/tags?start=0&limit=10&sortBy=name",63 "type": "application/vnd.sas.collection",64 "itemType": "application/vnd.sas.metadata.tag.summary"65 },66 {67 "method": "GET",68 "rel": "collection",69 "href": "/catalog/tags",70 "uri": "/catalog/tags",71 "type": "application/vnd.sas.collection",72 "itemType": "application/vnd.sas.metadata.tag.summary"73 },74 {75 "method": "GET",76 "rel": "up",77 "href": "/catalog",78 "uri": "/catalog",79 "type": "application/vnd.sas.api"80 },81 {82 "method": "POST",83 "rel": "create",84 "href": "/catalog/tags",85 "uri": "/catalog/tags",86 "type": "application/vnd.sas.metadata.tag",87 "responseType": "application/vnd.sas.metadata.tag"88 }89 ]90}
Name | Type | Required | Description |
---|---|---|---|
filter | string<filter-criteria> | false | Filter criteria for returned objects. See Filtering in REST APIs. |
limit | integer | false | Maximum number of objects to return. Defaults to 10. |
memberFilter | string<filter-criteria> | false | Filter criteria for returned tag member objects. See Filtering in REST APIs. The entity instance properties that can be used as filter criteria are:
|
memberLimit | integer | false | Maximum number of tag member objects to return. Defaults to 10. Default: 10 |
sortBy | string<sort-criteria> | false | Sort returned objects. See Sorting in REST APIs. |
start | integer | false | 0-based Offset of first object to return. Defaults to 0. |
Name | Type | Required | Description |
---|---|---|---|
Accept | string | false | The desired representation for the response. Allowed values: application/vnd.sas.collection+jsonapplication/json Default: application/vnd.sas.collection+json |
Accept-Item | string | false | The desired item representation for collections. Allowed values: application/vnd.sas.metadata.tag.summary+jsonapplication/vnd.sas.metadata.tag+jsonapplication/json Default: application/vnd.sas.metadata.tag.summary+json |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | OK. | Headers | Schema |
400 | Bad Request | Bad request (the request is not well-formed). | Schema | |
401 | Unauthorized | Not authenticated. | Schema | |
403 | Forbidden | The user does not have permission to complete this request. | Schema | |
404 | Not Found | The Catalog service is not available. | Schema | |
406 | Not Acceptable | Not Acceptable. Include an Accept header with a supported value on the request. | Schema |