-
-
Save ArcTanSusan/04a0006a267761b1393a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET v1/hosts | |
{ | |
"hosts": [ | |
{ | |
blah blah blah blah | |
blah blah blah blah | |
"uuid": "00000172-0017-0001-0010-000000000000", | |
"version": "4.3.42", | |
"frameworks": ["openstack", "spark"] | |
}, | |
] | |
} | |
GET v1/frameworks | |
{ | |
'openstack': { | |
'displayname': 'OpenStack', | |
'slug': 'openstack', | |
'endpoints': [ | |
{ | |
"description": "Horizon Dashboard", | |
"endpoint_type": "web", | |
"name": "openstack_dashboard", | |
"uri": "https://dashboard.example.com:443/" | |
}, | |
{ | |
"description": "Keystone Auth", | |
"endpoint_type": "other", | |
"name": "keystone_auth", | |
"uri": "https://keystone.example.com:5000/v2.0" | |
} | |
] | |
}, | |
} | |
GET v1/frameworks/openstack | |
returns taggable hosts for that framework in the same format as /v1/hosts | |
{ | |
"taggable_hosts": [ | |
{ | |
blah blah blah blah | |
blah blah blah blah | |
"uuid": "00000172-0017-0001-0010-000000000000", | |
"version": "4.3.42", | |
"frameworks": ["openstack", "spark"] | |
}, | |
] | |
} | |
POST v1/frameworks | |
POST v1/frameworks/test (for testing, doesn't make real changes) | |
{ | |
"00000172-0017-0001-0007-000000000000": { | |
"frameworks": ["openstack"] | |
}, | |
"00000172-0017-0001-0009-000000000000": { | |
"frameworks": ["openstack"] | |
} | |
} | |
#LOL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment