|
|
POST:archive/files/restore/{fileid}From $1目次
Overviewpublic. Restores a deleted file back to its page Uri Parameters
Query Parameters
Return Codes
Message FormatNone Implementation NotesUse GET:archive/files to retrieve a list of files currently in the archive. When a file is restored, it is moved from the file archive to the destination page. If the caller does not specify a destination page, the file is restored to its original page. A placeholder page will be created if the original page no longer exists. Code SamplesThe following code example restores file with ID 456 to the home page: Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("archive", "files", "restore", "456").With("to", "home").Post();
タグ:
|
|||||||||||||||||||||||||||