Create arrangement

Add a new arrangement to an existing song. The arrangement name must be unique within the song. Provide startKey and startMode to create the arrangement's initial key in the same call. Returns the id and name of the created arrangement.

Required permission: Full Write Songs

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the song

Body Params

The details of the arrangement

string | null
required

The name of the arrangement. Must be unique within the song.

meter
object | null

The time signature of the arrangement (e.g. 6/8). Provide either id or code when writing. Values come from /api/property_values/song_meters/values.

speed
object | null

The relative speed of the arrangement (e.g. Medium). Provide either id or code when writing. Values come from /api/property_values/song_speeds/values.

style
object | null

The musical style of the arrangement (e.g. Contemporary). Provide either id or code when writing. Values come from /api/property_values/song_styles/values.

int32

The minutes portion of the arrangement's length (0-255).

int32

The seconds portion of the arrangement's length (0-59).

int32 | null

The tempo of the arrangement in beats per minute.

sequence
object | null

The order of sections the arrangement is played in.

string | null

Notes about the arrangement.

startKey
object | null

The starting key of the arrangement's initial key, created along with the arrangement. Provide either id or code; values come from /api/property_values/song_keys/values. Only used when creating; manage keys through the key endpoints afterwards.

startMode
object | null

Whether the initial key starts major or minor. Provide either id or code (key_type_major or key_type_minor). Only used when creating, together with startKey.

endKey
object | null

The ending key of the arrangement's initial key, when it differs from the starting key. Provide either id or code; values come from /api/property_values/song_keys/values. Only used when creating.

endMode
object | null

Whether the initial key ends major or minor. Provide either id or code (key_type_major or key_type_minor). Only used when creating.

files
array of objects | null

Files and links attached to the arrangement. Writes replace the full list: files omitted from the list are removed.

files
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json