cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
195
Views
0
Helpful
0
Replies
Highlighted
Beginner

ACI REST API

Hi, I have a question about ACI REST API.

 

I used the url below, in postman, to get the attributes of the Leaf Switch Policy Group - All_Leaf_Policy as an example:

 

https://{{apic}}/api/node/mo/uni/fabric/funcprof/lenodepgrp-All_Leaf_Policy.json?query-target=children

 

And I got the response back like below (only 2 attributes listed as example). It's not clear what object is for what attributes/fields (as listed in the ACI APIC, which are more descriptive, like
Monitoring Policy). My question is, is there an option that I can include in the url above to have the response list out the descriptive field names (like what is shown in the APIC GUI) as well?

{
"totalCount": "12",
"imdata": [
{
"fabricRsCallhomeInvPol": {
"attributes": {
"annotation": "",
"childAction": "",
"dn": "uni/fabric/funcprof/lenodepgrp-All_Leaf_Policy/rscallhomeInvPol",
"extMngdBy": "",
"forceResolve": "yes",
"lcOwn": "local",
"modTs": "2018-10-17T08:01:43.755-05:00",
"monPolDn": "uni/fabric/monfab-default",
"rType": "mo",
"state": "formed",
"stateQual": "default-target",
"status": "",
"tCl": "callhomeInvP",
"tContextDn": "",
"tDn": "uni/fabric/chinvp-default",
"tRn": "chinvp-default",
"tType": "name",
"tnCallhomeInvPName": "",
"uid": "0"
}
}
},
{
"fabricRsMonInstFabricPol": {
"attributes": {
"annotation": "",
"childAction": "",
"dn": "uni/fabric/funcprof/lenodepgrp-All_Leaf_Policy/rsmonInstFabricPol",
"extMngdBy": "",
"forceResolve": "yes",
"lcOwn": "local",
"modTs": "2018-10-17T08:01:43.755-05:00",
"monPolDn": "uni/fabric/monfab-default",
"rType": "mo",
"state": "formed",
"stateQual": "default-target",
"status": "",
"tCl": "monFabricPol",
"tContextDn": "",
"tDn": "uni/fabric/monfab-default",
"tRn": "monfab-default",
"tType": "name",
"tnMonFabricPolName": "",
"uid": "0"
}
}
},

 

msedge_THfORerj3K.png

0 REPLIES 0