DELETEdata

From flud

Note: the most up-to-date documentation of the protocol is the source code itself, at http://flud.org/tryit.html

Contents

[edit] (Delete) DELETE /file/[filekey]

Delete file data. This operation deletes a file for a given node. Note that if multiple peers are storing the same file data (via convergent storage), this operation only deletes the data for the requesting peer.

[edit] authentication

This operation requires authentication.

[edit] required parameters:

  • Ku_e: integer value (not encoded). value of 'e' from public key.
  • Ku_n: integer value (not encoded). value of 'n' from public key.
  • port: integer value (not encoded). listen port.
  • metakey: the meta data key that corresponds to this deletion.

[edit] possible responses

normal response:

  • code: 200 OK
  • data: none

response for malformed request:

  • code: 400 BAD REQUEST
  • data: error message

response for challenge-response failure:

  • code: 401 UNAUTHORIZED
  • data: error message
Personal tools