List credit roles
Roles by group. songwriting: true roles carry a share.
GET
/
delivery
/
reference
/
credit-roles
List credit roles
curl --request GET \
--url https://api.ammdistro.com/api/v2/external/delivery/reference/credit-roles \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ammdistro.com/api/v2/external/delivery/reference/credit-roles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ammdistro.com/api/v2/external/delivery/reference/credit-roles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"groups": [
{
"key": "key_artist",
"label": "<string>",
"roles": [
{
"name": "<string>",
"aliases": [
"<string>"
],
"songwriting": true
}
]
}
]
}⌘I
List credit roles
curl --request GET \
--url https://api.ammdistro.com/api/v2/external/delivery/reference/credit-roles \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ammdistro.com/api/v2/external/delivery/reference/credit-roles', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ammdistro.com/api/v2/external/delivery/reference/credit-roles"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"groups": [
{
"key": "key_artist",
"label": "<string>",
"roles": [
{
"name": "<string>",
"aliases": [
"<string>"
],
"songwriting": true
}
]
}
]
}