Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URLHTTP TypeDescription
/fileHandle POSTPost a list of Files (content-type= 'multipart/form-data').  For each File included in the POST, a FileHandle will be created and returned.  The ID of the returned FileHandles can be used to assign the file to a Synapse objects such as WikiPage attachments or FileEntity.
/extremalFileHandlePOSTPost an extremal file handle.
/fileHandle/{handleId}GETGet the FileHandle for a given FileHandle ID.  Only the original creator of the FileHandle is authorized to get a FileHandle or assign a FileHandle to a Synapse Object such as WikiPage attachment or FileEntity.
/fileHandle/{handleId}DELETEDelete a FileHandle by its ID.  This will also trigger the delete of the corresponding file in S3 (when relevant) and any preview automatically generated for the FileHandle.

...