Skip to content

API 가이드 응답코드 설명 및 예시 코드 압축파일 추가 #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: alpha
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions ko/api-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ X-Auth-Token: {token-id}
| Container | URL| String | O | 삭제할 컨테이너 이름 |

#### 응답
이 요청은 응답 본문을 반환하지 않습니다. 요청이 올바르면 상태 코드 204를 반환합니다.
이 요청은 응답 본문을 반환하지 않습니다. 요청이 올바르면 상태 코드 204를 반환합니다. 비어 있지 않은 컨테이너를 삭제 시도할 경우, 상태 코드 409를 반환합니다.

<br/>

Expand Down Expand Up @@ -1726,7 +1726,7 @@ X-Auth-Token: {token-id}
<br/>

##### 응답
응답 본문을 반환하지 않습니다. 요청이 올바르면 상태 코드 201을 반환합니다.
응답 본문을 반환하지 않습니다. 요청이 올바르면 상태 코드 201을 반환합니다. 요청 시 입력한 etag 값과 오브젝트의 크기가 일치하지 않을 경우, 상태 코드 422를 반환합니다.

<br/>

Expand Down Expand Up @@ -2670,6 +2670,12 @@ $object->delete($CONTAINER_NAME, $OBJECT_NAME);

<br/>

## 코드 예시

API 가이드 문서에 적힌 코드 예시들을 다운로드 받을 수 있는 경로를 제공합니다.

[전체 코드 예시 다운로드](https://static.toastoven.net/prod_infrastructure/object_storage/obs_example.zip)

## References

Swift API v1 - [http://developer.openstack.org/api-ref-objectstorage-v1.html](http://developer.openstack.org/api-ref-objectstorage-v1.html)