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 /paintings/:artistId #12

Closed
3 tasks
LinaYahya opened this issue Jun 17, 2020 · 0 comments
Closed
3 tasks

GET /paintings/:artistId #12

LinaYahya opened this issue Jun 17, 2020 · 0 comments
Assignees

Comments

@LinaYahya
Copy link
Collaborator

LinaYahya commented Jun 17, 2020

Relates #2

Route: GET api/v1/paintings/:artistId

get the artworks for specific artist by artist ID

Acceptance Criteria
  • Request
  • Response
  • Testing

Response

  • Success
{ statusCode:200 ,data : [{
id,
title,
description,
category,
property,
count_sold,
artisit_id,
}]  }

Testing

to be a successful test

  • status === 200
  • typeof(data) === "object"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants