オブジェクト情報取得
Description
オブジェクト情報を取得します。
Request URL
ObjectStorage API v1
GET /v1/gac50_{account}/{container}/{object}
Request Json
This operation does not accept a request body.
Request Parameters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | トークンID | header | トークン発行 にて払い出されたID |
| X-Newest(Optional) | boolean | header | |
| Accept(Optional) | string | header | |
| account | テナントID | URI | テナントID |
| container | コンテナ名 | URI | コンテナ名 |
| object | オブジェクト名 | URI | オブジェクト名 |
| signature(Optional) | string | query | |
| expires(Optional) | string | query | |
| multipart-manifest(Optional) | string | query | |
| Range(Optional) | string | header | |
| If-Match(Optional) | string | header | |
| If-Modified-Since(Optional) | date | header | |
| If-Unmodified-Since(Optional) | date | header |
Response
-
Normal response codes
200
Example
-
Request
curl -i -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "X-Auth-Token: トークンID" \ オブジェクトストレージエンドポイント/コンテナ名/オブジェクト名
-
Response
HTTP/1.1 200 OK Content-Length: 21 Accept-Ranges: bytes Last-Modified: Fri, 30 Mar 2018 10:43:58 GMT Etag: 2d282102fa671256327d4767ec23bc6b X-Timestamp: 1522406637.55852 Content-Type: application/json X-Trans-Id: txbbfa106dd780462ba20f0-005abe1510 Date: Fri, 30 Mar 2018 10:44:32 GMT This is a test file.