)]}'
{"api-quick-start/source/api-quick-start.rst":[{"author":{"_account_id":2448,"name":"Diane Fleming","email":"dfleming@austin.rr.com","username":"diane-fleming"},"change_message_id":"068b98faf072214ae9a38c917e262fef8bd60023","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"For a typical OpenStack deployment that runs Identity, use the following cURL"},{"line_number":86,"context_line":"command to request a token with your tenantName and ID:"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":".. code::"},{"line_number":89,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"da85f559_5ae4643a","line":86,"updated":"2015-11-07 03:15:10.000000000","message":"to request a token. Specify your tenant name, and user name and password credentials.","commit_id":"7a7e865f96e1b05bf580f1136dfb6f34a4abc45f"},{"author":{"_account_id":2448,"name":"Diane Fleming","email":"dfleming@austin.rr.com","username":"diane-fleming"},"change_message_id":"068b98faf072214ae9a38c917e262fef8bd60023","unresolved":false,"context_lines":[{"line_number":93,"context_line":"                {\"username\": \"\u0027\"$OS_USERNAME\"\u0027\", \"password\": \"\u0027\"$OS_PASSWORD\"\u0027\"}}}\u0027 \\"},{"line_number":94,"context_line":"                | python -m json.tool"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"If the request succeeds, you receive a 200 OK response followed by a"},{"line_number":97,"context_line":"response body that contains a token in the form ``\"id\":\"token\"`` and an"},{"line_number":98,"context_line":"expiration date and time in the form ``\"expires\":\"datetime\"``."},{"line_number":99,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"da85f559_ba40f008","line":96,"updated":"2015-11-07 03:15:10.000000000","message":"If this is v3, the token ID is no longer returned in the response body - it\u0027s returned in a response header.","commit_id":"7a7e865f96e1b05bf580f1136dfb6f34a4abc45f"},{"author":{"_account_id":964,"name":"Anne Gentle","email":"annegentle@justwriteclick.com","username":"annegentle"},"change_message_id":"cbf6670198257efbdb1ccbd032d6db0efef48908","unresolved":false,"context_lines":[{"line_number":93,"context_line":"                {\"username\": \"\u0027\"$OS_USERNAME\"\u0027\", \"password\": \"\u0027\"$OS_PASSWORD\"\u0027\"}}}\u0027 \\"},{"line_number":94,"context_line":"                | python -m json.tool"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"If the request succeeds, you receive a 200 OK response followed by a"},{"line_number":97,"context_line":"response body that contains a token in the form ``\"id\":\"token\"`` and an"},{"line_number":98,"context_line":"expiration date and time in the form ``\"expires\":\"datetime\"``."},{"line_number":99,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"da85f559_7aec96c7","line":96,"in_reply_to":"da85f559_ba40f008","updated":"2015-11-09 15:35:55.000000000","message":"Looks like it\u0027s still v2.0.","commit_id":"7a7e865f96e1b05bf580f1136dfb6f34a4abc45f"},{"author":{"_account_id":2448,"name":"Diane Fleming","email":"dfleming@austin.rr.com","username":"diane-fleming"},"change_message_id":"068b98faf072214ae9a38c917e262fef8bd60023","unresolved":false,"context_lines":[{"line_number":99,"context_line":""},{"line_number":100,"context_line":".. note::"},{"line_number":101,"context_line":"   If you do not know your tenant name or ID, you can send an"},{"line_number":102,"context_line":"   authentication request with an empty tenantName, as follows:"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"    .. code::"},{"line_number":105,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"da85f559_7a4b682c","line":102,"updated":"2015-11-07 03:15:10.000000000","message":"If you do not know your tenant name, you can omit this value, as follows:","commit_id":"7a7e865f96e1b05bf580f1136dfb6f34a4abc45f"},{"author":{"_account_id":2448,"name":"Diane Fleming","email":"dfleming@austin.rr.com","username":"diane-fleming"},"change_message_id":"068b98faf072214ae9a38c917e262fef8bd60023","unresolved":false,"context_lines":[{"line_number":337,"context_line":"~~~~~~~~~~~~~~~~~"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"This section shows how to make some basic Compute API calls. For a"},{"line_number":340,"context_line":"complete list of Compute API v2.0 calls, see `Compute APIs and"},{"line_number":341,"context_line":"Extensions \u003chttp://developer.openstack.org/api-ref-compute-v2.html\u003e`__."},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"Once you have your token from the service catalog above, you can"}],"source_content_type":"text/x-rst","patch_set":3,"id":"da85f559_fa5d18ed","line":340,"updated":"2015-11-07 03:15:10.000000000","message":"should this be v2.1? This link no longer exists: http://developer.openstack.org/api-ref-compute-v2.html","commit_id":"7a7e865f96e1b05bf580f1136dfb6f34a4abc45f"},{"author":{"_account_id":964,"name":"Anne Gentle","email":"annegentle@justwriteclick.com","username":"annegentle"},"change_message_id":"cbf6670198257efbdb1ccbd032d6db0efef48908","unresolved":false,"context_lines":[{"line_number":337,"context_line":"~~~~~~~~~~~~~~~~~"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"This section shows how to make some basic Compute API calls. For a"},{"line_number":340,"context_line":"complete list of Compute API v2.0 calls, see `Compute APIs and"},{"line_number":341,"context_line":"Extensions \u003chttp://developer.openstack.org/api-ref-compute-v2.html\u003e`__."},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"Once you have your token from the service catalog above, you can"}],"source_content_type":"text/x-rst","patch_set":3,"id":"da85f559_1a278a13","line":340,"in_reply_to":"da85f559_fa5d18ed","updated":"2015-11-09 15:35:55.000000000","message":"For TryStack I still see v2 in the endpoint.\n\nDo we need to do redirects? I logged this bug, can you triage it? https://bugs.launchpad.net/openstack-api-site/+bug/1514213","commit_id":"7a7e865f96e1b05bf580f1136dfb6f34a4abc45f"},{"author":{"_account_id":2448,"name":"Diane Fleming","email":"dfleming@austin.rr.com","username":"diane-fleming"},"change_message_id":"068b98faf072214ae9a38c917e262fef8bd60023","unresolved":false,"context_lines":[{"line_number":352,"context_line":""},{"line_number":353,"context_line":".. code::"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    $ curl -s -H \"X-Auth-Token: $TOKEN\" http://128.136.179.2:8774/v2/$OS_TENANT/flavors | python -m json.tool"},{"line_number":356,"context_line":""},{"line_number":357,"context_line":".. code::"},{"line_number":358,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"da85f559_ba5790c9","line":355,"updated":"2015-11-07 03:15:10.000000000","message":"v2.1","commit_id":"7a7e865f96e1b05bf580f1136dfb6f34a4abc45f"},{"author":{"_account_id":964,"name":"Anne Gentle","email":"annegentle@justwriteclick.com","username":"annegentle"},"change_message_id":"cbf6670198257efbdb1ccbd032d6db0efef48908","unresolved":false,"context_lines":[{"line_number":352,"context_line":""},{"line_number":353,"context_line":".. code::"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    $ curl -s -H \"X-Auth-Token: $TOKEN\" http://128.136.179.2:8774/v2/$OS_TENANT/flavors | python -m json.tool"},{"line_number":356,"context_line":""},{"line_number":357,"context_line":".. code::"},{"line_number":358,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"da85f559_7a5fb672","line":355,"in_reply_to":"da85f559_ba5790c9","updated":"2015-11-09 15:35:55.000000000","message":"Right now I\u0027m getting an error from Trystack, that says \"URL\u0027s project_id \u0027nnnnnnn\u0027 doesn\u0027t match Context\u0027s project_id.\" I\u0027m troubleshooting, but I think Trystack still uses v2 for the endpoint.","commit_id":"7a7e865f96e1b05bf580f1136dfb6f34a4abc45f"},{"author":{"_account_id":2448,"name":"Diane Fleming","email":"dfleming@austin.rr.com","username":"diane-fleming"},"change_message_id":"3241ab08243efc58e832ec6d5ede88eac2e52df6","unresolved":false,"context_lines":[{"line_number":340,"context_line":"complete list of Compute API v2.0 calls, see `Compute APIs and"},{"line_number":341,"context_line":"Extensions \u003chttp://developer.openstack.org/api-ref-compute-v2.html\u003e`__."},{"line_number":342,"context_line":""},{"line_number":343,"context_line":"Once you have your token from the service catalog above, you can"},{"line_number":344,"context_line":"set it in an environment variable for the example below. Note"},{"line_number":345,"context_line":"that the token expires every 24 hours."},{"line_number":346,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"da85f559_327dcee7","line":343,"updated":"2015-11-09 17:56:33.000000000","message":"After you get your token from the response, set an environment variable to the token value. The token expires in 24 hours.","commit_id":"9b79b224960fb61d08284d23ed0aa2ef9834ae23"},{"author":{"_account_id":2448,"name":"Diane Fleming","email":"dfleming@austin.rr.com","username":"diane-fleming"},"change_message_id":"3cb4ecb0caa97cdf2f69cfedce3ecd3ab6931480","unresolved":false,"context_lines":[{"line_number":340,"context_line":"Extensions \u003chttp://developer.openstack.org/api-ref-compute-v2.html\u003e`__."},{"line_number":341,"context_line":""},{"line_number":342,"context_line":"After you have your token from the service catalog above,"},{"line_number":343,"context_line":"set an environment variable to the token value."},{"line_number":344,"context_line":"The token expires every 24 hours."},{"line_number":345,"context_line":""},{"line_number":346,"context_line":".. code::"}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_e728a6e4","line":343,"updated":"2015-11-10 18:45:23.000000000","message":"export the token value to the TOKEN environment variable.","commit_id":"a090634f73859ec42aab9170dac8b224359140f2"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"e3801bc0969f233655140d4d627b6ce0b26f6898","unresolved":false,"context_lines":[{"line_number":345,"context_line":""},{"line_number":346,"context_line":".. code::"},{"line_number":347,"context_line":""},{"line_number":348,"context_line":"    set TOKEN \u003d 4b57c7d386a7438b829d1a8922e0eaab"},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"Use the Compute API to list flavors, as follows:"},{"line_number":351,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_64bef466","line":348,"updated":"2015-11-10 18:25:06.000000000","message":"in a shell you would say just \"TOKEN\u003d4b...\" - without spaces. Where does the command above work?","commit_id":"a090634f73859ec42aab9170dac8b224359140f2"},{"author":{"_account_id":2448,"name":"Diane Fleming","email":"dfleming@austin.rr.com","username":"diane-fleming"},"change_message_id":"3cb4ecb0caa97cdf2f69cfedce3ecd3ab6931480","unresolved":false,"context_lines":[{"line_number":345,"context_line":""},{"line_number":346,"context_line":".. code::"},{"line_number":347,"context_line":""},{"line_number":348,"context_line":"    set TOKEN \u003d 4b57c7d386a7438b829d1a8922e0eaab"},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"Use the Compute API to list flavors, as follows:"},{"line_number":351,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"da85f559_87199ad9","line":348,"in_reply_to":"da85f559_64bef466","updated":"2015-11-10 18:45:23.000000000","message":"Yeah, I think this should be \n\nexport TOKEN\u003dxxxxxx\n\n(rather than set, if you\u0027re running this from a command line).","commit_id":"a090634f73859ec42aab9170dac8b224359140f2"}]}
