summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorChristopher Bartz <bartz@dkrz.de>2017-01-19 16:07:09 +0100
committerChristopher Bartz <bartz@dkrz.de>2017-01-24 17:38:48 +0100
commit51727c531a865e3b5b1a316baf66a69dd9855df0 (patch)
tree9b98669b287fddf231d89f7bc090e9ff7aeefe70 /api-ref
parent31383e57bd39143299953bdabe5dc87047a89074 (diff)
downloadswift-51727c531a865e3b5b1a316baf66a69dd9855df0.tar.gz
ISO 8601 timestamps for tempurl
With this commit, the tempurl middleware accepts (besides the traditional unix timestamps) also timestamps according to the format '%Y-%m-%dT%H:%M:%SZ' (one acceptable form of ISO 8601). The idea is to make the tempurls more user-friendly, and has been formulated here: Change-Id: I346a0241060a9559d178b30e60c957792bbeb9f0 Implements: blueprint human-readable-tempurl-timestamp
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/parameters.yaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml
index 1bb1ac67c..f4bad3ccf 100644
--- a/api-ref/source/parameters.yaml
+++ b/api-ref/source/parameters.yaml
@@ -1091,8 +1091,10 @@ swiftinfo_sig:
temp_url_expires:
description: |
The date and time in `UNIX Epoch time stamp
- format <https://en.wikipedia.org/wiki/Unix_time>`_ when the
- signature for temporary URLs expires. For example, ``1440619048``
+ format <https://en.wikipedia.org/wiki/Unix_time>`_ or
+ `ISO 8601 UTC timestamp <https://en.wikipedia.org/wiki/ISO_8601>`_
+ when the signature for temporary URLs expires.
+ For example, ``1440619048`` or ``2015-08-26T19:57:28Z``
is equivalent to ``Mon, Wed, 26 Aug 2015 19:57:28 GMT``. For more
information about temporary URLs, see `Temporary URL middleware
<http://docs.openstack.org/developer/swift/api/temporary