# $ARTSY_TOKEN contains a valid api token
$ curl "https://api.artsy.net/api/artworks?partner_id=52cc779febad64e73f000340" -H "X-XAPP-Token:${ARTSY_TOKEN}"
{
"total_count": null,
"_links": {
"self": {
"href": "https://api.artsy.net/api/artworks?partner_id=52cc779febad64e73f000340"
}
},
"_embedded": {
"artworks": []
}
}
I've also tried going in reverse and used the search endpoint to look up an artwork I know is associated with the partner.
For example:
{
"type": "artwork",
"title": "Daniel Gibson, Pathfinders (2019)",
"description": "Oil and charcoal on canvas, 30 × 40 × 2 in",
"og_type": "artwork",
"_links": {
"self": {
"href": "https://api.artsy.net/api/artworks/5ce9a55e24599b000dfb7084"
},
"permalink": {
"href": "https://www.artsy.net/artwork/5ce9a55e24599b000dfb7084"
},
"thumbnail": {
"href": "https://d32dm0rphc51dk.cloudfront.net/omvfk0Q_q2avyN2JmwxO1w/square.jpg"
}
}
}
$ curl "https://api.artsy.net/api/artworks/5ce9a55e24599b000dfb7084" -H "X-XAPP-Token:${ARTSY_TOKEN}"
{
"type": "other_error",
"message": "Artwork Not Found"
}
--
Find all info about the Artsy.net API at https://developers.artsy.net.
---
You received this message because you are subscribed to the Google Groups "Artsy API Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to artsy-api-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/artsy-api-developers/dba2091a-4731-46b0-95fe-2d54e9aa20a0%40googlegroups.com.