Versions Compared

Key

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

...

  • APIKey

  • FileName

  • FileContent - binary

  • ContentSourceName (optional)- The name of the client using the API (for example, File loader)

  • ContentSourceIP (optional)- The IP of the client using the API (for example the host of the File loader)

  • AllowedGroups (optional)

  • AllowedEmails (optional)

  • Action (string, optional, default: "Add")
    The action to be performed on the file. Possible values include:

    • Add: Upload a new file (default action).

    • UpdatePermissions: Modify permissions for an existing file.

    • Rename: Change the name of an existing file.

    • Delete: Remove an existing file.

  • ContentId (string, required for UpdatePermissions, Rename, or Delete)

Output - for HTTP status OK (200):

...