Skip to content

Instantly share code, notes, and snippets.

@jprovaznik
Created January 7, 2013 13:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jprovaznik/4474874 to your computer and use it in GitHub Desktop.
Save jprovaznik/4474874 to your computer and use it in GitHub Desktop.
[jprovazn@f17 src]$ curl -X GET --user admin:password --header "Accept: application/xml" --header "Content-Type: application/xml" -k http://localhost:3000/api
<api href='http://localhost:3000/api'>
<catalogs href='http://localhost:3000/api/catalogs'></catalogs>
<deployments href='http://localhost:3000/api/deployments'></deployments>
<pools href='http://localhost:3000/api/pools'></pools>
<pool_families href='http://localhost:3000/api/pool_families'></pool_families>
<providers href='http://localhost:3000/api/providers'></providers>
<provider_accounts href='http://localhost:3000/api/provider_accounts'></provider_accounts>
<provider_realms href='http://localhost:3000/api/provider_realms'></provider_realms>
<tim href='http://localhost:3000/api/tim'></tim>
</api>
[jprovazn@f17 src]$ curl -X GET --user admin:password --header "Accept: application/xml" --header "Content-Type: application/xml" -k http://localhost:3000/api/tim
<api href='http://localhost:3000/api/tim/'>
<templates href='http://localhost:3000/api/tim/templates'></templates>
<base_images href='http://localhost:3000/api/tim/base_images'></base_images>
<image_versions href='http://localhost:3000/api/tim/image_versions'></image_versions>
<target_images href='http://localhost:3000/api/tim/target_images'></target_images>
<provider_images href='http://localhost:3000/api/tim/provider_images'></provider_images>
</api>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment