Site

photo.json

method: GET

secured: true

url: /v1/site/photo.json

Returns the current photo for a promoter site

If sucessfull you will see a response like this:

{
    "Image": "https://www.gnld.com/distassets/3149/profile-500.jpg",
    "success": true,
    "error": []
}

method: POST

secured: true

url: /v1/site/photo.json

Updates the photo for a promoter site

Field Notes
Photo A picture that will server as the contact photo. This file is not resized so care should be taken to keep the image size reasonable.
Type: File (JPEG|PNG|GIF)
Rotate A orthoginal value (-270, -180, -90, 0, 90, 180, 270)
Type: Integer (optional)

If sucessfull you will see a response like this:

{
    "Image": "https://www.gnld.com/distassets/3149/profile-500.jpg",
    "success": true,
    "error": []
}