diff options
author | Tim Burke <tim.burke@gmail.com> | 2017-07-12 22:30:43 +0000 |
---|---|---|
committer | Tim Burke <tim.burke@gmail.com> | 2017-07-12 22:30:43 +0000 |
commit | 95ff34d4edc56b76e108582ba6720d1cd74a3ce4 (patch) | |
tree | 6abb22253455d887435cda3b14f685c5204d74d7 /api-ref | |
parent | 63c4215994dec4f3f819357401263cd34e12b448 (diff) | |
download | swift-95ff34d4edc56b76e108582ba6720d1cd74a3ce4.tar.gz |
Add X-Copy-From-Account to api-ref
While Donagh was kind enough to add Destination-Account in the related
change, we still hadn't documented the PUT-with-X-Copy-From equivalent.
Change-Id: I156ae2d8664873d3f6cc1f742bf950913fd462b0
Related-Change: I315b4e550b7d10880fbc00fce9311127ba609c2d
Closes-Bug: 1367975
Diffstat (limited to 'api-ref')
-rw-r--r-- | api-ref/source/parameters.yaml | 8 | ||||
-rw-r--r-- | api-ref/source/storage-object-services.inc | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index f4bad3ccf..4cfb22d77 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -683,6 +683,14 @@ X-Copy-From: in: header required: false type: string +X-Copy-From-Account: + description: | + Specifies the account name where the object is copied from. If not + specified, the object is copied from the account which owns the new + object (i.e., the account in the path). + in: header + required: false + type: string X-Delete-After: description: | The number of seconds after which the system diff --git a/api-ref/source/storage-object-services.inc b/api-ref/source/storage-object-services.inc index 72927a605..32dd8cb05 100644 --- a/api-ref/source/storage-object-services.inc +++ b/api-ref/source/storage-object-services.inc @@ -254,6 +254,7 @@ Request - Content-Type: Content-Type_obj_cu_req - X-Detect-Content-Type: X-Detect-Content-Type - X-Copy-From: X-Copy-From + - X-Copy-From-Account: X-Copy-From-Account - ETag: ETag_obj_req - Content-Disposition: Content-Disposition - Content-Encoding: Content-Encoding |