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

✨ [Feature] 지원하기 API #555

Closed
AYoungSn opened this issue Feb 14, 2024 · 2 comments
Closed

✨ [Feature] 지원하기 API #555

AYoungSn opened this issue Feb 14, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@AYoungSn
Copy link
Contributor

AYoungSn commented Feb 14, 2024

Description

  • 지원자가 지원
  • "지원자 슬랙/이메일 알림 동의" 해야만 지원 가능함

Request

URI

POST /recruitments/{recruit_id}/applications

Request Body

  • checkedList : 선택한 항목의 id 리스트
{
        forms: [ {
            questionsId: Number,
            inputType: enum, // TEXT, SINGLE_CHECK, MULTI_CHECK 등
            checkedList?: [(check list id) Number, Number, ...],  // CHECK일 경우
            answer?: String // TEXT일 경우 
            },
            ...
        ]
}

Response

Status Code

  • 201

기존 지원이 있는 경우 409 Conflict 가 적절한것 같아서 바꿨습니다.

@AYoungSn
Copy link
Contributor Author

현재 유저가 지원한 목록이 있으면 400 bad request

@AYoungSn AYoungSn moved this from Todo to In Progress in 📄 42GG RECRUIT API 문서 🏓 Mar 19, 2024
@AYoungSn
Copy link
Contributor Author

forms 로 변경!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant