28.2. Server API ์˜ˆ์ œ (/guildchat)


Overview

ย 

๊ฒŒ์ž„ ์„œ๋ฒ„์˜ ๊ธธ๋“œ ์†Œ์…œ์„ ์˜คํ”ˆ์ฑ„ํŒ…๋ฐฉ์— ๋ฐ˜์˜ํ•˜์—ฌ ๊ธธ๋“œ์ „์šฉ ์ฑ„ํŒ…๋ฐฉ์œผ๋กœ ๋งŒ๋“ค๊ณ , ๊ทธ๋ ‡๊ฒŒ ์ƒ์„ฑ ๋œ ๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์— ๊ธธ๋“œ ๊ด€๋ จ ์‹œ์Šคํ…œ ๋ฉ”์‹œ์ง€๋‚˜ ๊ณต์œ ๋ฉ”์‹œ์ง€๋ฅผ ๋ณด๋‚ผ ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ๋“ค์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.ย 

๊ธธ๋“œ ์†Œ์…œ์˜ ์›๋ณธ๋ฐ์ดํ„ฐ๋Š” ๊ฒŒ์ž„ ์„œ๋ฒ„์— ์กด์žฌํ•˜๋ฏ€๋กœ ๊ฒŒ์ž„ํด๋ผ์ด์–ธํŠธ์™€ ์—ฐ๋™๋  ๊ฒฝ์šฐ ๋ฐ์ดํ„ฐ ๋ถˆ์ผ์น˜ ๋ฌธ์ œ๊ฐ€ ์ผ์–ด๋‚  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๋ฐ˜๋“œ์‹œ ์„œ๋ฒ„์—์„œ๋งŒ ํ˜ธ์ถœํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.



๊ธธ๋“œ์ฑ„ํŒ…์—์„œ์‚ฌ์šฉํ•˜๋Š”ํ”„๋กœํ•„์ด๋ฏธ์ง€์ŠคํŽ™ย 

๊ธธ๋“œ ํ”„๋กœํ•„ ์ด๋ฏธ์ง€(imageUrl), ๊ธธ๋“œ์žฅ ํ”„๋กœํ•„ ์ด๋ฏธ์ง€(leaderProfileImage), ๊ธธ๋“œ์› ํ”„๋กœํ•„ ์ด๋ฏธ์ง€(profileImage)์˜ ์š”๊ตฌ์‚ฌํ•ญ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.ย 

  • ์ด๋ฏธ์ง€ ์‚ฌ์ด์ฆˆ: 640*640 (px)

  • ํ™•์žฅ์ž: jpg

  • API๋ฅผ ํ†ตํ•ด url๋กœ ์ „๋‹ฌ ์‹œ 80(http) or 443(https) ํฌํŠธ๋กœ ์ ‘๊ทผ ๊ฐ€๋Šฅํ•œ url



ย 


/guildchat/guild/create



Description

์นด์นด์˜คํ†ก์— ์˜คํ”ˆ ์ฑ„ํŒ…๋ฐฉ ํ˜•ํƒœ๋กœ ๊ธธ๋“œ์ฑ„ํŒ…๋ฐฉ์„ ๊ฐœ์„คํ•ฉ๋‹ˆ๋‹ค.

์šฉ๋„: ๊ธธ๋“œ์žฅ์ด ๊ธธ๋“œ๋ฅผ ์ƒ์„ฑ ํ–ˆ์„ ๋•Œ ํ˜น์€ ๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์„ ๊ฐœ์„คํ•˜๋ ค๊ณ  ํ•  ๋•Œ

Method

POST

Request Headersย 

Name

Type

Mandatory

Description

appId

String

Y

๊ฒŒ์ž„ ์•ฑ IDย 

appSecret

String

Y

App Secret

Authorization

String

Y

์„œ๋ฒ„์ธ์ฆ์ •๋ณด: ์ด API ํ˜ธ์ถœ๊ถŒํ•œ์ด์žˆ๋Š”์„œ๋ฒ„์ธ์ง€ํ™•์ธํ•˜๊ธฐ์œ„ํ•œ์ •๋ณด

  • KakaoAK {admin_key} ํ˜•ํƒœ์˜๋ฌธ์ž์—ด

  • {admin_key}๋Š” [๊ฒŒ์ž„์„ผํ„ฐ > ๊ฒŒ์ž„๊ด€๋ฆฌ > ๊ฒŒ์ž„์„ธ๋ถ€์ •๋ณด > Admin Key] ์—์„œํ™•์ธ๊ฐ€๋Šฅ

Request Body Parameters

Name

Type

Mandatory

Description

Name

Type

Mandatory

Description

playerId

String

Y

๊ธธ๋“œ๋ฅผ ์ƒ์„ฑํ•˜๋Š” ๋ฆฌ๋” playerId

worldId

Integer

Y

๊ฒŒ์ž„ ์„œ๋ฒ„ ๋ณ„๋กœ ๋ฐœ๊ธ‰ ๋ฐ›์€ ์›”๋“œ ์•„์ด๋””

guildName

String

Y

๊ธธ๋“œ์ด๋ฆ„ (๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์ด๋ฆ„์œผ๋กœ ์„ค์ •๋จ)

leaderNickname

String

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์„ ๊ฐœ์„คํ•˜๋Š” ์œ ์ €์˜ ๊ฒŒ์ž„ ๋‹‰๋„ค์ž„

description

String

N

๊ธธ๋“œ์„ค๋ช… (๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์„ค๋ช…์œผ๋กœ ์„ค์ •๋จ)

leaderProfileImage

String

N

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์„ ๊ฐœ์„คํ•˜๋Š” ์œ ์ €์˜ ๊ฒŒ์ž„ํ”„๋กœํ•„ ์ด๋ฏธ์ง€ URL (๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์˜ ์œ ์ € ํ”„๋กœํ•„ ์ด๋ฏธ์ง€๋กœ ์„ค์ •๋จ, ์—†์„ ๊ฒฝ์šฐ ๊ธฐ๋ณธ ์ด๋ฏธ์ง€๋กœ ์„ค์ •๋จ)

imageUrl

String

N

๊ธธ๋“œ๋Œ€ํ‘œ์ด๋ฏธ์ง€ (๊ธธ๋“œ์ฑ„ํŒ…๋ฐฉ ๋Œ€ํ‘œ ํ”„๋กœํ•„ ์ด๋ฏธ์ง€๋กœ ์„ค์ •๋จ, ์—†์„ ๊ฒฝ์šฐ ๊ธฐ๋ณธ ์ด๋ฏธ์ง€๋กœ ์„ค์ •๋จ)



Response Status Code

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

200

์ •์ƒ ์‘๋‹ต

์ •์ƒ

400

Bad Request

ํŒŒ์‹ฑ๋˜์ง€ ์•Š๋Š” ์š”์ฒญ ๋ฐ์ดํ„ฐ. ํ•„์ˆ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ถ€์กฑ or ํŒŒ๋ผ๋ฏธํ„ฐ ํƒ€์ž… ์˜ค๋ฅ˜

401

Unauthenticated

์ธ์ฆ ์‹คํŒจ

403

Forbidden

์š”์ฒญ ํ—ค๋”์™€ ํŒŒ๋ผ๋ฏธํ„ฐ ๊ฐ๊ฐ์˜ ์•ฑ ์•„์ด๋””๊ฐ€ ์ผ์น˜ํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์˜คํ”ˆ์ฑ„ํŒ… ์•ฝ๊ด€๋™์˜๊ฐ€ ์•ˆ ๋œ ์‚ฌ์šฉ์ž๊ฐ€ ์ฑ„ํŒ…๋ฐฉ ์ƒ์„ฑ์„ ์š”์ฒญํ•˜๋Š” ๊ฒฝ์šฐ (์ฐธ๊ณ : ์นด์นด์˜คํ†ก์—์„œ ๋ฐ˜ํ™˜ํ•˜๋Š” HTTP Code๋ฅผ ๊ทธ๋Œ€๋กœ ๋งค์นญํ•ด์„œ ๋ฐ˜ํ™˜)

406

Not Acceptable

์š”์ฒญํ•œ ๊ธธ๋“œ์•„์ด๋””์™€ ๋™์ผํ•œ ๊ธธ๋“œ์•„์ด๋””๊ฐ€ ์กด์žฌํ•˜๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์•ฑ ์œ ์ € ์•„์ด๋””๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ

412

Precondition Failed

์•ฑ ๋„๋ฉ”์ธ ์•„์ด๋””๊ฐ€ ๋ฏธ ๋“ฑ๋ก๋œ ๊ฒฝ์šฐ

500

Internal Server Error

์„œ๋ฒ„ ์‹œ์Šคํ…œ ๋‚ด๋ถ€ ์˜ค๋ฅ˜

503

Service Unavailable

์„œ๋น„์Šค๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€ ์•Š์€ ์ƒํƒœ (์˜ˆ, ๋‚ด๋ถ€ ์„œ๋ฒ„๊ฐ„ timeout)

ย 

Response Content

Name

Type

Description

Name

Type

Description

worldId

Integer

๊ฒŒ์ž„ ์„œ๋ฒ„ ๋ณ„๋กœ ๋ฐœ๊ธ‰ ๋ฐ›์€ ์›”๋“œ ์•„์ด๋””

guildId

Integer

์ƒ์„ฑ ๋œ ๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์•„์ด๋””

ย 

Example Request

POST /service/v3/guildchat/guild/create HTTP/1.1 Host: openapi-zinny3.game.kakao.com:10443 appId:ย 103815 appSecret: 951b75bf17fe0885ab5106ba2a9f9bc9 Content-Type: application/json;charset=UTF-8 Authorization: KakaoAK c0948035a320f789f585acae3dedcd70 ย ย  { ย ย ย ย "playerId":ย "797921915636", ย ย ย ย "worldId":ย 33040, ย ย ย ย "guildName":ย "ํ…Œ์ŠคํŠธ ๊ธธ๋“œ", ย ย ย ย "leaderNickname":ย "๋ ˆ์˜ค์งฑ", ย ย ย ย "leaderProfileImage":ย "http://mud-kage.kakao.co.kr/dn/LmBIG/wkpVjrqFKE/8YZ8etC5X4TfNqdxkHuxFk/img.jpg", ย ย ย ย "description":ย "๋ ˆ์˜ค๊ธธ๋“œ์ž…๋‹ˆ๋‹ค", ย ย ย ย "imageUrl":ย "http://mud-kage.kakao.co.kr/dn/LmBIG/wkpVjrqFKE/8YZ8etC5X4TfNqdxkHuxFk/img.jpg" }

Example Responseย 

HTTP/1.1ย 200ย OK Content-Type: application/json;charset=UTF-8 ย  { ย ย ย ย "worldId":ย 33040, ย ย ย ย "guildId":ย 1104 }

ย 


/guildchat/guild/update



Description

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์ด๋ฆ„, ํ”„๋กœํ•„ ์ด๋ฏธ์ง€ ๋“ฑ์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.

Method

POST

Request Headersย 

Name

Type

Mandatory

Description

appId

String

Y

๊ฒŒ์ž„ ์•ฑ IDย 

appSecret

String

Y

App Secret

Authorization

String

Y

์„œ๋ฒ„์ธ์ฆ์ •๋ณด: ์ด API ํ˜ธ์ถœ๊ถŒํ•œ์ด์žˆ๋Š”์„œ๋ฒ„์ธ์ง€ํ™•์ธํ•˜๊ธฐ์œ„ํ•œ์ •๋ณด

  • KakaoAK {admin_key} ํ˜•ํƒœ์˜๋ฌธ์ž์—ด

  • {admin_key}๋Š” [๊ฒŒ์ž„์„ผํ„ฐ > ๊ฒŒ์ž„๊ด€๋ฆฌ > ๊ฒŒ์ž„์„ธ๋ถ€์ •๋ณด > Admin Key] ์—์„œํ™•์ธ๊ฐ€๋Šฅ

Request Body Parameters

Name

Type

Mandatory

Description

Name

Type

Mandatory

Description

playerId

String

Y

ํ˜„์žฌ ๋ฆฌ๋” playerId

worldId

Integer

Y

๊ฒŒ์ž„ ์„œ๋ฒ„ ๋ณ„๋กœ ๋ฐœ๊ธ‰ ๋ฐ›์€ ์›”๋“œ ์•„์ด๋””

guildId

Integer

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์•„์ด๋””

guildName

String

N

๊ธธ๋“œ์ด๋ฆ„ (๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์ด๋ฆ„์œผ๋กœ ์„ค์ •๋จ)

newLeaderId

String

N

๋ณ€๊ฒฝํ•  ๊ธธ๋“œ์žฅ Player ID

description

String

N

๊ธธ๋“œ์„ค๋ช… (๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์„ค๋ช…์œผ๋กœ ์„ค์ •๋จ)

imageUrl

String

N

๊ธธ๋“œ๋Œ€ํ‘œ์ด๋ฏธ์ง€ (๊ธธ๋“œ์ฑ„ํŒ…๋ฐฉ ๋Œ€ํ‘œ ํ”„๋กœํ•„ ์ด๋ฏธ์ง€๋กœ ์„ค์ •๋จ, ์—†์„ ๊ฒฝ์šฐ ๊ธฐ๋ณธ ์ด๋ฏธ์ง€๋กœ ์„ค์ •๋จ)



Response Status Code

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

200

์ •์ƒ ์‘๋‹ต

์ •์ƒ

400

Bad Request

ํŒŒ์‹ฑ๋˜์ง€ ์•Š๋Š” ์š”์ฒญ ๋ฐ์ดํ„ฐ. ํ•„์ˆ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ถ€์กฑ or ํŒŒ๋ผ๋ฏธํ„ฐ ํƒ€์ž… ์˜ค๋ฅ˜

401

Unauthenticated

์ธ์ฆ ์‹คํŒจ

403

Forbidden

์š”์ฒญ ํ—ค๋”์™€ ํŒŒ๋ผ๋ฏธํ„ฐ ๊ฐ๊ฐ์˜ ์•ฑ ์•„์ด๋””๊ฐ€ ์ผ์น˜ํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์˜คํ”ˆ์ฑ„ํŒ… ์•ฝ๊ด€๋™์˜๊ฐ€ ์•ˆ ๋œ ์‚ฌ์šฉ์ž๊ฐ€ ์ฑ„ํŒ…๋ฐฉ ์ƒ์„ฑ์„ ์š”์ฒญํ•˜๋Š” ๊ฒฝ์šฐ (์ฐธ๊ณ : ์นด์นด์˜คํ†ก์—์„œ ๋ฐ˜ํ™˜ํ•˜๋Š” HTTP Code๋ฅผ ๊ทธ๋Œ€๋กœ ๋งค์นญํ•ด์„œ ๋ฐ˜ํ™˜)

406

Not Acceptable

์š”์ฒญํ•œ ๊ธธ๋“œ์•„์ด๋””๊ฐ€ ์กด์žฌํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์•ฑ ์œ ์ € ์•„์ด๋””๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ

500

Internal Server Error

์„œ๋ฒ„ ์‹œ์Šคํ…œ ๋‚ด๋ถ€ ์˜ค๋ฅ˜

503

Service Unavailable

์„œ๋น„์Šค๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€ ์•Š์€ ์ƒํƒœ (์˜ˆ, ๋‚ด๋ถ€ ์„œ๋ฒ„๊ฐ„ timeout)

ย 

Response Content

Name

Type

Description

Name

Type

Description

ย 

Example Request

POST /service/v3/guildchat/guild/update HTTP/1.1 Host: openapi-zinny3.game.kakao.com:10443 appId:ย 103815 appSecret: 951b75bf17fe0885ab5106ba2a9f9bc9 Content-Type: application/json;charset=UTF-8 Authorization: KakaoAK c0948035a320f789f585acae3dedcd70 ย ย  { ย ย ย ย "playerId":ย "797921915636", ย ย ย ย "worldId":ย 33040, ย ย ย ย "guildId":ย 1104, ย ย ย ย "guildName":ย "ํ…Œ์ŠคํŠธ ๊ธธ๋“œ2", ย ย ย ย "description":ย "๋ ˆ์˜ค๊ธธ๋“œ ์„ค๋ช… ์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค.", ย ย ย ย "imageUrl":ย "http://mud-kage.kakao.co.kr/dn/LmBIG/wkpVjrqFKE/8YZ8etC5X4TfNqdxkHuxFk/img.jpg" }

Example Responseย 

ย 


/guildchat/guild/delete



Description

๊ธธ๋“œ์ฑ„ํŒ…๋ฐฉ์„ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค.

Method

POST

Request Headersย 

Name

Type

Mandatory

Description

appId

String

Y

๊ฒŒ์ž„ ์•ฑ IDย 

appSecret

String

Y

App Secret

Authorization

String

Y

์„œ๋ฒ„์ธ์ฆ์ •๋ณด: ์ด API ํ˜ธ์ถœ๊ถŒํ•œ์ด์žˆ๋Š”์„œ๋ฒ„์ธ์ง€ํ™•์ธํ•˜๊ธฐ์œ„ํ•œ์ •๋ณด

  • KakaoAK {admin_key} ํ˜•ํƒœ์˜๋ฌธ์ž์—ด

  • {admin_key}๋Š” [๊ฒŒ์ž„์„ผํ„ฐ > ๊ฒŒ์ž„๊ด€๋ฆฌ > ๊ฒŒ์ž„์„ธ๋ถ€์ •๋ณด > Admin Key] ์—์„œํ™•์ธ๊ฐ€๋Šฅ

Request Body Parameters

Name

Type

Mandatory

Description

Name

Type

Mandatory

Description

worldId

Integer

Y

๊ฒŒ์ž„ ์„œ๋ฒ„ ๋ณ„๋กœ ๋ฐœ๊ธ‰ ๋ฐ›์€ ์›”๋“œ ์•„์ด๋””

guildId

Integer

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์•„์ด๋””



Response Status Code

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

200

์ •์ƒ ์‘๋‹ต

์ •์ƒ

400

Bad Request

ํŒŒ์‹ฑ๋˜์ง€ ์•Š๋Š” ์š”์ฒญ ๋ฐ์ดํ„ฐ. ํ•„์ˆ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ถ€์กฑ or ํŒŒ๋ผ๋ฏธํ„ฐ ํƒ€์ž… ์˜ค๋ฅ˜

401

Unauthenticated

์ธ์ฆ ์‹คํŒจ

403

Forbidden

์š”์ฒญ ํ—ค๋”์™€ ํŒŒ๋ผ๋ฏธํ„ฐ ๊ฐ๊ฐ์˜ ์•ฑ ์•„์ด๋””๊ฐ€ ์ผ์น˜ํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์˜คํ”ˆ์ฑ„ํŒ… ์•ฝ๊ด€๋™์˜๊ฐ€ ์•ˆ ๋œ ์‚ฌ์šฉ์ž๊ฐ€ ์ฑ„ํŒ…๋ฐฉ ์‚ญ์ œ๋ฅผ ์š”์ฒญํ•˜๋Š” ๊ฒฝ์šฐ (์ฐธ๊ณ : ์นด์นด์˜คํ†ก์—์„œ ๋ฐ˜ํ™˜ํ•˜๋Š” HTTP Code๋ฅผ ๊ทธ๋Œ€๋กœ ๋งค์นญํ•ด์„œ ๋ฐ˜ํ™˜)

406

Not Acceptable

์š”์ฒญํ•œ ๊ธธ๋“œ์•„์ด๋””๊ฐ€ ์กด์žฌํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์š”์ฒญํ•œ ํ”Œ๋ ˆ์ด์–ด๊ฐ€ ํ•ด๋‹น ๊ธธ๋“œ์ฑ„ํŒ…๋ฐฉ์˜ ๋ฐฉ์žฅ์ด ์•„๋‹Œ ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์•ฑ ์œ ์ € ์•„์ด๋””๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ

500

Internal Server Error

์„œ๋ฒ„ ์‹œ์Šคํ…œ ๋‚ด๋ถ€ ์˜ค๋ฅ˜

503

Service Unavailable

์„œ๋น„์Šค๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€ ์•Š์€ ์ƒํƒœ (์˜ˆ, ๋‚ด๋ถ€ ์„œ๋ฒ„๊ฐ„ timeout)

ย 

Response Content

Name

Type

Description

Name

Type

Description

ย 

Example Request

Example Responseย 

ย 


/guildchat/member/join



Description

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์— ์ƒˆ๋กœ์šด Player๋ฅผ ์ฐธ์—ฌ์‹œํ‚ต๋‹ˆ๋‹ค.

Method

POST

Request Headersย 

Name

Type

Mandatory

Description

appId

String

Y

๊ฒŒ์ž„ ์•ฑ IDย 

appSecret

String

Y

App Secret

Authorization

String

Y

์„œ๋ฒ„์ธ์ฆ์ •๋ณด: ์ด API ํ˜ธ์ถœ๊ถŒํ•œ์ด์žˆ๋Š”์„œ๋ฒ„์ธ์ง€ํ™•์ธํ•˜๊ธฐ์œ„ํ•œ์ •๋ณด

  • KakaoAK {admin_key} ํ˜•ํƒœ์˜๋ฌธ์ž์—ด

  • {admin_key}๋Š” [๊ฒŒ์ž„์„ผํ„ฐ > ๊ฒŒ์ž„๊ด€๋ฆฌ > ๊ฒŒ์ž„์„ธ๋ถ€์ •๋ณด > Admin Key] ์—์„œํ™•์ธ๊ฐ€๋Šฅ

Request Body Parameters

Name

Type

Mandatory

Description

Name

Type

Mandatory

Description

playerId

String

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์— ์ƒˆ๋กœ ์ฐธ์—ฌํ•˜๋Š” playerId

worldId

Integer

Y

๊ฒŒ์ž„ ์„œ๋ฒ„ ๋ณ„๋กœ ๋ฐœ๊ธ‰ ๋ฐ›์€ ์›”๋“œ ์•„์ด๋””

guildId

Integer

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์•„์ด๋””

nickname

String

Y

์ฐธ์—ฌ์ž ๋‹‰๋„ค์ž„

imageUrl

String

N

์ฐธ์—ฌ์ž ํ”„๋กœํ•„ ์ด๋ฏธ์ง€



Response Status Code

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

200

์ •์ƒ ์‘๋‹ต

์ •์ƒ

400

Bad Request

ํŒŒ์‹ฑ๋˜์ง€ ์•Š๋Š” ์š”์ฒญ ๋ฐ์ดํ„ฐ. ํ•„์ˆ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ถ€์กฑ or ํŒŒ๋ผ๋ฏธํ„ฐ ํƒ€์ž… ์˜ค๋ฅ˜

401

Unauthenticated

์ธ์ฆ ์‹คํŒจ

403

Forbidden

์š”์ฒญ ํ—ค๋”์™€ ํŒŒ๋ผ๋ฏธํ„ฐ ๊ฐ๊ฐ์˜ ์•ฑ ์•„์ด๋””๊ฐ€ ์ผ์น˜ํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์˜คํ”ˆ์ฑ„ํŒ… ์•ฝ๊ด€๋™์˜๊ฐ€ ์•ˆ ๋œ ์‚ฌ์šฉ์ž๊ฐ€ ์ฑ„ํŒ…๋ฐฉ ๊ฐ€์ž…์„ ์š”์ฒญํ•˜๋Š” ๊ฒฝ์šฐ (์ฐธ๊ณ : ์นด์นด์˜คํ†ก์—์„œ ๋ฐ˜ํ™˜ํ•˜๋Š” HTTP Code๋ฅผ ๊ทธ๋Œ€๋กœ ๋งค์นญํ•ด์„œ ๋ฐ˜ํ™˜)

406

Not Acceptable

์š”์ฒญํ•œ ๊ธธ๋“œ์•„์ด๋””๊ฐ€ ์กด์žฌํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์•ฑ ์œ ์ € ์•„์ด๋””๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ

500

Internal Server Error

์„œ๋ฒ„ ์‹œ์Šคํ…œ ๋‚ด๋ถ€ ์˜ค๋ฅ˜

503

Service Unavailable

์„œ๋น„์Šค๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€ ์•Š์€ ์ƒํƒœ (์˜ˆ, ๋‚ด๋ถ€ ์„œ๋ฒ„๊ฐ„ timeout)

ย 

Response Content

Name

Type

Description

Name

Type

Description

userId

Long

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์— ์ƒˆ๋กœ ์ฐธ์—ฌํ•œ ์œ ์ €์˜ ์นด์นด์˜ค ๊ฒŒ์ž„ ํšŒ์›๋ฒˆํ˜ธ (Capri User ID)

ย 

Example Request

Example Responseย 

ย 


/guildchat/member/leave



Description

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์—์„œ ๋ฉค๋ฒ„๊ฐ€ ํƒˆํ‡ดํ•˜๋ฉด์„œ ์ฑ„ํŒ…๋ฐฉ์—์„œ ๋‚˜๊ฐ€๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

๋งˆ์ง€๋ง‰ ๋ฉค๋ฒ„๊ฐ€ ๋‚˜๊ฐˆ๋•Œ์—๋Š” ๊ธธ๋“œ๊นŒ์ง€ ์ž๋™์œผ๋กœ ์‚ญ์ œ ์ฒ˜๋ฆฌ ๋ฉ๋‹ˆ๋‹ค.

Method

POST

Request Headersย 

Name

Type

Mandatory

Description

appId

String

Y

๊ฒŒ์ž„ ์•ฑ IDย 

appSecret

String

Y

App Secret

Authorization

String

Y

์„œ๋ฒ„์ธ์ฆ์ •๋ณด: ์ด API ํ˜ธ์ถœ๊ถŒํ•œ์ด์žˆ๋Š”์„œ๋ฒ„์ธ์ง€ํ™•์ธํ•˜๊ธฐ์œ„ํ•œ์ •๋ณด

  • KakaoAK {admin_key} ํ˜•ํƒœ์˜๋ฌธ์ž์—ด

  • {admin_key}๋Š” [๊ฒŒ์ž„์„ผํ„ฐ > ๊ฒŒ์ž„๊ด€๋ฆฌ > ๊ฒŒ์ž„์„ธ๋ถ€์ •๋ณด > Admin Key] ์—์„œํ™•์ธ๊ฐ€๋Šฅ

Request Body Parameters

Name

Type

Mandatory

Description

Name

Type

Mandatory

Description

playerId

String

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์„ ๋‚˜๊ฐ€๋Š” playerId

worldId

Integer

Y

๊ฒŒ์ž„ ์„œ๋ฒ„ ๋ณ„๋กœ ๋ฐœ๊ธ‰ ๋ฐ›์€ ์›”๋“œ ์•„์ด๋””

guildId

Integer

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์•„์ด๋””



Response Status Code

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

200

์ •์ƒ ์‘๋‹ต

์ •์ƒ

400

Bad Request

ํŒŒ์‹ฑ๋˜์ง€ ์•Š๋Š” ์š”์ฒญ ๋ฐ์ดํ„ฐ. ํ•„์ˆ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ถ€์กฑ or ํŒŒ๋ผ๋ฏธํ„ฐ ํƒ€์ž… ์˜ค๋ฅ˜

401

Unauthenticated

์ธ์ฆ ์‹คํŒจ

403

Forbidden

์š”์ฒญ ํ—ค๋”์™€ ํŒŒ๋ผ๋ฏธํ„ฐ ๊ฐ๊ฐ์˜ ์•ฑ ์•„์ด๋””๊ฐ€ ์ผ์น˜ํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์˜คํ”ˆ์ฑ„ํŒ… ์•ฝ๊ด€๋™์˜๊ฐ€ ์•ˆ ๋œ ์‚ฌ์šฉ์ž๊ฐ€ ์ฑ„ํŒ…๋ฐฉ ์ƒ์„ฑ์„ ์š”์ฒญํ•˜๋Š” ๊ฒฝ์šฐ (์ฐธ๊ณ : ์นด์นด์˜คํ†ก์—์„œ ๋ฐ˜ํ™˜ํ•˜๋Š” HTTP Code๋ฅผ ๊ทธ๋Œ€๋กœ ๋งค์นญํ•ด์„œ ๋ฐ˜ํ™˜)

406

Not Acceptable

์š”์ฒญํ•œ ํ”Œ๋ ˆ์ด์–ด ์•„์ด๋””๊ฐ€ ํ•ด๋‹น ๊ธธ๋“œ์ฑ„ํŒ…๋ฐฉ์— ์กด์žฌํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ ๋˜๋Š”

์š”์ฒญํ•œ ํ”Œ๋ ˆ์ด์–ด ์•„์ด๋””๊ฐ€ ํ•ด๋‹น ๊ธธ๋“œ์ฑ„ํŒ…๋ฐฉ์˜ ๋ฐฉ์žฅ์ธ ๊ฒฝ์šฐ ๋˜๋Š”

์นด์นด์˜ค ์•ฑ ์œ ์ € ์•„์ด๋””๋ฅผ ์กฐํšŒํ•  ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ

500

Internal Server Error

์„œ๋ฒ„ ์‹œ์Šคํ…œ ๋‚ด๋ถ€ ์˜ค๋ฅ˜

503

Service Unavailable

์„œ๋น„์Šค๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€ ์•Š์€ ์ƒํƒœ (์˜ˆ, ๋‚ด๋ถ€ ์„œ๋ฒ„๊ฐ„ timeout)

ย 

Response Content

Name

Type

Description

Name

Type

Description

ย 

Example Request

Example Responseย 


/guildchat/member/updateProfile



Description

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์— ์ฐธ์—ฌํ•œ ์œ ์ €์˜ ์ฑ„ํŒ…๋ฐฉ ๋‚ด์˜ ๋‹‰๋„ค์ž„์ด๋‚˜ ํ”„๋กœํ•„ ์‚ฌ์ง„์„ ๋ณ€๊ฒฝ ํ•ฉ๋‹ˆ๋‹ค.

Method

POST

Request Headersย 

Name

Type

Mandatory

Description

appId

String

Y

๊ฒŒ์ž„ ์•ฑ IDย 

appSecret

String

Y

App Secret

Authorization

String

Y

์„œ๋ฒ„์ธ์ฆ์ •๋ณด: ์ด API ํ˜ธ์ถœ๊ถŒํ•œ์ด์žˆ๋Š”์„œ๋ฒ„์ธ์ง€ํ™•์ธํ•˜๊ธฐ์œ„ํ•œ์ •๋ณด

  • KakaoAK {admin_key} ํ˜•ํƒœ์˜๋ฌธ์ž์—ด

  • {admin_key}๋Š” [๊ฒŒ์ž„์„ผํ„ฐ > ๊ฒŒ์ž„๊ด€๋ฆฌ > ๊ฒŒ์ž„์„ธ๋ถ€์ •๋ณด > Admin Key] ์—์„œํ™•์ธ๊ฐ€๋Šฅ

Request Body Parameters

Name

Type

Mandatory

Description

Name

Type

Mandatory

Description

playerId

String

Y

ํ”„๋กœํ•„ ์—…๋ฐ์ดํŠธํ•  playerId

worldId

Integer

Y

๊ฒŒ์ž„ ์„œ๋ฒ„ ๋ณ„๋กœ ๋ฐœ๊ธ‰ ๋ฐ›์€ ์›”๋“œ ์•„์ด๋””

guildId

Integer

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์•„์ด๋””

nickname

String

Y

๋‹‰๋„ค์ž„

imageUrl

String

N

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



Response Status Code

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

200

์ •์ƒ ์‘๋‹ต

์ •์ƒ

400

Bad Request

ํŒŒ์‹ฑ๋˜์ง€ ์•Š๋Š” ์š”์ฒญ ๋ฐ์ดํ„ฐ. ํ•„์ˆ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ถ€์กฑ or ํŒŒ๋ผ๋ฏธํ„ฐ ํƒ€์ž… ์˜ค๋ฅ˜

401

Unauthenticated

์ธ์ฆ ์‹คํŒจ

406

Not Acceptable

์ฒ˜๋ฆฌ ๋ถˆ๊ฐ€

500

Internal Server Error

์„œ๋ฒ„ ์‹œ์Šคํ…œ ๋‚ด๋ถ€ ์˜ค๋ฅ˜

503

Service Unavailable

์„œ๋น„์Šค๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€ ์•Š์€ ์ƒํƒœ (์˜ˆ, ๋‚ด๋ถ€ ์„œ๋ฒ„๊ฐ„ timeout)

Response Content

Name

Type

Description

Name

Type

Description

ย 

Example Request

Example Responseย 

ย 


/guildchat/chat/sendFeed



Description

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ์— ํ”ผ๋“œ ํ˜•ํƒœ์˜ ๋ฉ”์‹œ์ง€๋ฅผ ์ „์†กํ•ฉ๋‹ˆ๋‹ค.

API๋ฅผ ํ†ตํ•ด ์ง์ ‘ ์ „์†กํ•˜๋ฉฐ, ๋ฉ”์‹œ์ง€ ํ…œํ”Œ๋ฆฟ์„ ์‚ฌ์ „์— ๋“ฑ๋กํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.

Method

POST

Request Headersย 

Name

Type

Mandatory

Description

appId

String

Y

๊ฒŒ์ž„ ์•ฑ IDย 

appSecret

String

Y

App Secret

Authorization

String

Y

์„œ๋ฒ„์ธ์ฆ์ •๋ณด: ์ด API ํ˜ธ์ถœ๊ถŒํ•œ์ด์žˆ๋Š”์„œ๋ฒ„์ธ์ง€ํ™•์ธํ•˜๊ธฐ์œ„ํ•œ์ •๋ณด

  • KakaoAK {admin_key} ํ˜•ํƒœ์˜๋ฌธ์ž์—ด

  • {admin_key}๋Š” [๊ฒŒ์ž„์„ผํ„ฐ > ๊ฒŒ์ž„๊ด€๋ฆฌ > ๊ฒŒ์ž„์„ธ๋ถ€์ •๋ณด > Admin Key] ์—์„œํ™•์ธ๊ฐ€๋Šฅ

Request Body Parameters

Name

Type

Mandatory

Description

Name

Type

Mandatory

Description

worldId

Integer

Y

๊ฒŒ์ž„ ์„œ๋ฒ„ ๋ณ„๋กœ ๋ฐœ๊ธ‰ ๋ฐ›์€ ์›”๋“œ ์•„์ด๋””

guildId

Integer

Y

๊ธธ๋“œ ์ฑ„ํŒ…๋ฐฉ ์•„์ด๋””

icon

String

Y

ํ”ผ๋“œ ์ขŒ์ธก์— ํ‘œ์‹œ๋˜๋Š” ์•„์ด์ฝ˜์ด๋ฏธ์ง€ URL

์•„์ด์ฝ˜์‚ฌ์ด์ฆˆ๋Š” 60*60

text

String

Y

ํ”ผ๋“œ์— ํ‘œ์‹œํ•  ๋ฉ”์‹œ์ง€

  • ์นด์นด์˜คํ†ก ํด๋ผ์ด์–ธํŠธ์—์„œ ์ตœ๋Œ€ ๋‘ ์ค„๋กœ ํ‘œ์‹œ๋˜๋ฉฐ ์ดˆ๊ณผํ•  ๊ฒฝ์šฐ ๋ง์ค„์ž„ํ‘œ(โ€ฆ)๋กœ ํ‘œ์‹œ

  • ์ผ๋ถ€ ํ…์ŠคํŠธ ๊ฐ•์กฐ๋ฅผ ์œ„ํ•ด font style ์ง€์›. ์ตœ๋Œ€ 1ํšŒ 1์—ฐ๊ฒฐ ๋‹จ์–ด์— ๋Œ€ํ•ด์„œ๋งŒ ์‚ฌ์šฉํ•˜๊ณ  ๊ฐ•์กฐ ์ปฌ๋Ÿฌ๋Š” #feef46๋งŒ ์‚ฌ์šฉ ๊ฐ€๋Šฅ

  • ์˜ˆ์‹œ: OOO๋‹˜์ด <font color="#feef46">ํฌ๊ท€์•„์ดํ…œ</font>์„ ํš๋“ ํ•˜์…จ์Šต๋‹ˆ๋‹ค.

type

String

N

ํ”ผ๋“œ๋งํฌํƒ€์ž… (์—†์„ ๊ฒฝ์šฐ, app์œผ๋กœ ์„ค์ •๋จ)

  • web: ์›น๋ธŒ๋ผ์šฐ์ €๋กœ url ์—ฐ๊ฒฐ

  • app: ๊ฒŒ์ž„์•ฑ์‹คํ–‰. ์ด ๊ฒฝ์šฐ url๊ณผ install url ์ •๋ณด๋ฅผ ์ž๋™์œผ๋กœ ์‹ฌ์–ด์คŒ (๊ฒŒ์ž„์„ผํ„ฐ์—์„œ ์ž…๋ ฅํ•œ ์ •๋ณด ์ฐธ์กฐ)

webUrl

String

N

์ด๋™ํ•  ๋งํฌ url (type=web์ผ ๊ฒฝ์šฐ ํ•„์ˆ˜)



Response Status Code

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

Status Code

Status Code ์„ค๋ช…

Status Code ์ƒ์„ธ ์„ค๋ช…

200

์ •์ƒ ์‘๋‹ต

์ •์ƒ

400

Bad Request

ํŒŒ์‹ฑ๋˜์ง€ ์•Š๋Š” ์š”์ฒญ ๋ฐ์ดํ„ฐ. ํ•„์ˆ˜ ํŒŒ๋ผ๋ฏธํ„ฐ ๋ถ€์กฑ or ํŒŒ๋ผ๋ฏธํ„ฐ ํƒ€์ž… ์˜ค๋ฅ˜

401

Unauthenticated

์ธ์ฆ ์‹คํŒจ

406

Not Acceptable

์ฒ˜๋ฆฌ ๋ถˆ๊ฐ€

500

Internal Server Error

์„œ๋ฒ„ ์‹œ์Šคํ…œ ๋‚ด๋ถ€ ์˜ค๋ฅ˜

503

Service Unavailable

์„œ๋น„์Šค๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€ ์•Š์€ ์ƒํƒœ (์˜ˆ, ๋‚ด๋ถ€ ์„œ๋ฒ„๊ฐ„ timeout)

Response Content

Name

Type

Description

Name

Type

Description

ย 

Example Request

Example Responseย