no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Last revision
api:api_applications_id_scores [2019/03/27 10:18] – created Anton Smirnov
Line 1: Line 1:
 +===== /api/applications/ID/scores =====
  
 +==== HEAD, GET ====
 +
 +Return scores list for the application
 +
 +==== Syntax ====
 +
 +  GET /api/applications/123/scores
 +  Host: apply.example.edu
 +  Authorization: DREAM apikey="..."
 +  
 +==== Response headers ====
 +
 +  Content-Type: application/json
 +  Content-Length: 1456
 +  X-Count: 15
 +
 +==== Response example ====
 +
 +<code javascript>
 +{
 +    "1": {
 +        "scored": "2019-03-05T14:57:36+00:00",
 +        "application": "/api/applications/123",
 +        "scoresheet": "/api/scoresheets/1",
 +        "points": "20.00",
 +        "comments": "One"
 +    },
 +    "5": {
 +        "scored": "2019-03-05T14:57:33+00:00",
 +        "application": "/api/applications/123",
 +        "scoresheet": "/api/scoresheets/2",        
 +        "points": "40.00",
 +        "comments": "Two"
 +    }
 +}
 +</code>