๊ฐ9 API(์ดํ API)๋ ๊ฐ9 ๊ธฐ๋ฅ ๋๋ถ๋ถ์ ์ง์ํ๋ฉฐ, ๋ณ๋์ API ๋๋ฉ์ธ์์ REST ํ์์ผ๋ก ์ง์ํฉ๋๋ค.์ต์ ๋ฌธ์ ๋ด์ฉ์ ํญ์ API Github ์์ ํ์ธํ์ค ์ ์์ต๋๋ค.
๊ฐ9์์ ์ค์ ๋ก ์ ๊ณตํ๋ ๋ชจ๋ ์ด๋ฏธ์ง์๋, ์ํฐ๋งํฌ๊ฐ ํฌํจ๋์ด ์์ต๋๋ค. API๋ฅผ ์ฌ์ฉํ๋ ์ฌ์ฉ์๋, ์ด ์ํฐ๋งํฌ๋ฅผ ์์๋ก ์ ๊ฑฐํ ์ ์์ผ๋ฉฐ ์ ๊ฑฐํ์ฌ ์ด์ฉํ ๊ฒฝ์ฐ API ์ฌ์ฉ์ด ์ฐจ๋จ ๋๋ ๋ฑ์ ๋ถ์ด์ต์ ๋ฐ์ผ์ค ์ ์์ต๋๋ค.
์ด์ ๊ด๋ จ๋ ์์ธํ ๋ฌธ์๋ support@gae9.com ์ผ๋ก ๋ถํ๋๋ฆฝ๋๋ค.
- ๋ณธ ๋ฌธ์์์ <๋ด์ฉ> ํํ๋ฃ ํ์๋ ๋ถ๋ถ์, ์ ๋นํ ์๋ง์ ๊ฐ์ผ๋ก ๋ณ๊ฒฝํด ๋ฃ์ด์ผ ํ๋ ์ธ์๋ฅผ ์๋ฏธ ํฉ๋๋ค.
API๋ ์ธ์ฆ์ ํ์๋ก ํ๋ API์ ์ธ์ฆ์์ด ์๋๋๋ API๋ก ๊ตฌ๋ณ๋๋ฉฐ, ๋ชจ๋ ์ฐ๊ธฐ/์ ๋ฐ์ดํธ/์ญ์ ๋ฑ์ ์์ฒญ์๋ ์ธ์ฆ์ด ํ์ํฉ๋๋ค.
๊ธฐ๋ณธ์ ์ผ๋ก ์ธ์ฆ์ ๋ค์๊ณผ ๊ฐ์ ๋ฐฉ์์ ์ง์ํ๊ณ ์์ต๋๋ค.
- OAuth 2.0 Draft 16 ์ด์
- ๋ธ๋ผ์ฐ์ ์ธ์ ์ ์ด์ฉํ ๋ฐฉ๋ฒ
์ฃผ์: ๋ธ๋ผ์ฐ์ ์ธ์ ์ ์ด์ฉํ ๋ฐฉ๋ฒ์ ๊ฒฝ์ฐ, GAE9ํ๊ณผ ๋ณ๋์ ํ์๊ฐ ํ์ํฉ๋๋ค. ์์ธํ ๋ด์ฉ์ support@gae9.com ์ผ๋ก ๋ฉ์ผ ์ฃผ์ธ์.
OAuth ์ธ์ฆ์ OAuth 2.0 Draft 16 ์ด์์ ํ์ค์ ์ค์ํ๋ ์ ์์ ์ง์ํ๋ฉฐ, HTTP Authorization ํด๋๋ฅผ ํตํด, HMAC-SHA1 ์ผ๋ก ์๋ช ๋ ์๋ช ๋ง ์๋ฝํ๊ณ ์์ต๋๋ค.
| Endpoint | URL |
|---|---|
| Token Request | http://api.gae9.com/oauth/request_token |
| Authorize | http://api.gae9.com/oauth/authorize |
| Access Token | http://api.gae9.com/oauth/access_token |
OAuth ์ธ์ฆ์ ์ฌ์ฉํ๋ ค๋ฉด GAE9 ๊ฐ๋ฐ์ ํ์ด์ง ์์ Application ๋ฑ๋ก ๊ณผ์ ์ ์ํํด์ผ ํฉ๋๋ค.
๋ชจ๋ ์์ฒญ์ http://api.gae9.com ํธ์คํธ์์ ์ฒ๋ฆฌ ๋ฉ๋๋ค.
| METHOD | URL | DESCRIPTION | ์ธ์ฆ |
|---|---|---|---|
| GET | /channel | ์ฑ๋ ๋ชฉ๋ก | N |
| GET | /channel/<channel> | <channel>์ ์ํ ๊ฐ๊ทธ, ์ฌ์ง ๋ชฉ๋ก | N |
| GET | /tag | ํ๊ทธ ๋ชฉ๋ก | N |
| GET | /gag | ๊ฐ๊ทธ, ์ฌ์ง ๋ชฉ๋ก | N |
| GET | /gag/<gag id> | ํน์ <gag id>์ ๋ํ ์ ๋ณด | N |
| GET | /gag/<gag id>/image | ๊ฐ์ฅ ํฐ ์ฌ์ด์ฆ ์ด๋ฏธ์ง | N |
| POST | /gag/<gag id>/tag/<tag> | ๊ฐ๊ทธ์ ํ๊ทธ ์ถ๊ฐ | Y |
| DELETE | /gag/<gag id>/tag/<tag> | ๊ฐ๊ทธ์ ํ๊ทธ ์ญ์ | Y |
| POST | /gag | ์ฌ์ง ์ ๋ก๋ | Y |
| DELETE | /gag/<gag id> | ์ฌ์ง ์ญ์ | Y |
| GET | /search | ๊ฒ์ | N |
๋ชจ๋ ์์ฒญ์ ๋ํ ์๋ต์ application/json ํํ๋ก ์ ๊ณต๋๋ฉฐ JSONP ํํ ๋ฑ์ ์ฌ์ฉ ํธ์๋ฅผ ์ํด ๋ชจ๋ HTTP ์๋ต ์ฝ๋๋ 200 ์ผ๋ก ์ ๊ณต๋ฉ๋๋ค.
HTTP/1.1 200 OK
Server: nginx
Content-Type: application/json
{}์ด์ ๋ฐ๋ผ ๋ชจ๋ ์๋ต์, ๋ค์๊ณผ ๊ฐ์ ํํ๋ฅผ ์ทจํฉ๋๋ค.
{
"meta": {
"status": 200,
"message": "OK"
},
"response": { ... }
}JSONP ์ง์์ ์ํด, jsonp= ํน์ callback= ํ์์ ์ธ์๋ฅผ ์ง์ํฉ๋๋ค. APIํธ์ถ์ ํด๋น ์ธ์๋ฅผ ํฌํจํ์ฌ ํธ์ถํ ๊ฒฝ์ฐ, ์๋ต์ ํด๋น ์ธ์๋ก ์ ๋ฌ๋ ํจ์๋ฅผ ํธ์ถํ๋ ํ์์ผ๋ก ๋ณ๊ฒฝ๋ฉ๋๋ค.
์์ฒญ์ด ์ผ์ ๊ฐฏ์๋ฅผ ๋์ด๊ฐ ๊ฒฝ์ฐ, meta ์๋ต์ ํ์ด์ง ์ ๋ณด๊ฐ ํฌํจ๋ฉ๋๋ค. ๋ฐ๋ผ์ ๋ค์๊ณผ ๊ฐ์ ํํ๋ก ํ์ด์ง ์์ฒญ์ ํ ์ ์์ต๋๋ค.
meta ์๋ต์ ํฌํจ๋๋ ํ์ด์ง ์ ๋ณด๋ ์๋์ ๊ฐ์ ํ์ ์ ๋๋ค.
{
"meta": {
"paging": {
"next": 2,
"cur": 1,
"prev": null
}
}
}๊ฐ9 ์ ์ฒด ์ฑ๋ ๋ชฉ๋ก์ ๋ฐํ ํฉ๋๋ค.
| ํ๋๋ช | Type | ๊ธฐ๋ฅ | ์ค๋ช |
|---|---|---|---|
| name | String | ์ฑ๋๋ช | ๊ณ ์ ํ ๊ตฌ๋ถ์(Uniqye Key)์ ๋๋ค. |
| url | String | ์ฃผ์ | ์น์์ ์ฑ๋์ ์ ๊ทผํ ์ ์๋ ๊ณ ์ ๋งํฌ(Permalink)์ ๋๋ค. |
| feed | String | ํผ๋์ฃผ์ | ์ฑ๋์ ์ ๋ฐ์ดํธ๋ฅผ ๋ฐ์๋ณผ ์ ์๋ RSS ์ฃผ์ ์ ๋๋ค. |
| last_published_at | String | ์ต๊ทผํญ๋ชฉ | ์ฑ๋์ ๊ฐ์ฅ ๋ง์ง๋ง์ ์ ๋ก๋๋ ๊ฐ๊ทธ์ ์๊ฐ์ผ๋ก ISO8601 ํ์ ์ ๋๋ค. |
| count | Number | ํญ๋ชฉ๊ฐฏ์ | ์ฑ๋์ ์ ๋ก๋ ๋์ด ์๋ ํญ๋ชฉ์ ์ด ์ ์ ๋๋ค. |
| latest_gag | GAG | ์ต๊ทผํญ๋ชฉ | ์ฑ๋์ ๊ฐ์ฅ ๋ง์ง๋ง์ ์ ๋ก๋๋ ํญ๋ชฉ์ ๋ฐ์ดํฐ ์ ๋๋ค. |
{
"meta": {
"status": 200,
"message": "OK"
},
"response": [
{
"name": "GAE9",
"url": "http://gae9.com/channel/1",
"feed": "http://gae9.com/channel/1/feed",
"last_published_at": "2012-11-05T11:11:11Z",
"count": 9292,
"latest_gag": { ... }
},
]
}์ง์ ํ <channel> ์ ๋ณด๋ฅผ ๋ฐํ ํฉ๋๋ค.
| ํ๋๋ช | Type | ๊ธฐ๋ฅ | ์ค๋ช |
|---|---|---|---|
| name | String | ์ฑ๋๋ช | ๊ณ ์ ํ ๊ตฌ๋ถ์(Uniqye Key)์ ๋๋ค. |
| url | String | ์ฃผ์ | ์น์์ ์ฑ๋์ ์ ๊ทผํ ์ ์๋ ๊ณ ์ ๋งํฌ(Permalink)์ ๋๋ค. |
| feed | String | ํผ๋์ฃผ์ | ์ฑ๋์ ์ ๋ฐ์ดํธ๋ฅผ ๋ฐ์๋ณผ ์ ์๋ RSS ์ฃผ์ ์ ๋๋ค. |
| last_published_at | String | ์ต๊ทผํญ๋ชฉ | ์ฑ๋์ ๊ฐ์ฅ ๋ง์ง๋ง์ ์ ๋ก๋๋ ๊ฐ๊ทธ์ ์๊ฐ์ผ๋ก ISO8601 ํ์ ์ ๋๋ค. |
| count | Number | ํญ๋ชฉ๊ฐฏ์ | ์ฑ๋์ ์ ๋ก๋ ๋์ด ์๋ ํญ๋ชฉ์ ์ด ์ ์ ๋๋ค. |
| latest_gag | GAG | ์ต๊ทผํญ๋ชฉ | ์ฑ๋์ ๊ฐ์ฅ ๋ง์ง๋ง์ ์ ๋ก๋๋ ํญ๋ชฉ์ ๋ฐ์ดํฐ ์ ๋๋ค. |
{
"meta": {
"status": 200,
"message": "OK"
},
"response": {
"name": "GAE9",
"url": "http://gae9.com/channel/1",
"feed": "http://gae9.com/channel/1/feed",
"last_published_at": "2012-11-05T11:11:11Z",
"count": 9292,
"latest_gag": { ... }
}
}๋ฑ๋ก๋ ๋ชจ๋ ํ๊ทธ์ ๋ชฉ๋ก์ ๋ฐํํฉ๋๋ค.
| ํ๋๋ช | Type | ๊ธฐ๋ฅ | ์ค๋ช |
|---|---|---|---|
| name | String | ์ด๋ฆ | ํ๊ทธ๋ช |
| permalink | String | ๊ณ ์ ์ฃผ์ | ๊ทธ์ ๊ณ ์ ์ฃผ์(URL) |
| count | Number | ์ด๊ฐฏ์ | ํด๋น ํ๊ทธ๋ก ํ๊น ๋ ์ปจํ ์ธ ์ ์ |
{
"meta": {
"status": 200,
"message": "OK"
},
"response": [
{
"name": "\\uace0\\uc591\\uc774",
"permalink": "http://gae9.com/search?tags=\uace0\uc591\uc774",
"count": 100
}
]
}์ ์ฒด ๊ฐ๊ทธ ๋ชฉ๋ก์ ๋ฐํํฉ๋๋ค.
/gag/<gag id> ํญ๋ชฉ์ ์ฐธ๊ณ ํ์ธ์.
<gag id> ์ ํด๋นํ๋ ๋ด์ฉ์ ๋ฐํํฉ๋๋ค.
| ํ๋๋ช | Type | ๊ธฐ๋ฅ | ์ค๋ช |
|---|---|---|---|
| id | String | ๊ณ ์ ID | ํด๋น ๊ฐ๊ทธ์ ๊ณ ์ ๊ตฌ๋ถ์(Unique Key) ์ ๋๋ค. |
| permalink | String | ๊ณ ์ ์ฃผ์ | ํด๋น ๊ฐ๊ทธ๋ฅผ ๊ณ ์ ํ๊ฒ ํํํ๋ URL ์ ๋๋ค. |
| author | Hash | ์์ฑ์ | ย |
| author.id | String | ๊ณ ์ ID | ์์ฑ์์ ๊ณ ์ ๊ตฌ๋ถ์(Unique Key) ์ ๋๋ค. |
| author.name | String | ์์ฑ์๋ช | ์์ฑ์์ ํ์๋ช (Screen Name) ์ ๋๋ค. |
| title | String | ์ ๋ชฉ | ํด๋น ๊ฐ๊ทธ์ ์ ๋ชฉ |
| published_at | String | ์์ฑ์ผ | ISO8601 ํ์์ ๊ฐ๊ทธ ์์ฑ์ผ ์ ๋๋ค. |
| score | Number | ์ ์ | ํด๋น ๊ฐ๊ทธ๊ฐ ํ๋ํ ์ ์ ์ ๋๋ค. |
| share | Number | ๊ณต์ | ํด๋น ๊ฐ๊ทธ๊ฐ SNS์์ ๊ณต์ ๋ ์๋ฅผ ๋ํ๋ ๋๋ค. |
| likes | Number | ์ข์์ | ํด๋น ๊ฐ๊ทธ๊ฐ ์ฌ์ดํธ์์ ํ๋ํ ์ข์์์ ์๋ฅผ ๋ํ๋ ๋๋ค. |
| tags | Array | ํ๊ทธ | ย |
| tags.name | String | ํ๊ทธ๋ช | ํด๋น ๊ฐ๊ทธ์ ํ๊ทธ๋ ํ๊ทธ์ ์ด๋ฆ์ ๋๋ค. |
| tags.permalink | String | ํ๊ทธ์ฃผ์ | ํด๋น ํ๊ทธ์ ๋ํ ๊ณ ์ URL ์ ๋๋ค. |
| images | Array | ์ด๋ฏธ์ง | ํฌ๊ธฐ๋ณ ์ด๋ฏธ์ง ์ข ๋ฅ๋ฅผ ๋ํ๋ ๋๋ค. |
| images.name | String | ์ข ๋ฅ | ์ด๋ฏธ์ง์ ์ข ๋ฅ๋ฅผ ๋ํ๋ ๋๋ค. |
| images.width | Number | ๊ฐ๋กํฌ๊ธฐ | ์ด๋ฏธ์ง์ ๊ฐ๋กํฌ๊ธฐ(๋จ์: px)๋ฅผ ๋ํ๋ ๋๋ค. |
| images.height | Number | ์ธ๋กํฌ๊ธฐ | ์ด๋ฏธ์ง์ ์ธ๋กํฌ๊ธฐ(๋จ์: px)๋ฅผ ๋ํ๋ ๋๋ค. |
| images.url | String | ์ฃผ์ | ์ด๋ฏธ์ง์ URL ์ ๋๋ค. |
| source | String | ์ถ์ฒ | ํด๋น ์ปจํ ์ธ ์ ์ถ์ฒ๋ฅผ ๋ํ๋ ๋๋ค. |
| type | String | ์ข ๋ฅ | ํด๋น ์ปจํ ์ธ ์ ์ข ๋ฅ๋ฅผ ๋ํ๋ ๋๋ค.(image|video) |
| type_features | Hash | ๋ถ๊ฐ์ ๋ณด | ์ข ๋ฅ๋ณ๋ก ์ถ๊ฐ์ ์ธ ์ ๋ณด๊ฐ ๋ด๊น๋๋ค. |
๊ฐ9 ์์ ์ ๊ณตํ๋ ๋ชจ๋ ์ปจํ ์ธ ๋ image ํน์ video ์ค ํ๋์ ์ข ๋ฅ์ ๋๋ค. ์ํ๊น๊ฒ๋, ์ปจํ ์ธ ์ค ์ผ๋ถ๋ ์ธ๋ถ์ฌ์ ์์ ์ปจํ ์ธ ์ ์์กดํด์ผ ํ๋ฏ๋ก API ์์ ํ์คํ๋ ์๋ต์ ์ ๊ณตํ๊ธฐ ์ด๋ ค์ด ๋ฉด์ด ์์ต๋๋ค.
๋ฐ๋ผ์, ๊ฐ9 ์์๋ type_features ๋ผ๋ ๋ถ๊ฐ์ ๋ณด๋ฅผ ๊ฐ ์ปจํ ์ธ ์ข ๋ฅ์ ๋ง๊ฒ ์ถ๊ฐ์ ์ธ ์๋ต์ผ๋ก ์ ๊ณตํฉ๋๋ค.
"type-features": {
"content-type": "image/gif"
"animated": true
}type_features["provider"] ์ ๋ณด์ ๋ฐ๋ผ์ ๊ฐ ๋ค๋ฅธ ํํ์ ๋ถ๊ฐ์ ๋ณด๊ฐ ํฌํจ๋ฉ๋๋ค.
"type_features": {
"permalink": "http://youtu.be/lhe7IiQ_4xA",
"provider": "youtube",
"thumbnails": {
"default": "http://img.youtube.com/vi/lhe7IiQ_4xA/default.jpg",
"hqdefault": "http://img.youtube.com/vi/lhe7IiQ_4xA/hqdefault.jpg"
}
}"type_features": {
"permalink": "http://vimeo.com/52942657",
"provider": "vimeo",
"oembed": "http://vimeo.com/api/oembed.json?url=http%3A//vimeo.com/52942657"
}"type_features": {
"permalink": "http://tvpot.daum.net/v/vc8abuorokllLLHxlkuTxEx",
"provider": "tvpot",
"thumbnails": {
"default": "http://i1.daumcdn.net/svc/image/U03/tvpot_thumb/vc8abuorokllLLHxlkuTxEx/thumb.png",
"thumb_1": "http://i1.daumcdn.net/svc/image/U03/tvpot_thumb/vc8abuorokllLLHxlkuTxEx/1.png",
"thumb_2": "http://i1.daumcdn.net/svc/image/U03/tvpot_thumb/vc8abuorokllLLHxlkuTxEx/2.png",
"thumb_3": "http://i1.daumcdn.net/svc/image/U03/tvpot_thumb/vc8abuorokllLLHxlkuTxEx/3.png",
}
}๊ฐ9 ์์๋ ํน์ ๊ฐ๊ทธ์ ์ด๋ฏธ์ง์ ๋ํด์ ๋ค์ํ ํฌ๊ธฐ์ ์ด๋ฏธ์ง๋ฅผ ์์ฑํ์ฌ ์ ๊ณตํฉ๋๋ค.
| ์ข ๋ฅ | ํฌ๊ธฐ ๊ท์น |
|---|---|
| full | ์๋ณธ ํฌ๊ธฐ |
| thumbnail | ๊ฐ๋ก ํฌ๊ธฐ๋ฅผ ์ต๋ 480px ๊น์ง (id 172๊น์ง๋ 640px) ํ์ฉํ๋ ํฌ๊ธฐ๋ก ์กฐ์ ๋ฉ๋๋ค. |
| small | 80px*80px ํฌ๊ธฐ์ ์ ์ฌ๊ฐํ์ผ๋ก ์กฐ์ ํฉ๋๋ค. |
๋ง์ฝ, ์ ๋ก๋๋ ์ปจํ ์ธ ๊ฐ Animated GIF ๋ผ๋ฉด ๋ค์ ๊ท์น์ ๋ฐ๋ฆ ๋๋ค.
| full | ์๋ณธ์ ์๋๋ฉ์ด์ ์ ๊ทธ๋๋ก ์ ์งํฉ๋๋ค. |
| thumbnail | ์ฒซ ํ๋ ์๋ง ์ถ์ถํ์ฌ ์ ์ ์ด๋ฏธ์ง๋ก ์์ฑํฉ๋๋ค.(ํฌ๊ธฐ ๋ณ๊ฒฝ ์์) |
| small | ์ฒซ ํ๋ ์๋ง ์ถ์ถํ์ฌ ์ ์ ์ด๋ฏธ์ง๋ก ์์ฑํฉ๋๋ค.(ํฌ๊ธฐ ๋ณ๊ฒฝ ์์) |
{
"meta": {
"status": 200,
"message": "OK"
},
"response": {
"id": "16232",
"permalink": "http://gae9.com/gag/16232",
"author": {
"id": "5",
"name": "kkungkkung"
},
"title": "\\uc800\\uae30.. \\ud558\\uc774\\ud30c\\uc774\\ube0c\\uc880 \\ud574\\uc8fc\\uc9c0 \\uc54a\\uc744\\ub798?",
"published_at": "2012-10-25T02:10:00Z",
"score": 7,
"share": 13,
"likes": 4,
"tags": [
{
"name": "\\uace0\\uc591\\uc774",
"permalink": "http://gae9.com/search?tags=\uace0\uc591\uc774"
}
],
"images": [
{
"name": "full",
"width": 1024,
"height" 768,
"url": ""
},
{
"name": "thumbnail",
"width": 480,
"height": 480,
"url": ""
},
{
"name": "small",
"width": 80,
"height": 80,
"url": ""
}
],
"type": "image",
"type_features": {
"content-type": "image/jpeg"
}
"source": "http://imgur.com/gallery/ZoEY8",
}
}<gag id> ์ ํด๋นํ๋ ๋ด์ฉ์ ๊ฐ์ฅ ํฐ ์ด๋ฏธ์ง ์ฃผ์๋ฅผ 302 Found Redirect ํฉ๋๋ค.
์ฃผ์: ๋น API๋ ์ ์ผํ๊ฒ api.gae9.com ์ด ์๋ gae9.com ์ผ๋ก ํธ์ถ ํฉ๋๋ค.
- 415 UNSUPPORTED MEDIA TYPE: ๋์์๋ฑ ๋จ์ํ ์ฌ์ฉํ ์ ์๋ ๊ฒฝ์ฐ ๋ฐํ๋ฉ๋๋ค.
- 302 Found: ์ด๋ฏธ์ง์ ์ฃผ์์ ๋๋ค.
๋ค์ํ ๋ฐฉ๋ฒ์ผ๋ก ๊ฐ9 ์ปจํ ์ธ ๋ฅผ ๊ฒ์ํ ์ ์๋ ๊ธฐ๋ฅ์ ๋๋ค.
๊ฒ์ API๋ ๋ค์๊ณผ ๊ฐ์ ์ข ๋ฅ์ ์ธ์๋ฅผ ์ง์ํ๋ฉฐ, 2๊ฐ์ ์ธ์๋ฅผ ์กฐํฉํ์ฌ ์ฌ์ฉํ ์ ์์ผ๋ฉฐ, sort ๋ฅผ ์ ์ธํ ํ๊ฐ์ง ์ด์์ ์ธ์๊ฐ ์ ๊ณต๋์ด์ผ ํฉ๋๋ค.
| ์ข ๋ฅ | ์ค๋ช | ๊ธฐ๋ณธ๊ฐ |
|---|---|---|
| q | ์ ๋ชฉ๋ฑ์ ๊ฒ์์ด | NULL |
| tags | ๋์ด์ฐ๊ธฐ๋ก ๊ตฌ๋ถํ๋ ํ๊ทธ ๋ชฉ๋ก์ผ๋ก AND ์ง์ ์ ๋๋ค. | NULL |
| type | ์ปจํ ์ธ ์ข ๋ฅ(image, animated, video) | NULL |
| sort | ์ ๋ ฌ ๋ฐฉ๋ฒ์ ์ ์ํฉ๋๋ค. | hot |
| channel | ํน์ ์ฑ๋๋ช ๋๋ ์ฑ๋์ ID๋ก ๊ฒ์ํฉ๋๋ค. | NULL |
์ ๋ ฌ ๋ฐฉ์์ ๋ค์๊ณผ ๊ฐ์ ๊ฐ์ด ์ง์๋ฉ๋๋ค.
| sort | ์ค๋ช |
|---|---|
| hot | ์ต์ ๊ฐ๊ทธ๋ค ์ค ์ธ๊ธฐ์๋ ํญ๋ชฉ๋ค |
| best | ํน์ ๊ฐฏ์์ ์ต์ ๊ธ ์ค์์ ๊ฐ์ฅ ์ ์๊ฐ ๋์ ํญ๋ชฉ |
| new | ์ต์ ์ |
/gag ์ ๊ฐ์ ํ์์ผ๋ก ์๋ต์ด ์ ๊ณต๋ฉ๋๋ค.
- GET http://api.gae9.com/search?tags=์์ด์ %20ํธ์ํ ์ผ