)]}'
{"README.rst":[{"author":{"_account_id":10526,"name":"Catherine Diep","email":"cdiep@us.ibm.com","username":"cdiep"},"change_message_id":"1bce2f3a1916baa139dcb6cbbd258a741e27ea51","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"       source .venv/bin/activate"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"4. Create a JSON web token to use for authentication"},{"line_number":60,"context_line":"   To generate a valid token::"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"       jwt --key\u003d\"$( cat %path to private key% )\" --alg\u003dRS256 user_openid\u003d%openstackid% exp\u003d+100500"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff346bd7_974046a7","line":59,"range":{"start_line":59,"start_character":3,"end_line":59,"end_character":52},"updated":"2017-07-26 16:43:07.000000000","message":"I think this is a more advance topic of using refstack-client to get access to private data at the RefStack server-side.  The flow thus far is about testing at the client-side.  I suggest to move this section after item 7.","commit_id":"d22395335bd3b7c27943d8c07de3ef2b8f393c30"},{"author":{"_account_id":10526,"name":"Catherine Diep","email":"cdiep@us.ibm.com","username":"cdiep"},"change_message_id":"1bce2f3a1916baa139dcb6cbbd258a741e27ea51","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   To test authentication in the API::"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"       curl -k --header \"Authorization: Bearer %token%\" https://localhost.org/v1/profile"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"5. Validate your setup by running a short test::"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff346bd7_f752f23a","line":66,"range":{"start_line":66,"start_character":55,"end_line":66,"end_character":56},"updated":"2017-07-26 16:43:07.000000000","message":"Missing http command (GET)?","commit_id":"d22395335bd3b7c27943d8c07de3ef2b8f393c30"},{"author":{"_account_id":10526,"name":"Catherine Diep","email":"cdiep@us.ibm.com","username":"cdiep"},"change_message_id":"271d725b3cecf1ac33af5e71696a41692c9eb5ca","unresolved":false,"context_lines":[{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   To test authentication in the API::"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"       curl -k --header \"Authorization: Bearer %token%\" https://localhost.org/v1/profile"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"5. Validate your setup by running a short test::"},{"line_number":69,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ff346bd7_3864e649","line":66,"range":{"start_line":66,"start_character":55,"end_line":66,"end_character":56},"in_reply_to":"ff346bd7_f752f23a","updated":"2017-07-26 18:57:33.000000000","message":"nvm \"GET\" is the default command.","commit_id":"d22395335bd3b7c27943d8c07de3ef2b8f393c30"},{"author":{"_account_id":10526,"name":"Catherine Diep","email":"cdiep@us.ibm.com","username":"cdiep"},"change_message_id":"5d6febca40cd90cb43ee62866314c6e09acd0a45","unresolved":false,"context_lines":[{"line_number":127,"context_line":"   signature can be found at"},{"line_number":128,"context_line":"   https://github.com/openstack/refstack/blob/master/doc/source/uploading_private_results.rst"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"7. Create a JSON web token to use for authentication to your uploaded data"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"   In order to authenticate to the refstack-server to which you have uploaded"},{"line_number":133,"context_line":"   your data, you will need to generate a JSON webtoken. To generate a valid"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df3967d1_7d5aa7f3","line":130,"range":{"start_line":130,"start_character":61,"end_line":130,"end_character":74},"updated":"2017-08-01 07:31:27.000000000","message":"Currently, data can be uploaded anonymously or privately. JWT token is only needed for accessing the private data.","commit_id":"534d5986739b23c38a936207207ac19af00b09a8"},{"author":{"_account_id":10526,"name":"Catherine Diep","email":"cdiep@us.ibm.com","username":"cdiep"},"change_message_id":"de7b9da1e42c100bff6bf4d097e778b3975a4889","unresolved":false,"context_lines":[{"line_number":127,"context_line":"   signature can be found at"},{"line_number":128,"context_line":"   https://github.com/openstack/refstack/blob/master/doc/source/uploading_private_results.rst"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"7. Create a JSON web token to use for authentication to your uploaded data"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"   In order to authenticate to the refstack-server to which you have uploaded"},{"line_number":133,"context_line":"   your data, you will need to generate a JSON webtoken. To generate a valid"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df3967d1_70d94555","line":130,"range":{"start_line":130,"start_character":61,"end_line":130,"end_character":74},"in_reply_to":"df3967d1_7d5aa7f3","updated":"2017-08-03 21:07:57.000000000","message":"\"uploaded data\" --\u003e \"privately uploaded data\"","commit_id":"534d5986739b23c38a936207207ac19af00b09a8"},{"author":{"_account_id":10526,"name":"Catherine Diep","email":"cdiep@us.ibm.com","username":"cdiep"},"change_message_id":"5d6febca40cd90cb43ee62866314c6e09acd0a45","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"   In order to authenticate to the refstack-server to which you have uploaded"},{"line_number":133,"context_line":"   your data, you will need to generate a JSON webtoken. To generate a valid"},{"line_number":134,"context_line":"   token in an environment that runs Python 3.4 or later, use the command::"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"       jwt --key\u003d\"$( cat %path to private key% )\" --alg\u003dRS256 user_openid\u003d%openstackid% exp\u003d+100500"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df3967d1_9d31cba5","line":134,"range":{"start_line":134,"start_character":37,"end_line":134,"end_character":47},"updated":"2017-08-01 07:31:27.000000000","message":"JWT works for my Python 2.7 environment too.  Noted that refstack-client default version is Python 2.7.","commit_id":"534d5986739b23c38a936207207ac19af00b09a8"},{"author":{"_account_id":24728,"name":"megan guiney","email":"meganmguiney@gmail.com","username":"mguiney"},"change_message_id":"ac0102b500dac5eb71cbdba564cb286e09cf2dc1","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"   In order to authenticate to the refstack-server to which you have uploaded"},{"line_number":133,"context_line":"   your data, you will need to generate a JSON webtoken. To generate a valid"},{"line_number":134,"context_line":"   token in an environment that runs Python 3.4 or later, use the command::"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"       jwt --key\u003d\"$( cat %path to private key% )\" --alg\u003dRS256 user_openid\u003d%openstackid% exp\u003d+100500"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df3967d1_cc3671e8","line":134,"range":{"start_line":134,"start_character":37,"end_line":134,"end_character":47},"in_reply_to":"df3967d1_9d31cba5","updated":"2017-08-01 17:17:52.000000000","message":"hm. It wasn\u0027t working for me, previously, which is why i added this as an alternative solution.","commit_id":"534d5986739b23c38a936207207ac19af00b09a8"},{"author":{"_account_id":10526,"name":"Catherine Diep","email":"cdiep@us.ibm.com","username":"cdiep"},"change_message_id":"de7b9da1e42c100bff6bf4d097e778b3975a4889","unresolved":false,"context_lines":[{"line_number":131,"context_line":""},{"line_number":132,"context_line":"   In order to authenticate to the refstack-server to which you have uploaded"},{"line_number":133,"context_line":"   your data, you will need to generate a JSON webtoken. To generate a valid"},{"line_number":134,"context_line":"   token in an environment that runs Python 3.4 or later, use the command::"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":"       jwt --key\u003d\"$( cat %path to private key% )\" --alg\u003dRS256 user_openid\u003d%openstackid% exp\u003d+100500"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df3967d1_10faf9bb","line":134,"range":{"start_line":134,"start_character":37,"end_line":134,"end_character":47},"in_reply_to":"df3967d1_cc3671e8","updated":"2017-08-03 21:07:57.000000000","message":"Retest and confirm that jwt works for my Python 2.7 environment.","commit_id":"534d5986739b23c38a936207207ac19af00b09a8"}]}
