Tag File

Summary Adds a tag to the file
Request https://www.digitalbucket.net/api/rest/tagfile.axd?fileid=bd64d349-d584-45f3-a0fb-287bcb66fb34&tag=funny
Method POST
Parameters fileid (id of the file you want to add the tag to), tag (the tag)

Success

<Success>
  <Code>61</Code>
  <Message>'[tag]' tag added to '[filename]' file successfully.</Message>
</Success>

Error

<Error>
  <Code>-601</Code>
  <Message>You are not allowed to tag this file.</Message>
</Error>
<Error>
  <Code>-602</Code>
  <Message>You are not allowed to tag other users files.</Message>
</Error>
<Error>
  <Code>-621</Code>
  <Message>[tag] is not a valid tag name</Message>
</Error>

- For other errors refer to the list of Common Errors.