zooomr.photos.setPerms

Set permissions for a photo.

Authentication

This method requires authentication with 'write' permission.

Note: This method requires an HTTP POST request.

Arguments

api_key (Required)

Your API application key.

photo_id (Required)

The id of the photo to set permissions for.

is_public (Required)

1 to set the photo to public, 0 to set it to private.

is_friend (Required)

1 to make the photo visible to friends when private, 0 to not.

is_family (Required)

1 to make the photo visible to family when private, 0 to not.

perm_comment (Required)

who can add comments to the photo and it's notes. one of: 0: nobody 1: friends & family 2: contacts 3: everybody

perm_addmeta (Required)

who can add notes and tags to the photo. one of: 0: nobody / just the owner 1: friends & family 2: contacts 3: everybody

Example Response

 {"stat": "ok"}