Skip to content

List API

dh00n edited this page Dec 11, 2020 · 6 revisions

๊ณตํ†ต ํ—ค๋”

    {
        "Authorization": "Bearer " + Access Token,
        "Content-Type": "application/json",
        "Accept": "application/json"
    }

๋ฆฌ์ŠคํŠธ ์ถ”๊ฐ€

  • ์ƒํƒœ ์ฝ”๋“œ
    status code ์„ค๋ช…
    201 ์š”์ฒญ ์„ฑ๊ณต
    401 ๊ถŒํ•œ ์—๋Ÿฌ
    404 ๋ณด๋“œ ์กด์žฌ X, ์œ ์ € ์กด์žฌ X
    500 ์„œ๋ฒ„ ์—๋Ÿฌ
  • url
    POST /api/board/{boardId}/list    
    
  • request
    {
        "title": String (required)
    }
    
  • response
    {
        "id": Number,
        "title": String,
        "position": Number
    }
    

๋ฆฌ์ŠคํŠธ ์ˆ˜์ •

  • ์ƒํƒœ ์ฝ”๋“œ
    status code ์„ค๋ช…
    204 ์š”์ฒญ ์„ฑ๊ณต
    401 ๊ถŒํ•œ ์—๋Ÿฌ
    404 ๋ณด๋“œ ์กด์žฌ X, ์œ ์ € ์กด์žฌ X
    500 ์„œ๋ฒ„ ์—๋Ÿฌ
  • url
    PATCH /api/list/{listId}
    
  • request
    {
        "position": Number (optional),
        "title": String (optional)
    }
    
  • response
    none
    

๋ฆฌ์ŠคํŠธ ์‚ญ์ œ

  • ์ƒํƒœ ์ฝ”๋“œ
    status code ์„ค๋ช…
    204 ์š”์ฒญ ์„ฑ๊ณต
    401 ๊ถŒํ•œ ์—๋Ÿฌ
    404 ๋ณด๋“œ ์กด์žฌ X, ์œ ์ € ์กด์žฌ X
    500 ์„œ๋ฒ„ ์—๋Ÿฌ
  • url
    DELETE /api/list/{listId}
    
  • request
    none
    
  • response
    none
    

๐ŸŽฏ ๊ณ„ํš


๐Ÿค ๊ทœ์น™


๐Ÿ‘ฉโ€๐ŸŽจ ์Šคํƒ€์ผ ๊ฐ€์ด๋“œ


๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘ฆ ๋ฉ˜ํ† ๋‹˜๊ณผ์˜ ๋งŒ๋‚จ


๐Ÿ“œ ํ† ๋ก ๊ฑฐ๋ฆฌ


๐Ÿ“œ ๊ฐœ๋ฐœ ๋ฌธ์„œ


๐Ÿ’Ž ๊ธฐ์ˆ  ํŠน์žฅ์ 


๐Ÿƒโ€โ™‚๏ธ ์Šคํ”„๋ฆฐํŠธ ํšŒ์˜ / ํšŒ๊ณ 


๐Ÿ‰ ๋ฐ์ผ๋ฆฌ ์Šคํฌ๋Ÿผ


Clone this wiki locally