REST Resources
/api/space/tag-management/tags (v1)
The following operations are supported on this resource:
GET- Get all tags
(Deprecated) |
Version 1 |
This API returns a collection of tag objects accessible to a user. These tag objects contain basic tag information and a URI to tag the object to fetch more information. It also supports filtering, paging, and sorting on a name field.
Note: Filtering on the'type' field works only for the 'eq' operator.
.Sample Usage
GET /tags
- Accept Headers:
application/vnd.net.juniper.space.tag-management.tags+xml;version=1
application/vnd.net.juniper.space.tag-management.tags+json;version=1
<tags size="2" uri="/api/space/tag-management/tags">
<tag uri="/api/space/tag-management/tags/458765"
href="/api/space/tag-management/tags/458765">
<id>458765</id>
<name>Junos</name>
<type>private</type>
</tag>
<tag uri="/api/space/tag-management/tags/458766"
href="/api/space/tag-management/tags/458766">
<id>458766</id>
<name>Junos-tag</name>
<type>private</type>
<targets
uri="/api/space/tag-management/tags/458766/targets">
<target
type="vnd.net.juniper.space.user-management.user"
href="/api/space/user-management/users/1234"
uri="/api/space/tag-management/tags/458766/targets/458767"/>
</targets>
</tag>
</tags>
{
"tags":{
"@size":"2",
"@uri":"/api/space/tag-management/tags",
"tag": [
{
"@uri":
"/api/space/tag-management/tags/458765",
"@href":
"/api/space/tag-management/tags/458765",
"id":458765
,
"name":
"Junos",
"type":
"private"
},
{
"@uri":
"/api/space/tag-management/tags/458766",
"@href":
"/api/space/tag-management/tags/458766",
"id":458766
,
"name":
"Junos-tag",
"type":
"private",
"targets":
{
"@uri":"/api/space/tag-management/tags/458766/targets",
"target": {
"@type":"vnd.net.juniper.space.user-management.user",
"@href":"/api/space/user-management/users/1234",
"@uri":
"/api/space/tag-management/tags/458766/targets/458767"
}
}
}
]
}
}
Access Control
The following capabilities are required to access this API: DefaultRead
For the current version of this API, refer to :