Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
/social/share/update/binary/{id}/{title}/{description} (POST)
Info

Updates a binary file already in the share collection 

See social/share/add/binary for a more detailed explanation of how binary files work.

A simple web-based utility is available  for performing many share management activities.

Note that updating a share unendorses  it for all communities for which the logged-in user is not a moderator.

Authentication

Required, see Auth - Login

 

Info

There is one exception to needing to be the owner or an administrator - if a share is only currently shared with a single community (this means it must have been explicitly unshared from the personal community of the user who created it), then it can be modifed by any content publisher or community moderator for that community.

Arguments

id (required)
id of the existing binary share you want to replace

title (required)
 a title of the binary file you are adding

description (required)
the description of the binary file you are adding

binary (required)
byte steam you want to save

Example

See this example in Java for how to share a file.  It only needs modified to call update instead of add and to supply a share id.

Example Response