hammerlab / cycledash

Variant Caller Analysis Dashboard and Data Management System
Other
35 stars 2 forks source link

Update API docs with authentication information #809

Closed arahuja closed 9 years ago

arahuja commented 9 years ago

Using the API now requires authentication, but it's not clear how from the documentation

http http://cycledash.demeter.hpc.mssm.edu/api/projects --form
HTTP/1.1 401 UNAUTHORIZED
Connection: keep-alive
Content-Length: 51
Content-Type: application/json
Date: Tue, 11 Aug 2015 04:07:47 GMT
Server: nginx/1.0.15
Set-Cookie: session=eyJfaWQiOnsiIGIiOiJOR000TkdGak1UQTFabUppTldNeE1HVTBZemt3TjJWaU1EVmpNemN4WkdZPSJ9fQ.CKsGkw.iJNz-vA1qtatcPumwA7YB0yTb2A; HttpOnly; Path=/

{
    "message": "Correct username/password required."
}
ihodes commented 9 years ago

Definitely needs to be done. 

It's basic auth, your login username and password.

On Tue, Aug 11, 2015 at 12:08 PM, Arun Ahuja notifications@github.com wrote:

Using the API now requires authentication, but it's not clear how from the documentation

http http://cycledash.demeter.hpc.mssm.edu/api/projects --form
HTTP/1.1 401 UNAUTHORIZED
Connection: keep-alive
Content-Length: 51
Content-Type: application/json
Date: Tue, 11 Aug 2015 04:07:47 GMT
Server: nginx/1.0.15
Set-Cookie: session=eyJfaWQiOnsiIGIiOiJOR000TkdGak1UQTFabUppTldNeE1HVTBZemt3TjJWaU1EVmpNemN4WkdZPSJ9fQ.CKsGkw.iJNz-vA1qtatcPumwA7YB0yTb2A; HttpOnly; Path=/
{
    "message": "Correct username/password required."
}

Reply to this email directly or view it on GitHub: https://github.com/hammerlab/cycledash/issues/809