REST Resources
/api/space/tag-management/customized-attribute-labels
The following operations are supported on this resource:
GET /customized-attribute-labels | Version 4 |
Get all customized attribute labels.
Sample Usage
GET /customized-attribute-labels
- Accept Headers:
application/vnd.net.juniper.space.tag-management.customized-attribute-labels+xml;version=4
application/vnd.net.juniper.space.tag-management.customized-attribute-labels+json;version=4
<customized-attribute-labels total="1" uri="/api/space/tag-management/customized-attribute-labels">
<customized-attribute-label
href="/api/space/tag-management/customized-attribute-labels/1184"
uri="/api/space/tag-management/customized-attribute-labels/1184">
<id>1184</id>
<promoted-column-index>0</promoted-column-index>
<customized-attribute-category
href="/api/space/tag-management/customized-attribute-categories/1181">
<id>1181</id>
</customized-attribute-category>
<name>Device Alias</name>
</customized-attribute-label>
</customized-attribute-labels>
{
"customized-attribute-labels" : {
"@uri" : "/api/space/tag-management/customized-attribute-labels" ,
"@total" : "1" ,
"customized-attribute-label" : {
"@href" : "/api/space/tag-management/customized-attribute-labels/1184"
,
"@uri" : "/api/space/tag-management/customized-attribute-labels/1184"
,
"id" : 1184 ,
"promoted-column-index" : "0" ,
"customized-attribute-category" : {
"@href" : "/api/space/tag-management/customized-attribute-categories/1181"
,
"id" : 1181
} ,
"name" : "Device Alias"
}
}
}
Access Control
The following capabilities are required to access this API: ManageLabelsCap
POST /customized-attribute-labels | Version 4 |
Create a new customized attribute label.
Sample Usage
POST /customized-attribute-labels
- Content-Type Headers:
application/vnd.net.juniper.space.tag-management.customized-attribute-label+xml;version=4;charset=UTF-8
application/vnd.net.juniper.space.tag-management.customized-attribute-label+json;version=4;charset=UTF-8 - Accept Headers:
application/vnd.net.juniper.space.tag-management.customized-attribute-label+xml;version=4
application/vnd.net.juniper.space.tag-management.customized-attribute-label+json;version=4
<customized-attribute-label>
<promoted-column-index>0</promoted-column-index>
<customized-attribute-category href="/api/space/tag-management/customized-attribute-categories/1181"/>
<name>sample</name>
</customized-attribute-label>
<customized-attribute-label
href="/api/space/tag-management/customized-attribute-labels/29393014" uri="/api/space/tag-management/customized-attribute-labels/29393014">
<id>29393014</id>
<promoted-column-index>-1</promoted-column-index>
<customized-attribute-category
href="/api/space/tag-management/customized-attribute-categories/1181">
<id>1181</id>
</customized-attribute-category>
<name>sample</name>
</customized-attribute-label>
{
"customized-attribute-label" : {
"promoted-column-index" : "0" ,
"customized-attribute-category" : {
"@href" :
"/api/space/tag-management/customized-attribute-categories/1181"
} ,
"name" : "sample"
}
}
{
"customized-attribute-label" : {
"@href" : "/api/space/tag-management/customized-attribute-labels/29393014"
,
"@uri" : "/api/space/tag-management/customized-attribute-labels/29393014" ,
"id" : 29393014 ,
"promoted-column-index" : "-1" ,
"customized-attribute-category" : {
"@href" :
"/api/space/tag-management/customized-attribute-categories/1181"
,
"id" : 1181
} ,
"name" : "sample"
}
}
Access Control
The following capabilities are required to access this API: AddManageLabelsCap