cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1103
Views
0
Helpful
2
Replies

ACI REST API

pn2020
Level 1
Level 1

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

2 Replies 2

Ruben Cocheno
Spotlight
Spotlight

@pn2020 

Has this been resolved? Do you still need help?

Tag me to follow up.
Please mark it as Helpful and/or Solution Accepted if that is the case. Thanks for making Engineering easy again.
Connect with me for more on Linkedin https://www.linkedin.com/in/rubencocheno/

Yes, it's resolved.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:


This community is intended for developer topics around Data Center technology and products. If you are looking for a non-developer topic about Data Center, you might find additional information in the Data Center and Cloud community