John VanOrange

{API Docs for image

image/like

Like an image.

Endpoint: https://jvo.io/api/image/like

Parameters

string image The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

image/dislike

Dislike an image.

Endpoint: https://jvo.io/api/image/dislike

Parameters

string image The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

image/save

Save an image for viewing later. Must be logged in to use this method.

Endpoint: https://jvo.io/api/image/save

Parameters

string image The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

image/unsave

Stop saving a previously saved image. Must be logged in to use this method.

Endpoint: https://jvo.io/api/image/unsave

Parameters

string image The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

image/approve

Approves an image. If the image was reported, it will resolve all reports. If the image was hidden, it will now be displayed. Must be logged on as admin to access this method.

Endpoint: https://jvo.io/api/image/approve

Parameters

string image The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

bool nsfw {Defaults to NULL. If an image should be marked as approved, but NSFW, setting this to 'true' or '1' will mark the image that way.

image/canRemove

Check to see if a user has permissions to remove an image.

Endpoint: https://jvo.io/api/image/canRemove

Parameters

string image The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

image/remove

Removes an image and all data associated with it. Only the user that uploaded the image or an admin can use this method.

Endpoint: https://jvo.io/api/image/remove

Parameters

string image The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

image/add

Allows uploading images.

Endpoint: https://jvo.io/api/image/add

Parameters

mixed image An image uploaded as multi-part form data. Must be JPEG, PNG, or GIF format.

string c_link {Defaults to NULL. An optional external link to comments for the image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie.

image/addFromURL

Allows adding images to site from remote URL's.

Endpoint: https://jvo.io/api/image/addFromURL

Parameters

string url Full URL to an image to be added to the site. Must be JPEG, PNG, or GIF format.

string c_link {Defaults to NULL. An optional external link to comments for the image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie.

image/report

Allows reporting of problematic images so they may undergo review.

Endpoint: https://jvo.io/api/image/report

Parameters

string image The 6-digit id of an image.

int type Number value representing the reason type which can be found in report/all

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie.

image/reported

Retrieves a random image that has been reported by users. Must be logged in as an admin to access this method.

Endpoint: https://jvo.io/api/image/reported

Parameters

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

image/unapproved

Retrieves a random unapproved image. Must be logged in as admin to access this method.

Endpoint: https://jvo.io/api/image/unapproved

Parameters

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

image/random

Retrieves a random image.

Endpoint: https://jvo.io/api/image/random

Parameters

array filter {Defaults to NULL. Array of options to filter image results. Currently available options include format, animated, nsfw, approved and uploader.

int count {Defaults to 1. Number of results to return.

image/recent

Displays a list of images recently added

Endpoint: https://jvo.io/api/image/recent

Parameters

int count {Defaults to 25. Number of results to display

image/recentLikes

Displays a list of images recently liked

Endpoint: https://jvo.io/api/image/recentLikes

Parameters

int count {Defaults to 25. Number of results to display

image/get

Retrieve information about an image.

Endpoint: https://jvo.io/api/image/get

Parameters

string image The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

bool brazzify {Defaults to FALSE. Should Brazzzify.me url be returned

image/stats

Returns the total number of images, reported images and approved images.

Endpoint: https://jvo.io/api/image/stats

image/merge

Merge two images into one, merging any assoicated resources. Must be logged in as admin to use this method.

Endpoint: https://jvo.io/api/image/merge

Parameters

string image1 The 6-digit id of an image.

string image2 The 6-digit id of an image.

string sid {Defaults to NULL. Session ID that is provided when logged in. This is also set as a cookie. If sid cookie headers are sent, this value is not required.

Methods

tag

image

user

report

setting

message