-
-
Save dan1/fadcfd9e7ce61f23c0c2 to your computer and use it in GitHub Desktop.
domain admin needs to pass domain_id
This file contains 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
ubuntu@ubuntu:~$ curl -s -H "X-Auth-Token: de960a1006864f53b9fcdbe01613e209" http://192.168.85.125:5000/v3/projects?domain_id=fa163563484c40fcafaf365e7ef45a22 | python -mjson.tool | |
{ | |
"links": { | |
"next": null, | |
"previous": null, | |
"self": "http://192.168.85.125:5000/v3/projects?domain_id=fa163563484c40fcafaf365e7ef45a22" | |
}, | |
"projects": [ | |
{ | |
"description": "discount shopping rocks!", | |
"domain_id": "fa163563484c40fcafaf365e7ef45a22", | |
"enabled": true, | |
"id": "b6dd069070b84230a399c73a195f6109", | |
"links": { | |
"self": "http://192.168.85.125:5000/v3/projects/b6dd069070b84230a399c73a195f6109" | |
}, | |
"name": "BigK", | |
"parent_id": null | |
}, | |
{ | |
"description": "", | |
"domain_id": "fa163563484c40fcafaf365e7ef45a22", | |
"enabled": true, | |
"id": "747621592a20456283e7b7b0c9b2cbd8", | |
"links": { | |
"self": "http://192.168.85.125:5000/v3/projects/747621592a20456283e7b7b0c9b2cbd8" | |
}, | |
"name": "deli-department", | |
"parent_id": null | |
}, | |
{ | |
"description": "", | |
"domain_id": "fa163563484c40fcafaf365e7ef45a22", | |
"enabled": true, | |
"id": "74fb92e7b24846c496ab2e547cf4c837", | |
"links": { | |
"self": "http://192.168.85.125:5000/v3/projects/74fb92e7b24846c496ab2e547cf4c837" | |
}, | |
"name": "donkey", | |
"parent_id": null | |
}, | |
{ | |
"description": "", | |
"domain_id": "fa163563484c40fcafaf365e7ef45a22", | |
"enabled": true, | |
"id": "5d16e29299cf4078811f9c90cc9eabb2", | |
"links": { | |
"self": "http://192.168.85.125:5000/v3/projects/5d16e29299cf4078811f9c90cc9eabb2" | |
}, | |
"name": "grocery", | |
"parent_id": null | |
}, | |
{ | |
"description": "dan", | |
"domain_id": "fa163563484c40fcafaf365e7ef45a22", | |
"enabled": true, | |
"id": "d1617d881dec4a358d0d66b1dcee9b76", | |
"links": { | |
"self": "http://192.168.85.125:5000/v3/projects/d1617d881dec4a358d0d66b1dcee9b76" | |
}, | |
"name": "test 3", | |
"parent_id": null | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment