{"apiVersion":"5.1.1","swaggerVersion":"1.1","basePath":"https://api.composer.nprstations.org/v1","resourcePath":"/auth","apis":[{"path":"/auth/accesstoken","description":"Obtain an access token","operations":[{"parameters":[{"name":"body","description":"Token Request.","dataType":"tokenrequest","required":true,"allowMultiple":false,"paramType":"body"}],"httpMethod":"POST","notes":"Get an access token. This request must be signed using the consumer secret as described by the <a href='http://oauth.net/core/1.0/#signing_process'>OAuth standard</a>.","errorResponses":[{"code":404,"reason":"accesstoken not found"}],"nickname":"accesstoken","summary":"Authenicate","customFields":{"description":"Obtain an access token","path":"/auth/accesstoken","method":"POST","params":[{"name":"body","description":"Token Request.","dataType":"tokenrequest","required":true,"allowMultiple":false,"paramType":"body"}],"responseClass":"accesstoken","preliminaryCallbacks":[null,null],"requestSignature":"consumer"},"responseClass":"accesstoken"}]}],"models":{"tokenrequest":{"id":"tokenrequest","properties":{"username":{"type":"string","description":"Username","required":true},"password":{"type":"string","description":"Password","required":true}}},"accesstoken":{"id":"token","properties":{"tokenID":{"type":"string","description":"Access token","required":true},"secret":{"type":"string","description":"Access token secret","required":true}}}}}