Skip to content

โœ… [POST] interview start

Sunny Lee edited this page Sep 2, 2023 · 1 revision

[POST] /interview/start

๋ชจ์˜๋ฉด์ ‘์„ ์ƒ์„ฑํ•˜๋Š” API ์š”์ฒญ์ž…๋‹ˆ๋‹ค.


Request

request header

{
  "Authorization":"jwt token"
}

request body

{
  "categories": [
    "CATEGORY_NW",
    "CATEGORY_OS",
    "CATEGORY_DB",
  ]
}

Response

response body

{
    "interview_id": 15,
    "account": {
        "id": 1,
        "name": "abc",
        "email": "[email protected]"
    },
    "question": [
        {
            "question": 6,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 5,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 6,
                "title": "JWT ํ† ํฐ์— ๋Œ€ํ•ด ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 7,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 3,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 7,
                "title": "DNS๊ฐ€ ๋ฌด์—‡์ธ๊ฐ€์š”?",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 10,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 6,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 10,
                "title": "HTTP1, 2, 3์˜ ํŠน์ง•์„ ์ฐจ์ด์ ์— ์ง‘์ค‘ํ•ด์„œ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 11,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 4,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 11,
                "title": "CORS๋ž€ ๋ฌด์—‡์ด๋ฉฐ ์ด๊ฒƒ์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•ด๋ณด์„ธ์š”.",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 1,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 8,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 1,
                "title": "OSI 7๊ณ„์ธต์— ๋Œ€ํ•ด ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 9,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 10,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 9,
                "title": "3-way hand shake, 4-way hand shake ํ๋ฆ„์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 3,
            "interview": 6,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 16,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 3,
                "title": "์ฟ ํ‚ค(Cookie)์™€ ์„ธ์…˜(Session)์˜ ์ฐจ์ด์ ์— ๋Œ€ํ•ด ๋งํ•ด์ฃผ์„ธ์š”.",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 8,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 9,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 8,
                "title": "TCP ํ—ค๋”์— ๋Œ€ํ•ด์„œ ์„ค๋ช…ํ•ด ์ฃผ์„ธ์š”.",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 5,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 2,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 5,
                "title": "TCP์™€ UDP์˜ ์ฐจ์ด๋ฅผ ์„ค๋ช…ํ•ด์ฃผ์„ธ์š”.",
                "category": "CATEGORY_NW"
            }
        },
        {
            "question": 2,
            "interview": 5,
            "gpt_answer": null,
            "additional_answer_1": null,
            "additional_answer_2": null,
            "additional_answer_3": null,
            "id": 7,
            "answer": null,
            "additional_question_1": null,
            "additional_question_2": null,
            "additional_question_3": null,
            "question_model": {
                "id": 2,
                "title": "HTTP์™€ HTTPS์˜ ์ฐจ์ด์ ์€ ๋ฌด์—‡์ธ๊ฐ€์š”?",
                "category": "CATEGORY_NW"
            }
        }
    ]
}