You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(scores): `POST /v2/scores` has a new score builder to easily
create blank scores without the need of importing a MusicXML
file. Provide a list of instruments to use, and optionally
customize the time signature, key signature, enable TABs, Chord
grids as well as the page layout.
* feat(edu): `POST /v2/organizations/users` has support for roles.
* feat(edu): added new `shuffleExercises` option for worksheets.
* feat(edu): added new `exercisesIds` in students submissions.
Use this API method to **create a new music score in the current User account**. You will need a MusicXML 3 (`vnd.recordare.musicxml` or `vnd.recordare.musicxml+xml`), a MIDI (`audio/midi`), Guitar Pro (GP3, GP4, GP5, GPX, GP), PowerTab, TuxGuitar, or MuseScore file to create the new Flat document.
117
+
Use this API method to **create a new music score in the current User account**. This API endpoints provides 3 ways to create scores:
118
+
119
+
* `ScoreCreationBuilderData` : Create a blank score by providing the list of instruments to use. You can optionally customize the initial key signature, time signature, enable TABs, Chord grids, as well as the page layout.
120
+
* `ScoreCreationFileImport`: Import an existing MusicXML 3 file (`vnd.recordare.musicxml` or `vnd.recordare.musicxml+xml`), a MIDI file (`audio/midi`), Guitar Pro (GP3, GP4, GP5, GPX, GP), PowerTab, TuxGuitar, or MuseScore file to create the new Flat document.
121
+
* `ScoreCreationGoogleDriveImport`: Import an existing Google Drive file from the connected Google Drive account.
118
122
119
123
This API call will automatically create the first revision of the document, the score can be modified by the using our web application or by uploading a new revision of this file (`POST /v2/scores/{score}/revisions/{revision}`).
If the score is a file on Google Drive, this field property must contain its identifier. To use this method, the Drive file must be public or the Flat Drive App must have access to the file.
4403
4418
example:
4404
4419
googleDrive: 0B-0000000000000001
4405
-
ScoreCreation:
4420
+
ScoreCreationCommon:
4406
4421
required:
4407
4422
- privacy
4408
4423
type: object
@@ -4416,24 +4431,8 @@ components:
4416
4431
- Use the title contained in the file (e.g. [`movement-title`](https://usermanuals.musicxml.com/MusicXML/Content/EL-MusicXML-movement-title.htm) or [`credit-words`](https://usermanuals.musicxml.com/MusicXML/Content/EL-MusicXML-credit-words.htm) for [MusicXML](http://www.musicxml.com/) files).
4417
4432
- Use the name of the file for files from a specified `source` (e.g. Google Drive) or the one in the `filename` property
4418
4433
- Set a default title (e.g. "New Music Score")
4419
-
filename:
4420
-
type: string
4421
-
description: If this is an imported file, its filename
4422
4434
privacy:
4423
4435
$ref: '#/components/schemas/ScorePrivacy'
4424
-
data:
4425
-
type: string
4426
-
description: |
4427
-
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.
4428
-
Binary 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.
description: The optional encoding of the score data. This property must match the encoding used for the `data` property.
4433
-
enum:
4434
-
- base64
4435
-
source:
4436
-
$ref: '#/components/schemas/ScoreSource'
4437
4436
collection:
4438
4437
type: string
4439
4438
description: |
@@ -4443,12 +4442,159 @@ components:
4443
4442
type: string
4444
4443
description: |
4445
4444
If the user uses Google Drive and this properties is specified, the file will be created in this directory. The currently user creating the file must be granted to write in this directory.
description: If this is an imported file, its filename
4455
+
data:
4456
+
type: string
4457
+
description: |
4458
+
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.
4459
+
Binary 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.
4460
+
dataEncoding:
4461
+
type: string
4462
+
description: The optional encoding of the score data. This property must match the encoding used for the `data` property.
4463
+
enum:
4464
+
- base64
4465
+
description: A newly created score from an imported file
4466
+
example:
4467
+
title: My new score
4468
+
privacy: private
4469
+
data: <score-partwise version="3.0">...[Your actual file will be provided in this property]...</score-partwise>
0 commit comments