874
edits
(Added documentation on the sharing API.) |
(added link to bugzilla bug) |
||
Line 130: | Line 130: | ||
* <tt>share_to_users</tt> - This is a list of the users who should be given access to read the directory. If it is a list with "all" as its only element, then the directory is readable by anyone. | * <tt>share_to_users</tt> - This is a list of the users who should be given access to read the directory. If it is a list with "all" as its only element, then the directory is readable by anyone. | ||
If successful, the response will be HTTP 200 OK with a body text of "OK". If the response code is different or the body is not "OK", then something has gone amiss. (Unfortunately, the sharing API wasn't designed with nearly as much attention to detail as the rest of the API; this will be changed in a later release.) | If successful, the response will be HTTP 200 OK with a body text of "OK". If the response code is different or the body is not "OK", then something has gone amiss. (Unfortunately, the sharing API wasn't designed with nearly as much attention to detail as the rest of the API; this will be changed in a later release--see [https://bugzilla.mozilla.org/show_bug.cgi?id=443931 bug 443931].) |
edits