Table Of Contents

Previous topic

Getting the date of a given page

Next topic

Score layout options

This Page

Score drawing and page formatting

Drawing a score and getting the corresponding image depends on optionnal layout and formatting parameters.
Path
ScoreID: an identifier previously retrived using the POST method
Response body
  • in case of success:
    an image of the score which format and mime/type depends on the optional formatting parameters.
  • in case of error:
    An error message formatted as JSON with ‘Error’ as key.
    Example: { "ScoreID" : {"Error" : "incorrect score ID."} }
Response code
  • 200 (“Success”)
  • 404 (“Not Found”) in case of incorrect score ID.

Example

Using jQuery:

$.get('http://guido.server.org/XXX/?page=2');