Update a score by uploading a new revision for this one.
643 matches
79 actions
Flat
79 actions
- Activate the classPOSTv1.0.0
- Add a feedback comment to a submissionPOSTv1.0.0
- Add a new collaboratorPOSTv1.0.0
- Add a new video or audio track to the scorePOSTv1.0.0
- Add a score to the collectionPUTv1.0.0
- Add a user to the classPUTv1.0.0
- Archive the assignmentPOSTv1.0.0
- Archive the classPOSTv1.0.0
- Assignment creationPOSTv1.0.0
- Assignments listingGETv1.0.0
- Copy an assignmentPOSTv1.0.0
- Count the organization users using the provided filtersGETv1.0.0
- Create a new classPOSTv1.0.0
- Create a new collectionPOSTv1.0.0
- Create a new couple of LTI 1.x credentialsPOSTv1.0.0
- Create a new invitation to join the organizationPOSTv1.0.0
- Create a new revisionPOSTv1.0.0
- Create a new scorePOSTv1.0.0
- Create a new user accountPOSTv1.0.0
- Create or edit a submissionPUTv1.0.0
- Delete a collaboratorDELETEv1.0.0
- Delete a commentDELETEv1.0.0
- Delete a feedback comment to a submissionDELETEv1.0.0
- Delete a scoreDELETEv1.0.0
- Delete a score from the collectionDELETEv1.0.0
- Delete a submissionDELETEv1.0.0
- Delete the collectionDELETEv1.0.0
- Edit a score's metadataPUTv1.0.0
- Edit a submissionPUTv1.0.0
- Fork a scorePOSTv1.0.0
- Get a collaboratorGETv1.0.0
- Get a public user profileGETv1.0.0
- Get a score revisionGETv1.0.0
- Get a score revision dataGETv1.0.0
- Get a score's metadataGETv1.0.0
- Get a student submissionGETv1.0.0
- Get collection detailsGETv1.0.0
- Get current user profileGETv1.0.0
- Get group informationGETv1.0.0
- Get the details of a single classGETv1.0.0
- Get the history of the submissionGETv1.0.0
- Join a classPOSTv1.0.0
- List commentsGETv1.0.0
- List group's scoresGETv1.0.0
- List group's usersGETv1.0.0
- List liked scoresGETv1.0.0
- List LTI 1.x credentialsGETv1.0.0
- List submissions related to the scoreGETv1.0.0
- List the audio or video tracks linked to a scoreGETv1.0.0
- List the classes available for the current userGETv1.0.0
- List the collaboratorsGETv1.0.0
- List the collectionsGETv1.0.0
- List the feedback comments of a submissionGETv1.0.0
- List the organization invitationsGETv1.0.0
- List the organization usersGETv1.0.0
- List the revisionsGETv1.0.0
- List the scores contained in a collectionGETv1.0.0
- List the students' submissionsGETv1.0.0
- List the submissions for a studentGETv1.0.0
- List user's scoresGETv1.0.0
- Mark the comment as resolvedPUTv1.0.0
- Mark the comment as unresolvedDELETEv1.0.0
- Post a new commentPOSTv1.0.0
- Remove a user from the classDELETEv1.0.0
- Remove an account from FlatDELETEv1.0.0
- Remove an audio or video track linked to the scoreDELETEv1.0.0
- Remove an organization invitationDELETEv1.0.0
- Retrieve the details of an audio or video track linked to a scoreGETv1.0.0
- Revoke LTI 1.x credentialsDELETEv1.0.0
- Unarchive the assignment.DELETEv1.0.0
- Unarchive the classDELETEv1.0.0
- Untrash a collectionPOSTv1.0.0
- Untrash a scorePOSTv1.0.0
- Update a collection's metadataPUTv1.0.0
- Update a feedback comment to a submissionPUTv1.0.0
- Update account informationPUTv1.0.0
- Update an audio or video track linked to a scorePUTv1.0.0
- Update an existing commentPUTv1.0.0
- Update the classPUTv1.0.0
Other/Flat
Create a new revision
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
{
"type": "object",
"description": "A new created revision",
"required": [
"data"
],
"properties": {
"autosave": {
"type": "boolean",
"description": "Must be set to `true` if the revision was created automatically.\n"
},
"data": {
"type": "string",
"description": "The data of the score file. It must be a MusicXML 3 file (`vnd.recordare.musicxml` or `vnd.recordare.musicxml+xml`), a MIDI file (`audio/midi`) or a Flat.json (aka Adagio.json) file.\nBinary payloads (`vnd.recordare.musicxml` and `audio/midi`) can be encoded in Base64, in this case the `dataEncoding` property must match the encoding used for the API request.\n"
},
"dataEncoding": {
"type": "string",
"description": "The optional encoding of the score data. This property must match the encoding used for the `data` property.",
"enum": [
"base64"
]
},
"description": {
"type": "string",
"description": "A description associated to the revision"
}
}
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
{
"type": "object",
"description": "A score revision metadata",
"properties": {
"autosave": {
"type": "boolean",
"description": "True if this revision was automatically generated by Flat and not on\npurpose by the user.\n"
},
"collaborators": {
"type": "array",
"items": {
"type": "string",
"description": "The list of user identifier or collaborators who worked on this\nrevision. This is list is built from the history of the revision\nspecified during the creation of the revision.\n"
}
},
"creationDate": {
"type": "string",
"format": "date-time",
"description": "The date when this revision was created"
},
"description": {
"type": "string",
"description": "A description associated to the revision"
},
"event": {
"type": "string",
"description": "The last event (action id) of the revision"
},
"id": {
"type": "string",
"description": "The unique identifier of the revision."
},
"statistics": {
"type": "object",
"description": "The statistics related to the score revision (additions and deletions)\n",
"properties": {
"additions": {
"type": "number",
"description": "The number of additions operations in the last revision"
},
"deletions": {
"type": "number",
"description": "The number of deletions operations in the last revision"
}
}
},
"user": {
"type": "string",
"description": "The user identifier who created the revision"
}
}
}