Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET All Artists Tattoos #8

Closed
JackCSweeney opened this issue Apr 8, 2024 · 1 comment · Fixed by #41
Closed

GET All Artists Tattoos #8

JackCSweeney opened this issue Apr 8, 2024 · 1 comment · Fixed by #41
Assignees

Comments

@JackCSweeney
Copy link
Owner

JackCSweeney commented Apr 8, 2024

GET api/v0/artists/:id/tattoos
RETURNS all tattoos from specific artist

{ "data": [
           {
               "id": "322458",
               "attributes": {
                   "price": "300",
                   "time_estimate": "90",
                   "artist_id": "35446",
                   “image_url”: “image_url/link”
               }
           },
           {
               "id": "322474",
               "attributes": {
                   "price": "300",
                   "time_estimate": "90",
                   "artist_id": "35446",
                   “image_url”: “image_url/link”
               }
           },
           ...,
           ...,
       ]
   }
@JRIV-10
Copy link
Collaborator

JRIV-10 commented Apr 9, 2024

SAD PATH(s)
when an invalid artists id is put in it should display:

```  {
       "errors": [
           {
               "detail": "Couldn't find Market with 'id'=123123123123"
           }
       ]
   }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants