The "mtime" action (NS3)
Incorporate the "mtime" action to change a files modification time ("touch") in an FileStore (NS3) storage group.
POST /[CP Code]/[path]/[file.ext] HTTP/1.1 Host: [Domain Prefix]-nsu.akamaihd.net X-Akamai-ACS-Action: version=1&action=mtime&mtime=[#] [Signature Header 1] [Signature Header 2] [Body]
Variable values are as follows:
[CP code]: The unique CP code that represents the root directory in the applicable NetStorage Storage Group.
[path]: Any sub-directories off of the CP Code root, that are to serve as parents of the new directory (if applicable).
[file.ext]: The target filename (plus the extension, if applicable).
[Domain Prefix]: This is the unique domain prefix set up for the storage group during its creation. It can be viewed in the NetStorage Groups UI in Control Center.
[Signature Header 1]and
[Signature Header 2]: Applicable signature headers.
[Body]: You must also include an applicable request
[Body], which is the case with any “PUT” or “POST” action.
Optional action header field variables
Along with the standard action header content, the following optional field can be included. It must be appended to the end of the header, prefaced by an ampersand (“&”).
mtime=[#]- Set the “[#]” variable as the desired modification time for the target content (using UNIX epoch time).