POSThttps://api.elvanto.com/v1/songs/keys/edit.{json|xml|php}
Name | Type | Description |
---|---|---|
id Required | string | The UUID of the key to edit |
key_starting Required | string | The starting (main) key to be used for this Key. |
name | string | The name of the new Key |
key_ending | string | The ending key of this key, if a key change occurs |
keys_alternate | array | Array of Alternate (capo) key object. Each object must have a key attribute and may contain an optional name attribute |
{
"id": "cb90719c-b10f-412b-88f1-e035de01229e",
"name": "G Minor - Modern Take (Updated)",
"key_starting": "Gm",
"keys_alternate": [
{
"key": "Eb",
"name": "Bass Guitar"
}
]
}
id=cb90719c-b10f-412b-88f1-e035de01229e&name=G+Minor+-+Modern+Take+(Updated)&key_starting=Gm&keys_alternate[0][key]=Eb&keys_alternate[0][name]=Bass+Guitar
{
"generated_in": 0.05,
"status": "ok",
"key": {
"id": "cb90719c-b10f-412b-88f1-e035de01229e"
}
}
<?xml version="1.0" encoding="UTF-8"?> <rsp generated_in="0.05" status="ok"> <key id="cb90719c-b10f-412b-88f1-e035de01229e"/> </rsp>
stdClass Object
(
[generated_in] => 0.05
[status] => ok
[key] => stdClass Object
(
[id] => cb90719c-b10f-412b-88f1-e035de01229e
)
)
Please see our response status codes documentation for details of potential error responses for any API request.
key_starting
parameterkey_starting
value provided is invalid