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 #13

Closed
2 tasks done
AlaaSaadeddin opened this issue Jun 17, 2020 · 0 comments
Closed
2 tasks done

GET /paintings #13

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

Comments

@AlaaSaadeddin
Copy link
Collaborator

Route: GET api/v1/paintings

Acceptance Criteria
  • Response
  • Testing

Response

  • Success
{ statusCode:200,
 data: [{
          id,
          title,
          description,
          category,
          property,
          countSold,
          artistsId
        }] }
  • Failed
{statusCode:400, message:" Bad Request"}

Testing

to be a successful test

  • status === 200
  • typeof(data) === "array"
  • data.length !== 0
@ranasobeid95 ranasobeid95 added this to To do in Backend(API) Jun 17, 2020
@ranasobeid95 ranasobeid95 moved this from To do to In progress in Backend(API) Jun 18, 2020
Backend(API) automation moved this from In progress to Done Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Backend(API)
  
Done
Development

No branches or pull requests

3 participants