From 3c7d0b7f2d870fc09f1d28f67dad05ed1393dcff Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Wed, 14 Feb 2024 10:12:00 +0900 Subject: [PATCH] Document PUT with X-Storlet-Extra-Resources Change-Id: I4572ee561e933b598285e122c97f160d3d401c61 --- doc/source/api/overview_api.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/source/api/overview_api.rst b/doc/source/api/overview_api.rst index 03b58675..af337c2d 100644 --- a/doc/source/api/overview_api.rst +++ b/doc/source/api/overview_api.rst @@ -210,6 +210,17 @@ An additional header ('X-Run-Storlet') must be provided to inform the system to As with the invocation upon download, one may provide parameters to the storlet either through the URL query string or through the request headers. +It is also possible to invoke a storlet on PUT over more then one object. This behavers similarly to storlet invocation over multiple objects +during object download. The additional objects should be uploaded to swift in advance. + +:: + + [PUT] /v1/AUTH_1234/my_container/myobject_1 + + 'X-Run-Storlet': 'multiinputstorlet-1.0.jar' + 'X-Storlet-Extra-Resources': 'my_other_container/my_other_object', 'my_other_other_container/my_other_other_object' + 'X-Auth-Token': {authorization_token} + Invoke a storlet upon object copy ---------------------------------