既存の文書の実際のコンテンツファイル(リソース)を追加または置換します。 もし
DocumentGUID
が存在しない場合、エラーが表示されます (
DocumentGUID
apiコールによって返される ドキュメントの作成).
のURLです。
POST: http://api.aurelon.com/api/v2/document/<DocumentGUID>
リクエストヘッダ。
Content-Type :application/octet-stream
MisKey : 認証を参照。
リクエストの本文です。
ドキュメントのバイナリコンテンツ
対応する。
操作の結果を含むコンテンツタイプapplication/json。
成功です。
200 OK :{“Message”: “Document resource successfully saved”}.
エラーです。
- 400 Bad Request :{“Message”:””DocumentGUID” value required”}.
- 401 Unauthorized :{“Message”: “Invalid MisKey”}.
- 401 Unauthorized :{“Message”:””MisKey” または “HardwareHash”, “SerialNumber” と “ApplicationVersion” ヘッダが必要です”}.
- 404 Not Found :{“Message”: “DocumentGUID is not found”}.
- 500 Internal Server Error :{“Message”: “Internal Server Error”}.