Get an artist
GET
/api/v1/artists/{artistId}Learn more about a specific Argentine Rock artist and their legacy.
Parameters
Path Parameters
artistId*
Typeinteger
RequiredExample
1
Responses
Artist Found
JSON
[
{
"id": 1,
"name": "1",
"description": "2",
"image": "3",
"band": "4"
},
"Charly García",
"One of the most influential rock musicians in Argentine history.",
"https://cdn.rock-legends.com/photos/charly.jpg",
"Sui Generis"
]
Samples
cURL
curl -X GET https://stoplight.io/mocks/enzonotario/argentine-rock/122547792/api/v1/artists/{artistId}
JavaScript
fetch("https://stoplight.io/mocks/enzonotario/argentine-rock/122547792/api/v1/artists/{artistId}")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("https://stoplight.io/mocks/enzonotario/argentine-rock/122547792/api/v1/artists/{artistId}");
Python
import requests
response = requests.get("https://stoplight.io/mocks/enzonotario/argentine-rock/122547792/api/v1/artists/{artistId}")
print(response.json())