Changes from Version 1 of zooomr.photos.setPerms

Show
Ignore:
Author:
bluemonki (IP: 78.86.133.53)
Timestamp:
05/10/08 02:58:11 (2 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • zooomr.photos.setPerms

    v0 v1  
     1= zooomr.photos.setPerms = 
     2Set permissions for a photo. 
     3 
     4== Authentication == 
     5 
     6This method requires authentication with 'write' permission. 
     7 
     8Note: This method requires an HTTP POST request. 
     9 
     10=== Arguments === 
     11 
     12api_key (Required) 
     13    Your API application key. 
     14photo_id (Required) 
     15    The id of the photo to set permissions for. 
     16is_public (Required) 
     17    1 to set the photo to public, 0 to set it to private. 
     18is_friend (Required) 
     19    1 to make the photo visible to friends when private, 0 to not. 
     20is_family (Required) 
     21    1 to make the photo visible to family when private, 0 to not. 
     22perm_comment (Required) 
     23    who can add comments to the photo and it's notes. one of: 
     24    0: nobody 
     25    1: friends & family 
     26    2: contacts 
     27    3: everybody 
     28perm_addmeta (Required) 
     29    who can add notes and tags to the photo. one of: 
     30    0: nobody / just the owner 
     31    1: friends & family 
     32    2: contacts 
     33    3: everybody  
     34 
     35=== Example Response === 
     36{{{ 
     37 {"stat": "ok"} 
     38}}}