From 95ff34d4edc56b76e108582ba6720d1cd74a3ce4 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Wed, 12 Jul 2017 22:30:43 +0000 Subject: [PATCH] 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 --- api-ref/source/parameters.yaml | 8 ++++++++ api-ref/source/storage-object-services.inc | 1 + 2 files changed, 9 insertions(+) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index f4bad3ccf0..4cfb22d77b 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 72927a6052..32dd8cb05f 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