-
Notifications
You must be signed in to change notification settings - Fork 0
Items
Justin edited this page Sep 30, 2013
·
8 revisions
-
Path: /v1/items
-
Authentication Header: X-APP-KEY, X-AUTH-UUID, X-AUTH-TOKEN
-
Method: GET
-
Parameters:
Name Type Description key Array of String 얻어오고자 아는 item의 key 목록 -
Request URI Example:
http://[server-url]/v1/item?key=hearts&key=character.
- Response Body: JSON
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
| result_code | Number | Error Code 참고 | ||||||
| result_message | Option[String] | 실패한 경우에 메시지 있을 수 있음 | ||||||
| items | JSON Object |
|
- Response Body Example:
{
"result_code": 0,
"items": {
"key1": "value1",
"key2": "value2"
}
}- Path: /v1/items
- Authentication Header: X-APP-KEY, X-AUTH-UUID, X-AUTH-TOKEN
- Method: POST
- Request Body:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| items | JSON Array | 다음을 포함하는 JSON Array
|
||||||||||||
| with_return_values | Boolean | true이면 변경된 데이터를 결과에 포함한다. Default는 false |
- Response Body: JSON
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| result_code | Number | Error Code 참고 | |||||||||
| result_message | Option[String] | 실패한 경우에 메시지 있을 수 있음 | |||||||||
| items | JSON Array | 변경된 item의 값들
|