Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.17 KB

ScoreRevisionCreation.md

File metadata and controls

24 lines (18 loc) · 1.17 KB

FlatApi::ScoreRevisionCreation

Properties

Name Type Description Notes
data String 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. 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.
data_encoding String The optional encoding of the score data. This property must match the encoding used for the `data` property. [optional]
autosave Boolean Must be set to `true` if the revision was created automatically. [optional]
description String A description associated to the revision [optional]

Example

require 'flat_api'

instance = FlatApi::ScoreRevisionCreation.new(
  data: <score-partwise version="3.0"></score-partwise>,
  data_encoding: null,
  autosave: null,
  description: null
)