Skip to content

API docs

Seolhui Lee edited this page Mar 17, 2023 · 13 revisions

๐Ÿ“š ์ฝœ๋ผ๋ณด, ์‰์–ด ๊ด€๋ จ API

์ด๋ฒคํŠธ ์ „์ฒด ์กฐํšŒ & ํ•„ํ„ฐ๋ง ์กฐํšŒ

  • URL

    /api/v1/events

  • Method

    GET

  • Query String

Parameter Description Required or Optional Default Value Type
location ์ง€์—ญ์ด๋ฆ„ ex)์„œ์šธ, ๋ถ€์‚ฐ, ๊ด‘์ฃผ Optional X String
type ์ฝœ๋ผ๋ณด or ์‰์–ด Optional X String
page 0๋ถ€ํ„ฐ ์‹œ์ž‘ Optional O Integer
size ํŽ˜์ด์ง€๋„ค์ด์…˜ ์‚ฌ์ด์ฆˆ Optional 20 Integer
  • Success Response:
    • Code: 200
    • Response Body:
{ //๋ฐ์ดํ„ฐ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ
    "status": 200,
    "message": "์ด๋ฒคํŠธ ์กฐํšŒ ์„ฑ๊ณต",
    "data": {
        "content": [
            {
                "id": 38,
                "title": "์ €ํฌ ํŒ€๊ณผ ํ•จ๊ป˜ํ•ด์š”!",
                "location": "๋ถ€์‚ฐ",
                "type": "์ฝœ๋ผ๋ณด",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "deadline": "2023-02-15T19:03:45",
                "createdAt": "2023-03-17T11:47:49.216031",
                "profile": {
                    "id": 13,
                    "name": "1MILLION",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            },
            {
                "id": 36,
                "title": "3์›” 15์ผ ํ•จ๊ป˜ ์ฝœ๋ผ๋ณด ํ•˜์‹ค๋ถ„~",
                "location": "์„œ์šธ",
                "type": "์ฝœ๋ผ๋ณด",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "deadline": "2023-03-15T15:00:00",
                "createdAt": "2023-03-04T07:20:20.256283",
                "profile": {
                    "id": 67,
                    "name": "์†์ง„์˜์ด",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            },
            {
                "id": 24,
                "title": "์ถค์— ๋Œ€ํ•œ ์ง€์‹์„ ๊ณต์œ ํ•˜๊ณ  ์‹ถ์Šต๋‹ˆ๋‹ค.",
                "location": "์ œ์ฃผ",
                "type": "์‰์–ด",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "deadline": "2023-03-07T15:00:00",
                "createdAt": "2023-03-04T03:08:36.18009",
                "profile": {
                    "id": 13,
                    "name": "1MILLION",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            }
        ],
        "numberOfElements": 3,
        "offset": 0,
        "pageNumber": 0,
        "pageSize": 15,
        "totalElements": 3,
        "totalPages": 1
    }
}            
{ // ๋ฐ์ดํ„ฐ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ 
      "status": 200,
      "message": "์ด๋ฒคํŠธ ์กฐํšŒ ์„ฑ๊ณต",
      "content": [],
      "offset": 0,       
      "pageNumber": 0,
      "pageSize": 200,
      "totalPages": 1,
      "totalElements": 5,
      "numberOfElements": 5                   
}

์ด๋ฒคํŠธ ๊ธ€ ๋“ฑ๋ก

  • URL

    /api/v1/events

  • Method

    POST

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Request

    content-Type : application/json

{			
      "title": "์ €ํฌ ํŒ€๊ณผ ํ•จ๊ป˜ํ•ด์š”!", 
      "location": "๋ถ€์‚ฐ", 
      "type": "์ฝœ๋ผ๋ณด", 
      "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg", 
      "recruitType": "๋Œ„์ŠคํŒ€",  
      "description":"์ƒ์„ธ์ •๋ณด", 
      "recruitCount": 4 ,
      "deadline": "2023-02-15T19:03:45"
}
  • Success Response:
    • Code: 201
    • Response Body:
{
    "status": 201,
    "message": "์ด๋ฒคํŠธ ๋“ฑ๋ก ์„ฑ๊ณต",
    "data": {
        "id": 38,
        "profile": {
            "id": 13,
            "name": "1MILLION",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
        },
        "type": "์ฝœ๋ผ๋ณด",
        "title": "์ €ํฌ ํŒ€๊ณผ ํ•จ๊ป˜ํ•ด์š”!",
        "recruitType": "๋Œ„์ŠคํŒ€",
        "recruitCount": 4,
        "deadline": "2023-02-15T19:03:45",
        "location": "๋ถ€์‚ฐ",
        "description": "์ƒ์„ธ์ •๋ณด",
        "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
        "applied": false
    }
}

์ด๋ฒคํŠธ ๊ธ€ ์ˆ˜์ •

  • URL

    /api/v1/events

  • Method

    PATCH

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Request

    content-Type : application/json

{			
      "id": "์ด๋ฒคํŠธ ๊ธ€ Id", 
      "title": "์ €ํฌ ํŒ€๊ณผ ํ•จ๊ป˜ํ•ด์š”!", 
      "location": "๋ถ€์‚ฐ", 
      "type": "์ฝœ๋ผ๋ณด", 
      "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg", 
      "recruitType": "๋Œ„์ŠคํŒ€",  
      "description":"์ƒ์„ธ์ •๋ณด", 
      "recruitCount": 4 ,
      "deadline": "2023-02-15T19:03:45"
}
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ด๋ฒคํŠธ ์ˆ˜์ • ์„ฑ๊ณต",
    "data": {
        "id": 38,
        "profile": {
            "id": 13,
            "name": "1MILLION",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
        },
        "type": "์ฝœ๋ผ๋ณด",
        "title": "์šฐ๋ฆฌ ํŒ€์— ์˜ฌ๋ž˜?",
        "recruitType": "๋Œ„์ŠคํŒ€",
        "recruitCount": 4,
        "deadline": "2023-02-15T19:03:45",
        "location": "๋ถ€์‚ฐ",
        "description": "์ƒ์„ธ์ •๋ณด",
        "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
        "applied": false
    }
}

์ด๋ฒคํŠธ ๊ธ€ ์กฐํšŒ

  • URL

    /api/v1/events/{eventId}

  • Method

    GET

  • Path Variable

Parameter Description Required or Optional Default Value Type
eventId ์ด๋ฒคํŠธ ๊ธ€์˜ ๊ณ ์œ Id Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ด๋ฒคํŠธ ์ƒ์„ธ ์กฐํšŒ ์„ฑ๊ณต",
    "data": {
        "id": 38,
        "profile": {
            "id": 13,
            "name": "1MILLION",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
        },
        "type": "์ฝœ๋ผ๋ณด",
        "title": "์šฐ๋ฆฌ ํŒ€์— ์˜ฌ๋ž˜?",
        "recruitType": "๋Œ„์ŠคํŒ€",
        "recruitCount": 4,
        "deadline": "2023-02-15T19:03:45",
        "location": "๋ถ€์‚ฐ",
        "description": "์ƒ์„ธ์ •๋ณด",
        "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
        "applied": false
    }
}

์ด๋ฒคํŠธ ๊ธ€ ์‚ญ์ œ

  • URL

    /api/v1/events/{eventId}

  • Method

    DELETE

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Path Variable
Parameter Description Required or Optional Default Value Type
eventId ์ด๋ฒคํŠธ ๊ธ€์˜ ๊ณ ์œ Id Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ด๋ฒคํŠธ ์‚ญ์ œ ์„ฑ๊ณต"
}

์ด๋ฒคํŠธ ์กฐ๊ธฐ ๋งˆ๊ฐ

  • URL

    /api/v1/events/deadline

  • Method

    PATCH

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Request

    content-Type : application/json

{			
      "eventId": "์ด๋ฒคํŠธ ๊ธ€ Id", 
}
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "ํ•ด๋‹น ์ด๋ฒคํŠธ๋ฅผ ์กฐ๊ธฐ ๋งˆ๊ฐํ•˜์˜€์Šต๋‹ˆ๋‹ค."
}

๐Ÿ“š ์ฝœ๋ผ๋ณด, ์‰์–ด ๋งค์นญ ๊ด€๋ จ API

์ด๋ฒคํŠธ ์ง€์›

  • URL

    /api/v1/events/apply

  • Method

    POST

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Request

    content-Type : application/json

{					
    "eventId": 40
}
  • Success Response:
    • Code: 201
    • Response Body:
{
    "status": 200,
    "message": "์ด๋ฒคํŠธ ๋งค์นญ ์„ฑ๊ณต"
}

์ด๋ฒคํŠธ ์ง€์› ์ทจ์†Œ

  • URL

    /api/v1/events/{eventId}/cancel-apply

  • Method

    DELETE

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Path Variable
Parameter Description Required or Optional Default Value Type
eventId ์ด๋ฒคํŠธ ๊ธ€์˜ ๊ณ ์œ Id Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ด๋ฒคํŠธ ์‹ ์ฒญ ์ทจ์†Œ ์„ฑ๊ณต"
}

์ด๋ฒคํŠธ ์‹ ์ฒญ์ž ๋ฆฌ์ŠคํŠธ ์กฐํšŒ

  • URL

    /api/v1/events/{eventId}/applicants

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 201
    • Response Body:
{
    "status": 200,
    "message": "์‹ ์ฒญ์ž ๋ฆฌ์ŠคํŠธ ์กฐํšŒ ์„ฑ๊ณต",
    "data": [
        {
            "profile": {
                "id": 13,
                "name": "1MILLION",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "description": "์ €๋Š” ์ถค์„ ์‚ฌ๋ž‘ํ•˜๋ฉฐ, ์ œ ์ธ์ƒ์˜ ๋™๋ฐ˜์ž์ž…๋‹ˆ๋‹ค.\n\n๋ˆ„๊ตฌ๋‚˜ ์ฆ๊ธธ ์ˆ˜ ์žˆ๋Š” ์Œ์•… ์œ„์— ์ถค์ถ”๋Š”๊ฑธ ์ข‹์•„ํ•ฉ๋‹ˆ๋‹ค.",
                "openChatUrl": "https://open.kakao.com/o/dsfsa232",
                "location": "๋ถ€์‚ฐ"
            },
            "matched": false
        },
        {
            "profile": {
                "id": 2,
                "name": "๋ฌด์ง€๊ฐœ๊ณ ์–‘์ด",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "description": "์–ด์„œ์™€๋ƒฅ! ์šฐ๋ฆฌ ๋ฌด์ง€๊ฐœ ๊ณ ์–‘์ด ํŒ€์„ ์†Œ๊ฐœํ• ๊ฒŒ๋ƒฅ!\n\n์šฐ๋ฆฌ ํŒ€์€ ์ „ํ†ต์žˆ๋Š” ์ŠคํŠธ๋ฆฟ ๋Œ„์ŠคํŒ€์œผ๋กœ์„œ, ์šฐ๋ฆฌ ๋ฉค๋ฒ„๋“ค์€ ๋‹ค์–‘ํ•œ ์Šคํƒ€์ผ์˜ ๋Œ„์Šค๋ฅผ ์ถค์ถ”๋Š” ์ „๋ฌธ๊ฐ€๋“ค์ด๋‹ค๋ƒฅ. ์šฐ๋ฆฌ๋Š” ๋Œ„์Šค๋ฅผ ํ†ตํ•ด ๋‹ค์–‘ํ•œ ๊ฐ์ •๊ณผ ๋ฉ”์‹œ์ง€๋ฅผ ์ „๋‹ฌํ•˜๋ฉฐ, ๊ด€๊ฐ๋“ค์„ ๋งค๋ฃŒ์‹œํ‚ค๋Š” ๊ฒƒ์„ ๋ชฉํ‘œ๋กœ ๋…ธ๋ ฅํ•˜๊ณ  ์žˆ๋‹ค๋ƒฅ! \n\n์šฐ๋ฆฌ ํŒ€์˜ ํŠน์ง•์€ ๊ณ ์–‘์ด๋“ค๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ๋‹ค๋Š” ๊ฒƒ์ด๋‹ค๋ƒฅ. ์šฐ๋ฆฌ ๊ณ ์–‘์ด ๋ฉค๋ฒ„๋“ค์€ ์šฐ์•„ํ•˜๋ฉด์„œ๋„ ๊ฒฝ์พŒํ•œ ์ถค์„ ์ถ”๋ฉฐ, ๊ด€๊ฐ๋“ค์˜ ๋ˆˆ๊ธธ์„ ๋Œ์–ด๋‚ด๊ณ  ์žˆ๋‹ค๋ƒฅ.",
                "openChatUrl": "https://open.kakao.com/o/gv6J6O7e",
                "location": "๋ถ€์‚ฐ"
            },
            "matched": true
        }
    ]
}

์ด๋ฒคํŠธ ์ง€์›์ž ์š”์ฒญ ์ˆ˜๋ฝ

  • URL

    /api/v1/events/{eventId}/accept

  • Method

    PATCH

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Path Variable
Parameter Description Required or Optional Default Value Type
eventId ์ด๋ฒคํŠธ ๊ธ€์˜ ๊ณ ์œ Id Required X String
  • Request

    content-Type : application/json

Parameter Description Required or Optional Default Value Type
memberId ์ง€์›์ž์˜ ๋ฉค๋ฒ„ ๊ณ ์œ  Id Required X Integer
{
    "memberId" :13
}
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์‹ ์ฒญ์ž ์ˆ˜๋ฝ ์„ฑ๊ณต"
}

๐Ÿ“š ๊ณต์—ฐ ๊ด€๋ จ API

๊ณต์—ฐ ์ „์ฒด ์กฐํšŒ

  • URL

    /api/v1/performances

  • Method

    GET

  • Success Response:

    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "๊ณต์—ฐ ์กฐํšŒ ์„ฑ๊ณต",
    "data": {
        "content": [
            {
                "id": 1006,
                "title": "์ถค์ถ”๋Š” ๋„์‹œ, ์ธ์ฒœ",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-03-09T01:35:39",
                "genres": [
                    "๊ธฐํƒ€",
                    "์ŠคํŠธ๋ฆฟ๋Œ„์Šค",
                    "๋ฝํ‚น"
                ],
                "location": "์ธ์ฒœ",
                "profile": {
                    "id": 1003,
                    "name": "DORIS",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            },
            {
                "id": 1005,
                "title": "๋Œ„์Šค์ปฌ: ์‚ฌ๋ž‘ํ•˜๋ฉด ์ถค์„ ์ถฐ๋ผ",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-03-08T01:29:53",
                "genres": [
                    "ํž™ํ•ฉ",
                    "ํŒํ•€",
                    "๋ธŒ๋ ˆ์ดํ‚น"
                ],
                "location": "๋Œ€๊ตฌ",
                "profile": {
                    "id": 1002,
                    "name": "SSAMBA",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            },
            {
                "id": 1003,
                "title": "๋‹ค์‹œ ๋Œ์•„์˜จ ์ €์ŠคํŠธ์ ˆํฌ; ์Šค๋งจํŒŒ ๋„์ „ ๊ทธ ์ดํ›„",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-03-06T01:11:13",
                "genres": [
                    "ํž™ํ•ฉ"
                ],
                "location": "๋ถ€์‚ฐ",
                "profile": {
                    "id": 1006,
                    "name": "ํ”„๋ผ์šฐ๋“œ๋จผ",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            },
            {
                "id": 1002,
                "title": "ํ›…์˜ ์ฒซ ๋‹จ๋… ๊ณต์—ฐ",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-03-04T16:04:05",
                "genres": [
                    "์ŠคํŠธ๋ฆฟ๋Œ„์Šค",
                    "๋ฝํ‚น"
                ],
                "location": "์„œ์šธ",
                "profile": {
                    "id": 1005,
                    "name": "ํ›…",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            },
            {
                "id": 1001,
                "title": "Beenzino The Tour : with Rachica",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-03-01T00:59:31",
                "genres": [
                    "ํž™ํ•ฉ"
                ],
                "location": "๋ถ€์‚ฐ",
                "profile": {
                    "id": 1004,
                    "name": "๋ผ์น˜์นด",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            }
        ],
        "numberOfElements": 5,
        "offset": 0,
        "pageNumber": 0,
        "pageSize": 15,
        "totalElements": 5,
        "totalPages": 1
    }
}           
{ // ๋ฐ์ดํ„ฐ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ 
      "status": 200,
      "message": "์ด๋ฒคํŠธ ์กฐํšŒ ์„ฑ๊ณต",
      "content": [],
      "offset": 0,       
      "pageNumber": 0,
      "pageSize": 200,
      "totalPages": 1,
      "totalElements": 5,
      "numberOfElements": 5                   
}

๊ณต์—ฐ ๊ธ€ ๋“ฑ๋ก

  • URL

    /api/v1/performances

  • Method

    POST

  • Request

    content-Type : application/json

Parameter Description Required or Optional Default Value Type
Header parameter authorization Required X String
{
    "title": "๊ณต์—ฐ์ œ๋ชฉ", 
    "location": "๊ณต์—ฐ์ง€์—ญ", 
    "address" : "๊ณต์—ฐ ์ƒ์„ธ ์ฃผ์†Œ",
    "startDate": "2023-02-15", 
    "startTime" : "2023-02-15T19:03:45", 
    "genres": ["๊ฑธ์Šคํž™ํ•ฉ", "ํŒํ•€", "์™ํ‚น"],
    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
    "description": "๊ณต์—ฐ์ƒ์„ธ์„ค๋ช…"
}
  • Success Response:
    • Code: 201
    • Response Body:
{
    "status": 201,
    "message": "๊ณต์—ฐ ๋“ฑ๋ก ์„ฑ๊ณต",
    "data": {
        "id": 36,
        "title": "๊ณต์—ฐ์ œ๋ชฉ",
        "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
        "startDate": "2023-02-15",
        "startTime": "2023-02-15T19:03:45",
        "location": "๊ณต์—ฐ์ง€์—ญ",
        "genres": [
            "๊ฑธ์Šคํž™ํ•ฉ",
            "ํŒํ•€",
            "์™ํ‚น"
        ],
        "description": "๊ณต์—ฐ์ƒ์„ธ์„ค๋ช…",
        "address": "๊ณต์—ฐ ์ƒ์„ธ ์ฃผ์†Œ",
        "profile": {
            "id": 13,
            "name": "1MILLION",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
        }
    }
}

๊ณต์—ฐ ๊ธ€ ์ˆ˜์ •

  • URL

    /api/v1/events

  • Method

    PATCH

  • Request

    content-Type : application/json

Parameter Description Required or Optional Default Value Type
Header parameter authorization Required X String
 {
	"id": "๊ณต์—ฐ ๊ธ€ Id",
	"title": "๊ณต์—ฐ์ œ๋ชฉ", 
	"imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg", 
	"startDate": "2023-02-15", 
	"startTime" : "2023-02-15T19:03:45", 
	"location": "๊ณต์—ฐ์ง€์—ญ", 
	"genres": ["๋ฐœ๋ ˆ", "ํž™ํ•ฉ"],
	"description": "๊ณต์—ฐ์ƒ์„ธ์„ค๋ช…", 
	"address" : "๊ณต์—ฐ ์ƒ์„ธ ์ฃผ์†Œ"
}
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "๊ณต์—ฐ ์ˆ˜์ • ์„ฑ๊ณต",
    "data": {
        "id": 36,
        "title": "๊ณต์—ฐ์ œ๋ชฉ",
        "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
        "startDate": "2023-02-15",
        "startTime": "2023-02-15T19:03:45",
        "location": "๊ณต์—ฐ์ง€์—ญ",
        "genres": [
             "๋ฐœ๋ ˆ" ,
             "ํž™ํ•ฉ"
         ],
        "description": "๊ณต์—ฐ์ƒ์„ธ์„ค๋ช…",
        "address": "๊ณต์—ฐ ์ƒ์„ธ ์ฃผ์†Œ",
        "profile": {
            "id": 13,
            "name": "1MILLION",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
        }
    }
}

๊ณต์—ฐ ๊ธ€ ์กฐํšŒ

  • URL

    /api/v1/events/{performId}

  • Method

    GET

  • Path Variable

Parameter Description Required or Optional Default Value Type
performId ๊ณต์—ฐ ๊ธ€์˜ ๊ณ ์œ Id Required X integer
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "๊ณต์—ฐ ์ƒ์„ธ์กฐํšŒ ์„ฑ๊ณต",
    "data": {
        "id": 36,
        "title": "๊ณต์—ฐ์ œ๋ชฉ",
        "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
        "startDate": "2023-02-15",
        "startTime": "2023-02-15T19:03:45",
        "location": "๊ณต์—ฐ์ง€์—ญ",
        "genres": [
            "ํž™ํ•ฉ",
            "๋ฐœ๋ ˆ"
        ],
        "description": "๊ณต์—ฐ์ƒ์„ธ์„ค๋ช…",
        "address": "๊ณต์—ฐ ์ƒ์„ธ ์ฃผ์†Œ",
        "profile": {
            "id": 13,
            "name": "1MILLION",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
        }
    }
}

๊ณต์—ฐ ๊ธ€ ์‚ญ์ œ

  • URL

    /api/v1/events/{performId}

  • Method

    DELETE

  • Path Variable

Parameter Description Required or Optional Default Value Type
performId ๊ณต์—ฐ ๊ธ€์˜ ๊ณ ์œ Id Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "๊ณต์—ฐ ์‚ญ์ œ ์„ฑ๊ณต"
}

๊ณต์—ฐ ๊ธ€ ์‚ญ์ œ

  • URL

    /api/v1/performances/{performId}

  • Method

    DELETE

  • Path Variable

Parameter Description Required or Optional Default Value Type
performId ๊ณต์—ฐ ๊ธ€์˜ ๊ณ ์œ Id Required X Integer
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "๊ณต์—ฐ ์‚ญ์ œ ์„ฑ๊ณต"
}

๊ณต์—ฐ ํŒ€ ์ด๋ฆ„ ๊ฒ€์ƒ‰

  • URL

    /api/v1/performances

  • Method

    GET

  • Query String

Parameter Description Required or Optional Default Value Type
team ๊ณต์—ฐ ์ฃผ์ตœ์ž ์ด๋ฆ„ ex)'ํŒ€1' ๊ฒ€์ƒ‰, 'ํŒ€1'์ด ์ฃผ์ตœ์ž์ธ ๊ณต์—ฐ ์ •๋ณด๊ฐ€ ๋‚˜์˜ต๋‹ˆ๋‹ค. Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "ํŒ€ ์ด๋ฆ„์œผ๋กœ ๊ณต์—ฐ ์กฐํšŒ ์„ฑ๊ณต",
    "data": {
        "comming": [
            {
                "id": 33,
                "title": "3์›” 24์ผ ํ™๋Œ€์—์„œ ๊ณต์—ฐํ•ฉ๋‹ˆ๋‹ค",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-03-24T00:29:00",
                "genres": [
                    "์ปค๋ฒ„๋Œ„์Šค",
                    "ํž™ํ•ฉ"
                ],
                "location": "์„œ์šธ",
                "profile": {
                    "id": 13,
                    "name": "1MILLION",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            },
            {
                "id": 34,
                "title": "3์›” 23์ผ๋‚  ๊ณต์—ฐํ•ฉ๋‹ˆ๋‹ค",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-03-23T00:00:00",
                "genres": [
                    "ํž™ํ•ฉ"
                ],
                "location": "๋ถ€์‚ฐ",
                "profile": {
                    "id": 13,
                    "name": "1MILLION",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            }
        ],
        "ended": [
            {
                "id": 35,
                "title": "๊ณต์—ฐ์ œ๋ชฉ",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-02-15T19:03:45",
                "genres": [
                    "๊ฑธ์Šคํž™ํ•ฉ",
                    "์™ํ‚น",
                    "ํŒํ•€"
                ],
                "location": "๊ณต์—ฐ์ง€์—ญ",
                "profile": {
                    "id": 13,
                    "name": "1MILLION",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            },
            {
                "id": 36,
                "title": "๊ณต์—ฐ์ œ๋ชฉ",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
                "startDate": "2023-02-15T19:03:45",
                "genres": [
                    "ํž™ํ•ฉ",
                    "๋ฐœ๋ ˆ"
                ],
                "location": "๊ณต์—ฐ์ง€์—ญ",
                "profile": {
                    "id": 13,
                    "name": "1MILLION",
                    "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
                }
            }
        ]
    }
}

๐Ÿ“š ํ›„๊ธฐ ๊ด€๋ จ API

๊ณต์—ฐ ํ›„๊ธฐ ์ „์ฒด ์กฐํšŒ

  • URL

    /api/v1/performances/{performId}/reviews

  • Method

    GET

  • Path Variable

Parameter Description Required or Optional Default Value Type
performId ์ƒ์„ธ์กฐํšŒํ•˜๋Š” ๊ณต์—ฐ๊ธ€ ๊ณ ์œ  Id Required X Integer
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "๋ฆฌ๋ทฐ ์กฐํšŒ์— ์„ฑ๊ณตํ–ˆ์Šต๋‹ˆ๋‹ค.",
    "data": [
        {
            "reviewId": 27,
            "content": "๋ฉ‹์ง„ ๊ณต์—ฐ์ด์—ˆ์–ด์—ฌ~",
            "hasProfile": true,
            "createdDate": "2023-03-04T07:27:52.92434",
            "writer": {
                "id": 13,
                "name": "๋ž„๋ž„"
            }
        },
        {
            "reviewId": 25,
            "content": "์ € ๋ฌด๋Œ€์—์„œ๋Š” ์‹ค๋ ฅ์žˆ๋Š” ๋Œ„์„œ๋“ค์ด ์—„์ฒญ๋‚œ ํผํฌ๋จผ์Šค๋ฅผ ์„ ๋ณด์˜€์–ด๋ƒฅ. ๊ฐ•๋ ฌํ•œ ์Œ์•…๊ณผ ํ•จ๊ป˜, ๊ทธ๋“ค์˜ ์™„๋ฒฝํ•œ ์‹ฑํฌ๋กœ์œจ๊ณผ ๋‹ค์ด๋‚ด๋ฏนํ•œ ์›€์ง์ž„์„ ๋ณด๋ฉฐ ๋‚˜๋Š” ๋†€๋ผ์›€์„ ๊ธˆ์น˜ ๋ชปํ–ˆ์–ด๋ƒฅ.",
            "hasProfile": true,
            "createdDate": "2023-03-04T03:05:26.324066",
            "writer": {
                "id": 2,
                "name": "๋ฌด์ง€๊ฐœ๊ณ ์–‘์ด"
            }
        },
        {
            "reviewId": 1002,
            "content": "์ด๋ฒˆ ๊ณต์—ฐ์—์„œ๋Š” ๋Œ„์Šค ๋ฟ ์•„๋‹ˆ๋ผ ๋…ธ๋ž˜๋„ ํ•จ๊ป˜ ๋ถ€๋ฅด๋Š” ์žฅ๋ฉด๋“ค์ด ๋งŽ์•„์„œ ๋”์šฑ ์ฆ๊ฑฐ์› ์–ด์š”! ๋˜ํ•œ ๋ฌด๋Œ€ ์—ฐ์ถœ๊ณผ ์กฐ๋ช…, ์Œํ–ฅ๊นŒ์ง€ ์™„๋ฒฝํ•˜๊ฒŒ ๊ตฌ์„ฑ๋ผ์„œ ๋ชฐ์ž…๋„ ๋†’๊ฒŒ ์ฆ๊ธธ ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.",
            "hasProfile": true,
            "createdDate": "2023-03-04T02:03:11",
            "writer": {
                "id": 1001,
                "name": "HANWA"
            }
        },
        {
            "reviewId": 1001,
            "content": "ํ•ญ์ƒ ๋ฉ‹์ง„ ๋Œ„์Šค ํผํฌ๋จผ์Šค๋ฅผ ๋ณด์—ฌ์ฃผ๋Š”๋ฐ, ์ด๋ฒˆ ๋ผ์ด๋ธŒ ๊ณต์—ฐ์—์„œ๋„ ๋Œ„์„œ๋“ค์˜ ์—๋„ˆ์ง€์™€ ์—ด์ •์ด ๋„˜์ณค์Šต๋‹ˆ๋‹ค! ๋ฌด๋Œ€ ์œ„์—์„œ ํ‘œํ˜„ํ•˜๋Š” ๊ฐ์ •๊ณผ ์‹ค๋ ฅ, ๊ทธ๋ฆฌ๊ณ  ํŒ€์›Œํฌ๊นŒ์ง€ ๋ชจ๋‘ ์™„๋ฒฝํ•ด์„œ ๋„ˆ๋ฌด ์ธ์ƒ ๊นŠ์—ˆ์Šต๋‹ˆ๋‹ค.",
            "hasProfile": true,
            "createdDate": "2023-03-03T02:01:40",
            "writer": {
                "id": 1002,
                "name": "SSAMBA"
            }
        },
        {
            "reviewId": 1003,
            "content": "๋Œ„์„œ๋“ค์˜ ํž™ํ•ฉ ๋Œ„์Šค๋Š” ์ •๋ง ๋ฉ‹์žˆ๊ณ  ํž˜์ฐจ๊ฒŒ ๋ณด์—ฌ์„œ ๋๊นŒ์ง€ ์ง‘์ค‘ํ•ด์„œ ๊ด€๋žŒํ–ˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ ๊ฐ๊ฐ์˜ ๋Œ„์„œ๋“ค์ด ํŒ€์›Œํฌ๋ฅผ ํ†ตํ•ด ํ•˜๋‚˜๋กœ ํ†ตํ•ฉ๋˜์–ด์„œ ์‡ผ๋ฅผ ์™„์„ฑํ•˜๋Š” ๋ชจ์Šต์ด ์ธ์ƒ์ ์ด์—ˆ์Šต๋‹ˆ๋‹ค.",
            "hasProfile": true,
            "createdDate": "2023-03-02T02:03:41",
            "writer": {
                "id": 1003,
                "name": "DORIS"
            }
        }
    ]
}          

๊ณต์—ฐ ํ›„๊ธฐ ๋“ฑ๋ก

  • URL

    /api/v1/performances/{performId}/reviews

  • Method

    POST

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Request

    content-Type : application/json

{
	"review": "๋ž„๋ผ๋ผ๋ผ๋ผ"
}
  • Success Response:
    • Code: 201
    • Response Body:
{
    "status": 201,
    "message": "๋ฆฌ๋ทฐ๊ฐ€ ์„ฑ๊ณต์ ์œผ๋กœ ๋“ฑ๋ก๋˜์—ˆ์Šต๋‹ˆ๋‹ค.",
    "data": [
        {
            "reviewId": 29,// ๋“ฑ๋ก๋œ ํ›„๊ธฐ๊ธ€
            "content": "๋ž„๋ผ๋ผ๋ผ๋ผ",
            "hasProfile": true,
            "createdDate": "2023-03-17T16:22:49.290256",
            "writer": {
                "id": 13,
                "name": "๋ž„๋ž„"
            }
        },
        {
            "reviewId": 27,
            "content": "๋ฉ‹์ง„ ๊ณต์—ฐ์ด์—ˆ์–ด์—ฌ~",
            "hasProfile": true,
            "createdDate": "2023-03-04T07:27:52.92434",
            "writer": {
                "id": 13,
                "name": "๋ž„๋ž„"
            }
        },
        {
            "reviewId": 25,
            "content": "์ € ๋ฌด๋Œ€์—์„œ๋Š” ์‹ค๋ ฅ์žˆ๋Š” ๋Œ„์„œ๋“ค์ด ์—„์ฒญ๋‚œ ํผํฌ๋จผ์Šค๋ฅผ ์„ ๋ณด์˜€์–ด๋ƒฅ. ๊ฐ•๋ ฌํ•œ ์Œ์•…๊ณผ ํ•จ๊ป˜, ๊ทธ๋“ค์˜ ์™„๋ฒฝํ•œ ์‹ฑํฌ๋กœ์œจ๊ณผ ๋‹ค์ด๋‚ด๋ฏนํ•œ ์›€์ง์ž„์„ ๋ณด๋ฉฐ ๋‚˜๋Š” ๋†€๋ผ์›€์„ ๊ธˆ์น˜ ๋ชปํ–ˆ์–ด๋ƒฅ.",
            "hasProfile": true,
            "createdDate": "2023-03-04T03:05:26.324066",
            "writer": {
                "id": 2,
                "name": "๋ฌด์ง€๊ฐœ๊ณ ์–‘์ด"
            }
        },
        {
            "reviewId": 1002,
            "content": "์ด๋ฒˆ ๊ณต์—ฐ์—์„œ๋Š” ๋Œ„์Šค ๋ฟ ์•„๋‹ˆ๋ผ ๋…ธ๋ž˜๋„ ํ•จ๊ป˜ ๋ถ€๋ฅด๋Š” ์žฅ๋ฉด๋“ค์ด ๋งŽ์•„์„œ ๋”์šฑ ์ฆ๊ฑฐ์› ์–ด์š”! ๋˜ํ•œ ๋ฌด๋Œ€ ์—ฐ์ถœ๊ณผ ์กฐ๋ช…, ์Œํ–ฅ๊นŒ์ง€ ์™„๋ฒฝํ•˜๊ฒŒ ๊ตฌ์„ฑ๋ผ์„œ ๋ชฐ์ž…๋„ ๋†’๊ฒŒ ์ฆ๊ธธ ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.",
            "hasProfile": true,
            "createdDate": "2023-03-04T02:03:11",
            "writer": {
                "id": 1001,
                "name": "HANWA"
            }
        },
        {
            "reviewId": 1001,
            "content": "ํ•ญ์ƒ ๋ฉ‹์ง„ ๋Œ„์Šค ํผํฌ๋จผ์Šค๋ฅผ ๋ณด์—ฌ์ฃผ๋Š”๋ฐ, ์ด๋ฒˆ ๋ผ์ด๋ธŒ ๊ณต์—ฐ์—์„œ๋„ ๋Œ„์„œ๋“ค์˜ ์—๋„ˆ์ง€์™€ ์—ด์ •์ด ๋„˜์ณค์Šต๋‹ˆ๋‹ค! ๋ฌด๋Œ€ ์œ„์—์„œ ํ‘œํ˜„ํ•˜๋Š” ๊ฐ์ •๊ณผ ์‹ค๋ ฅ, ๊ทธ๋ฆฌ๊ณ  ํŒ€์›Œํฌ๊นŒ์ง€ ๋ชจ๋‘ ์™„๋ฒฝํ•ด์„œ ๋„ˆ๋ฌด ์ธ์ƒ ๊นŠ์—ˆ์Šต๋‹ˆ๋‹ค.",
            "hasProfile": true,
            "createdDate": "2023-03-03T02:01:40",
            "writer": {
                "id": 1002,
                "name": "SSAMBA"
            }
        },
        {
            "reviewId": 1003,
            "content": "๋Œ„์„œ๋“ค์˜ ํž™ํ•ฉ ๋Œ„์Šค๋Š” ์ •๋ง ๋ฉ‹์žˆ๊ณ  ํž˜์ฐจ๊ฒŒ ๋ณด์—ฌ์„œ ๋๊นŒ์ง€ ์ง‘์ค‘ํ•ด์„œ ๊ด€๋žŒํ–ˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ ๊ฐ๊ฐ์˜ ๋Œ„์„œ๋“ค์ด ํŒ€์›Œํฌ๋ฅผ ํ†ตํ•ด ํ•˜๋‚˜๋กœ ํ†ตํ•ฉ๋˜์–ด์„œ ์‡ผ๋ฅผ ์™„์„ฑํ•˜๋Š” ๋ชจ์Šต์ด ์ธ์ƒ์ ์ด์—ˆ์Šต๋‹ˆ๋‹ค.",
            "hasProfile": true,
            "createdDate": "2023-03-02T02:03:41",
            "writer": {
                "id": 1003,
                "name": "DORIS"
            }
        }
    ]
}

ํ›„๊ธฐ ์ˆ˜์ •

  • URL

    /api/v1/performances/reviews

  • Method

    PATCH

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Request

    content-Type : application/json

{
    "id": 29,
    "review": "์‹œ๊ฐ„์ด ๊ฐ€๋Š” ์ค„๋„ ๋ชจ๋ฅด๊ณ  ๋น ์ ธ๋“ค์—ˆ์–ด์š”"
}
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "๋ฆฌ๋ทฐ๊ฐ€ ์„ฑ๊ณต์ ์œผ๋กœ ์ˆ˜์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค.",
    "data": {
        "reviewId": 29,
        "content": "์‹œ๊ฐ„์ด ๊ฐ€๋Š” ์ค„๋„ ๋ชจ๋ฅด๊ณ  ๋น ์ ธ๋“ค์—ˆ์–ด์š”",
        "hasProfile": true,
        "createdDate": "2023-03-17T16:22:49.290256",
        "writer": {
            "id": 13,
            "name": "๋ž„๋ž„"
        }
    }
}

ํ›„๊ธฐ ์‚ญ์ œ

  • URL

    /api/v1/performances/reviews/{reviewId}

  • Method

    DELETE

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Path Variable
Parameter Description Required or Optional Default Value Type
reviewId ํ›„๊ธฐ์˜ ๊ณ ์œ Id Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "๋ฆฌ๋ทฐ๊ฐ€ ์„ฑ๊ณต์ ์œผ๋กœ ์‚ญ์ œ๋˜์—ˆ์Šต๋‹ˆ๋‹ค."
}

์ตœ๊ทผ ๋“ฑ๋ก๋œ ํ›„๊ธฐ 6๊ฐœ ์กฐํšŒ

  • URL

    /api/v1/performances/recent/reviews

  • Method

    GET

  • Success Response:

    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ตœ๊ทผ ๋ฆฌ๋ทฐ ์กฐํšŒ์— ์„ฑ๊ณตํ–ˆ์Šต๋‹ˆ๋‹ค.",
    "data": [
        {
            "reviewId": 30,
            "content": "๋ž„๋ผ๋ผ๋ผ๋ผ",
            "hasProfile": true,
            "createdDate": "2023-03-17T16:39:00.18834",
            "writer": {
                "id": 13,
                "name": "๋ž„๋ž„"
            },
            "performance": {
                "id": 38,
                "title": "์—„์ฒญ๋‚œ ํผํฌ๋จผ์Šค, ์‹œ์„ ์„ ์‚ฌ๋กœ์žก๋Š” ํ™”๋ คํ•จ",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
            }
        },
        {
            "reviewId": 28,
            "content": "๋„ˆ์™€ ๋‚˜์˜ ์—ฐ๊ฒฐ๊ณ ๋ฆฌ",
            "hasProfile": true,
            "createdDate": "2023-03-08T20:25:39.716997",
            "writer": {
                "id": 13,
                "name": "๋ž„๋ž„"
            },
            "performance": {
                "id": 32,
                "title": "3์›” 6์ผ๋‚  ๊ณต์—ฐํ•ฉ๋‹ˆ๋‹ค!",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
            }
        },
        {
            "reviewId": 27,
            "content": "๋ฉ‹์ง„ ๊ณต์—ฐ์ด์—ˆ์–ด์—ฌ~",
            "hasProfile": true,
            "createdDate": "2023-03-04T07:27:52.92434",
            "writer": {
                "id": 13,
                "name": "๋ž„๋ž„"
            },
            "performance": {
                "id": 1001,
                "title": "Beenzino The Tour : with Rachica",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
            }
        },
        {
            "reviewId": 25,
            "content": "์ € ๋ฌด๋Œ€์—์„œ๋Š” ์‹ค๋ ฅ์žˆ๋Š” ๋Œ„์„œ๋“ค์ด ์—„์ฒญ๋‚œ ํผํฌ๋จผ์Šค๋ฅผ ์„ ๋ณด์˜€์–ด๋ƒฅ. ๊ฐ•๋ ฌํ•œ ์Œ์•…๊ณผ ํ•จ๊ป˜, ๊ทธ๋“ค์˜ ์™„๋ฒฝํ•œ ์‹ฑํฌ๋กœ์œจ๊ณผ ๋‹ค์ด๋‚ด๋ฏนํ•œ ์›€์ง์ž„์„ ๋ณด๋ฉฐ ๋‚˜๋Š” ๋†€๋ผ์›€์„ ๊ธˆ์น˜ ๋ชปํ–ˆ์–ด๋ƒฅ.",
            "hasProfile": true,
            "createdDate": "2023-03-04T03:05:26.324066",
            "writer": {
                "id": 2,
                "name": "๋ฌด์ง€๊ฐœ๊ณ ์–‘์ด"
            },
            "performance": {
                "id": 1001,
                "title": "Beenzino The Tour : with Rachica",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
            }
        },
        {
            "reviewId": 1004,
            "content": "์ •๋ง ์ตœ๊ณ ์˜ ๊ณต์—ฐ์ด์˜€์Šต๋‹ˆ๋‹ค. ์นด๋ฉ”๋ผ๋กœ ๊ณ„์† ์ฐ๋Š”๋‹ค๊ณ  ์ •์‹ ์ด ์—†์—ˆ์–ด์š”!! ๊ทธ๋งŒํผ ์ธ์ƒ ๊นŠ์—ˆ๋˜ ๊ณต์—ฐ์ด์˜€์Šต๋‹ˆ๋‹ค.",
            "hasProfile": true,
            "createdDate": "2023-03-04T03:03:41",
            "writer": {
                "id": 1001,
                "name": "HANWA"
            },
            "performance": {
                "id": 1007,
                "title": "์ด๋ฒˆ ๊ณต์—ฐ ์‰ฝ์ง€ ์•Š๋‹ค!",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
            }
        },
        {
            "reviewId": 1005,
            "content": "๋Œ„์„œ๋ถ„๋“ค์˜ ์‹ค๋ ฅ์€ ์ •๋ง ๋›ฐ์–ด๋‚˜์š”!! ๊ณต์—ฐ ์‹œ๊ฐ„ ๋๋‚˜๋Š”์ค„ ๋ชจ๋ฅด๊ณ  ์ฆ๊ฒผ์–ด์š”!!",
            "hasProfile": true,
            "createdDate": "2023-03-04T03:02:41",
            "writer": {
                "id": 1002,
                "name": "SSAMBA"
            },
            "performance": {
                "id": 1008,
                "title": "์žฌ์น˜์žˆ๋Š” ๋ฌด๋Œ€๋กœ ์ค€๋น„ํ–ˆ์Šต๋‹ˆ๋‹ค!",
                "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg"
            }
        }
    ]
}

๐Ÿ“š ํ”„๋กœํ•„ ๊ด€๋ จ API

ํ”„๋กœํ•„ 6๊ฐœ ๋žœ๋ค ์กฐํšŒ

  • URL

    /api/v1/profiles/home

  • Method

    GET

  • Success Response:

    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "ํ”„๋กœํ•„ 6๊ฐœ ๋žœ๋ค ์กฐํšŒ ์„ฑ๊ณต",
    "data": [
        {
            "id": 13,
            "name": "1MILLION",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "type": "๋Œ„์„œ"
        },
        {
            "id": 1001,
            "name": "HANWA",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "type": "๋Œ„์„œ"
        },
        {
            "id": 1003,
            "name": "DORIS",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "type": "๋Œ„์„œ"
        },
        {
            "id": 1006,
            "name": "ํ”„๋ผ์šฐ๋“œ๋จผ",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "type": "๋Œ„์ŠคํŒ€"
        },
        {
            "id": 67,
            "name": "์†์ง„์˜์ด",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "type": "๋Œ„์„œ"
        },
        {
            "id": 1005,
            "name": "ํ›…",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "type": "๋Œ„์ŠคํŒ€"
        }
    ]
}           

๋‹ค๋ฅธ ์‚ฌ์šฉ์ž์˜ ํ”„๋กœํ•„ ์ƒ์„ธ ์กฐํšŒ

  • URL

    /api/v1/profiles/{memberId}

  • Method

    GET

  • Path Variable

Parameter Description Required or Optional Default Value Type
memberId ํ”„๋กœํ•„์„ ๊ฐ€์ง€๋Š” member์˜ ๊ณ ์œ  Id Required X Integer
  • Success Response:
    • Code: 201
    • Response Body:
{
    "status": 200,
    "message": "ํ”„๋กœํ•„ ์ƒ์„ธ ์กฐํšŒ ์„ฑ๊ณต",
    "data": {
        "id": 1006,
        "name": "๋ฃจ์ด",
        "email": "[email protected]",
        "imgUrl": "https://lh3.googleusercontent.com/a/AGNmyxYu491qWIU1A6-1y9AqTtLTfKswd-3JZyar0l5HPA=s96-c",
        "profile": {
            "id": 1006,
            "type": "๋Œ„์ŠคํŒ€",
            "name": "ํ”„๋ผ์šฐ๋“œ๋จผ",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "location": "์šธ์‚ฐ",
            "genres": [],
            "careerStartDate": "2020-03-26",
            "description": "'ํ”„๋ผ์šฐ๋“œ๋จผ'๋ผ๋Š” ์ด๋ฆ„์œผ๋กœ ํ™œ๋™ํ•˜๊ณ  ์žˆ๋Š” ์ €ํฌ ๋Œ„์ŠคํŒ€์€ 6๋ช…์˜ ๋ฉค๋ฒ„๋กœ ๊ตฌ์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. K-pop, ํž™ํ•ฉ, ๋ฝ ๋“ฑ ๋‹ค์–‘ํ•œ ์Œ์•…์— ๋งž์ถฐ ๋‹ค์ฑ„๋กœ์šด ๋ฌด๋Œ€๋ฅผ ์„ ๋ณด์ž…๋‹ˆ๋‹ค. ๋ฌด๋Œ€ ์œ„์—์„œ์˜ ํผํฌ๋จผ์Šค๋Š” ๋ฌผ๋ก ์ด๊ณ , ์Œ์•…๊ณผ ๋ฌด๋Œ€ ๋””์ž์ธ, ์˜์ƒ ๋“ฑ ์ „๋ฐ˜์ ์ธ ๊ณต์—ฐ ๊ตฌ์„ฑ๋„ ์™„๋ฒฝํ•ฉ๋‹ˆ๋‹ค. ๊ตญ๋‚ด์™ธ ๋‹ค์–‘ํ•œ ๊ณต์—ฐ์žฅ์—์„œ ํ™œ๋™ํ•˜๋ฉฐ, ๋งค๋…„ ๋งŽ์€ ํŒฌ๋“ค์ด ๊ธฐ๋‹ค๋ฆฌ๋Š” ๋‹จ๋… ์ฝ˜์„œํŠธ๋„ ์—ด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.",
            "openChatUrl": "https://open.kakao.com/o/s4SHqsBe",
            "portfolio": {
                "youtube": "https://www.youtube.com/@user-hu8on9zg9f",
                "instagram": "https://www.instagram.com/monika_shin/",
                "tiktok": "https://www.tiktok.com/tag/%EB%AA%A8%EB%8B%88%EC%B9%B4?lang=ko-KR"
            }
        }
    }
}

ํ”„๋กœํ•„ ๋“ฑ๋ก

  • URL

    /api/v1/profiles

  • Method

    POST

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Request

    content-Type : application/json

{					
	"name": "๋ž„๋ž„", 
	"location": "๋ถ€์‚ฐ", 
	"type": "๋Œ„์„œ", 
	"imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg", 
        "genres": ["๋ฐœ๋ ˆ", "ํž™ํ•ฉ"],
	"description":"์ €๋Š” ์ถค์„ ์‚ฌ๋ž‘ํ•˜๋ฉฐ, ์ œ ์ธ์ƒ์˜ ๋™๋ฐ˜์ž์ž…๋‹ˆ๋‹ค. ๋ˆ„๊ตฌ๋‚˜ ์ฆ๊ธธ ์ˆ˜ ์žˆ๋Š” ์Œ์•… ์œ„์— ์ถค์ถ”๋Š”๊ฑธ ์ข‹์•„ํ•ฉ๋‹ˆ๋‹ค.", 
	"openChatUrl": "[email protected]",
        "portfolio": {
           "youtube": null,
           "tiktok": null,
           "instagram": null
        },
	"careerStartDate": "2023-02-15"
}
  • Success Response:
    • Code: 201
    • Response Body:
{
    "status": 201,
    "message": "ํ”„๋กœํ•„ ๋“ฑ๋ก ์„ฑ๊ณต",
    "data": {
        "id": 13,
        "type": "๋Œ„์„œ",
        "name": "๋ž„๋ž„",
        "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
        "location": "๋ถ€์‚ฐ",
        "genres": [
            "ํž™ํ•ฉ",
            "๋ฐœ๋ ˆ"
        ],
        "careerStartDate": "2023-02-15",
        "description": "์ €๋Š” ์ถค์„ ์‚ฌ๋ž‘ํ•˜๋ฉฐ, ์ œ ์ธ์ƒ์˜ ๋™๋ฐ˜์ž์ž…๋‹ˆ๋‹ค. ๋ˆ„๊ตฌ๋‚˜ ์ฆ๊ธธ ์ˆ˜ ์žˆ๋Š” ์Œ์•… ์œ„์— ์ถค์ถ”๋Š”๊ฑธ ์ข‹์•„ํ•ฉ๋‹ˆ๋‹ค.",
        "openChatUrl": "[email protected]",
        "portfolio": {
            "youtube": null,
            "instagram": null,
            "tiktok": null
        }
    }
}

ํ”„๋กœํ•„ ์ˆ˜์ •

  • URL

    /api/v1/profiles

  • Method

    PATCH

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Request

    content-Type : application/json

{					
    "id": 13,
    "name": "soso", 
    "location": "๋ถ€์‚ฐ", 
    "type": "๋Œ„์ŠคํŒ€", 
    "imgUrl": "[email protected]", 
    "genres": ["์™ํ‚น", "ํž™ํ•ฉ"],
    "description": "์ €๋Š” ์ถค์„ ์‚ฌ๋ž‘ํ•˜๋ฉฐ, ์ œ ์ธ์ƒ์˜ ๋™๋ฐ˜์ž์ž…๋‹ˆ๋‹ค. ๋ˆ„๊ตฌ๋‚˜ ์ฆ๊ธธ ์ˆ˜ ์žˆ๋Š” ์Œ์•… ์œ„์— ์ถค์ถ”๋Š”๊ฑธ ์ข‹์•„ํ•ฉ๋‹ˆ๋‹ค.", 
    "openChatUrl": "[email protected]",
    "portfolio": {
        "youtube": null,
        "instagram": null,
        "tiktok": null
    },
    "careerStartDate": "2023-02-15"
}
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "ํ”„๋กœํ•„ ์ˆ˜์ • ์„ฑ๊ณต",
    "data": {
        "id": 13,
        "type": "๋Œ„์ŠคํŒ€",
        "name": "soso",
        "imgUrl": "[email protected]",
        "location": "๋ถ€์‚ฐ",
        "genres": [
            "์™ํ‚น",
            "ํž™ํ•ฉ"
        ],
        "careerStartDate": "2023-02-15",
        "description": "์ €๋Š” ์ถค์„ ์‚ฌ๋ž‘ํ•˜๋ฉฐ, ์ œ ์ธ์ƒ์˜ ๋™๋ฐ˜์ž์ž…๋‹ˆ๋‹ค. ๋ˆ„๊ตฌ๋‚˜ ์ฆ๊ธธ ์ˆ˜ ์žˆ๋Š” ์Œ์•… ์œ„์— ์ถค์ถ”๋Š”๊ฑธ ์ข‹์•„ํ•ฉ๋‹ˆ๋‹ค.",
        "openChatUrl": "[email protected]",
        "portfolio": {
            "youtube": null,
            "instagram": null,
            "tiktok": null
        }
    }
}

ํ”„๋กœํ•„ ์‚ญ์ œ

  • URL

    /api/v1/profiles

  • Method

    DELETE

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "ํ”„๋กœํ•„ ์‚ญ์ œ ์„ฑ๊ณต"
}

๐Ÿ“š ํ™œ๋™ ๋‚ด์—ญ ๊ด€๋ จ API

์ž์‹ ์ด ์ž‘์„ฑํ•œ ํ›„๊ธฐ ์กฐํšŒ

  • URL

    /api/v1/mypage/performances/reviews

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ž‘์„ฑ ํ›„๊ธฐ ์กฐํšŒ ์„ฑ๊ณต",
    "data": [
        {
            "reviewId": 28,
            "content": "๋„ˆ์™€ ๋‚˜์˜ ์—ฐ๊ฒฐ๊ณ ๋ฆฌ",
            "createdDate": "2023-03-08T20:25:39.716997",
            "performance": {
                "id": 32,
                "title": "3์›” 6์ผ๋‚  ๊ณต์—ฐํ•ฉ๋‹ˆ๋‹ค!"
            }
        },
        {
            "reviewId": 27,
            "content": "๋ฉ‹์ง„ ๊ณต์—ฐ์ด์—ˆ์–ด์—ฌ~",
            "createdDate": "2023-03-04T07:27:52.92434",
            "performance": {
                "id": 1001,
                "title": "Beenzino The Tour : with Rachica"
            }
        }
    ]
}            

์ž์‹ ์ด ์ž‘์„ฑํ•œ ๊ณต์—ฐ ์กฐํšŒ

  • URL

    /api/v1/mypage/performances

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ž‘์„ฑํ•œ ๊ณต์—ฐ ์กฐํšŒ ์„ฑ๊ณต",
    "data": [
        {
            "id": 38,
            "createdDate": "2023-03-17T15:59:30.436992",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "title": "์—„์ฒญ๋‚œ ํผํฌ๋จผ์Šค, ์‹œ์„ ์„ ์‚ฌ๋กœ์žก๋Š” ํ™”๋ คํ•จ",
            "profile": {
                "name": "๋ž„๋ž„"
            }
        },
        {
            "id": 37,
            "createdDate": "2023-03-17T15:58:22.814942",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "title": "๊ณต์—ฐ์ œ๋ชฉ",
            "profile": {
                "name": "๋ž„๋ž„"
            }
        }
    ]
}          

์ž์‹ ์ด ์ž‘์„ฑํ•œ ์ด๋ฒคํŠธ ์กฐํšŒ

  • URL

    /api/v1/mypage/events

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ž‘์„ฑํ•œ ์ด๋ฒคํŠธ ์กฐํšŒ ์„ฑ๊ณต",
    "data": [
        {
            "id": 42,
            "createdAt": "2023-03-17T16:05:37.617663",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "title": "์ž์‹ ๋งŒ์˜ ํ”„๋ฆฌ์Šคํƒ€์ผ ๋Œ„์Šค ๊ตฌ์ƒ ์„ธ๋ฏธ๋‚˜ ๊ฐœ์ตœ",
            "type": "์‰์–ด",
            "profile": {
                "name": "๋ž„๋ž„"
            },
            "matched": false
        },
        {
            "id": 41,
            "createdAt": "2023-03-17T16:04:47.40369",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "title": "์ฝœ๋ผ๋ณด ๊ฐ™์ด ํ•˜์‹ค๋ถ„์žˆ๋‚˜์š”?!",
            "type": "์ฝœ๋ผ๋ณด",
            "profile": {
                "name": "๋ž„๋ž„"
            },
            "matched": false
        }
    ]
}          

์ž์‹ ์ด ์ง€์›ํ•œ ์ด๋ฒคํŠธ ์กฐํšŒ

  • URL

    /api/v1/mypage/events/applications

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
    "status": 200,
    "message": "์ง€์›ํ•œ ์ด๋ฒคํŠธ ์กฐํšŒ ์„ฑ๊ณต",
    "data": [
        {
            "id": 44,
            "appliedAt": "2023-03-17T16:12:35.641441",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "title": "๋Œ„์Šค ๊ณต์—ฐ ์˜์ƒ ๊ฐ™์ด ์‚ด ๋ถ„ ๊ตฌํ•ด์š”",
            "profile": {
                "name": "๋ž„๋ž„"
            },
            "matched": false
        },
        {
            "id": 43,
            "appliedAt": "2023-03-17T16:12:30.169157",
            "imgUrl": "https://www.culture.go.kr/upload/rdf/22/07/show_2022071814552019267.jpg",
            "title": "๊ธฐ์ดˆ ๋Œ„์Šค ์ˆ˜์—… ์žฌ๋Šฅ ๋‚˜๋ˆ”",
            "profile": {
                "name": "๋ž„๋ž„"
            },
            "matched": false
        }
    ]
}          

๐Ÿ“š ๋ฉค๋ฒ„ ๊ด€๋ จ API

๊ตฌ๊ธ€ ์—ฐ๋™ ๋กœ๊ทธ์ธ์„ ํ†ตํ•œ ํšŒ์›๊ฐ€์ž…

  • URL

    /api/v1/member/oauth/google/login

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
google-token ๊ตฌ๊ธ€ ์„œ๋น„์Šค๋กœ๋ถ€ํ„ฐ ๋ฐœ๊ธ‰๋ฐ›์€ Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
  "data": {
    "email": "string",
    "id": 0,
    "imgUrl": "string",
    "name": "string",
    "profile": {
      "careerStartDate": "2023-03-17",
      "description": "string",
      "genres": [
        "string"
      ],
      "id": 0,
      "imgUrl": "string",
      "location": "string",
      "name": "string",
      "openChatUrl": "string",
      "portfolio": {
        "instagram": "string",
        "tiktok": "string",
        "youtube": "string"
      },
      "type": "string"
    },
    "role": "string",
    "signUp": true
  },
  "message": "string",
  "status": 0
}       

๋ณธ์ธ ์ •๋ณด ์กฐํšŒ

  • URL

    /api/v1/member/info

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
  "data": {
    "email": "string",
    "id": 0,
    "imgUrl": "string",
    "name": "string",
    "profile": {
      "careerStartDate": "2023-03-17",
      "description": "string",
      "genres": [
        "string"
      ],
      "id": 0,
      "imgUrl": "string",
      "location": "string",
      "name": "string",
      "openChatUrl": "string",
      "portfolio": {
        "instagram": "string",
        "tiktok": "string",
        "youtube": "string"
      },
      "type": "string"
    },
    "role": "string",
    "signUp": true
  },
  "message": "string",
  "status": 0
}        

ํšŒ์› ํƒˆํ‡ด

  • URL

    /api/v1/member

  • Method

    DELETE

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
  "message": "string",
  "status": 0
}       

๋กœ๊ทธ์•„์›ƒ

  • URL

    /api/v1/member/logout

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
  "message": "string",
  "status": 0
}       

๐Ÿ“š JWT ํ† ํฐ ์žฌ๋ฐœ๊ธ‰ API

JWT ํ† ํฐ ์žฌ๋ฐœ๊ธ‰

  • URL

    /api/v1/oauth/jwt/refresh

  • Method

    GET

  • Header Parameter

Parameter Description Required or Optional Default Value Type
refreshToken refresh token ์„ cookie ์— 'refreshToken' key ๋กœ ๊ฐ–๋Š” value ๋กœ ๋ฐ›๋Š”๋‹ค. Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
  "message": "string",
  "status": 0
}       

๐Ÿ“š S3 ๊ด€๋ จ API

์ด๋ฒคํŠธ ์ด๋ฏธ์ง€ ๋“ฑ๋ก

  • URL

    /api/v1/events/image

  • Method

    POST

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Form Data(File)
Parameter Description Required or Optional Default Value Type
img jpg, jpeg, png ํ˜•์‹์˜ ํŒŒ์ผ๋งŒ ์—…๋กœ๋“œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
  "data": {
    "imgUrl": "string"
  },
  "message": "string",
  "status": 0
}      

๊ณต์—ฐ ์ด๋ฏธ์ง€ ๋“ฑ๋ก

  • URL

    /api/v1/performances/image

  • Method

    POST

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Form Data(File)
Parameter Description Required or Optional Default Value Type
img jpg, jpeg, png ํ˜•์‹์˜ ํŒŒ์ผ๋งŒ ์—…๋กœ๋“œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
  "data": {
    "imgUrl": "string"
  },
  "message": "string",
  "status": 0
}      

ํ”„๋กœํ•„ ์ด๋ฏธ์ง€ ๋“ฑ๋ก

  • URL

    /api/v1/profiles/image

  • Method

    POST

  • Header Parameter

Parameter Description Required or Optional Default Value Type
authorization ์„œ๋ฒ„์—์„œ ๋ฐœ๊ธ‰ํ•œ access Token Required X String
  • Form Data(File)
Parameter Description Required or Optional Default Value Type
img jpg, jpeg, png ํ˜•์‹์˜ ํŒŒ์ผ๋งŒ ์—…๋กœ๋“œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Required X String
  • Success Response:
    • Code: 200
    • Response Body:
{
  "data": {
    "imgUrl": "string"
  },
  "message": "string",
  "status": 0
}      
Clone this wiki locally