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

/lotteries/<lottery_id> [POST] -- 団体応募時人数過多の場合のエラー #1

Open
2 tasks
Cj-bc opened this issue Sep 8, 2018 · 1 comment
Open
2 tasks

Comments

@Cj-bc
Copy link
Member

Cj-bc commented Sep 8, 2018

対象: /lotteries/<lottery_id> [POST]

内容: 団体受付は4人が限度だが、その限度を超えた人数の応募があった際に返すエラー

決めること:

  • HTTP status code
  • error_message

決まってること:

  • errorコードは21です。これは、既存のエラーの最後部に付け足すからです。
@Cj-bc
Copy link
Member Author

Cj-bc commented Sep 8, 2018

私の案

  • HTTP status code: 400
  • error_message: group can't have more than 4 people

@Cj-bc Cj-bc changed the title /lotteries/<lottery_id>/apply -- 団体応募時人数過多の場合のエラー /lotteries/<lottery_id> [POST] -- 団体応募時人数過多の場合のエラー Sep 8, 2018
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

No branches or pull requests

1 participant