Publishing scores

Choosing an input

Once you have created the score you want to publish, and stored it
appropriately on your server, you’re ready
to publish your score.

To publish a score call POST scores. Let’s say we have stored a Sibelius
file on our server (using sibelius.com as our example server):

1
2
3
4
5
POST /apis/avid.sibelius.publishing;version=2;realm=global/scores

{
"scoreUrl": "https://www.sibelius.com/my-great-score.sib"
}

Example response

Note the scoreUrl parameter above, which you should set to a publicly
accessible URL pointing to your score.

Here’s the response you’ll receive:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
HTTP/1.1 200 OK

{
"score": {
"publisher": {
"identity": { … }
},
"scoreUrl": "https://www.sibelius.com/my-great-score.sib",
"createdAt": "2016-10-26T04:28:41.130Z",
"status": "pending",
"updatedAt": "2016-10-26T04:53:15.682Z",
"id": "c96db2ba-1d1f-4aa2-82fb-a2cd1848097b"
}
}

Congratulations, you just published a score! At this point, your score will now
be submitted for rendering using the rendering service.

You can consult the Score object reference for more information on
what the different fields in the JSON document above mean.