John VanOrange

{API Docs for tag

tag/add

Add tags to images

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

Parameters

string name The tag value to be added to the image.

string image 6-digit image ID.

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

tag/get

List the tags for an image

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

Parameters

string value The 6-digit UID for an image. Also can accept a tag basename if the search_by parameter is set to basename.

string search_by {Defaults to 'image'. Valid values are 'image' or 'basename'.

tag/all

Get all images that have a certain tag.

Endpoint: https://jvo.io/api/tag/all

Parameters

string tag The basename value for a particular tag.

tag/suggest

This is used to find suggested tags by giving it parts of text, and it will return the 10 closest matches for existing tags.

Endpoint: https://jvo.io/api/tag/suggest

Parameters

string term Partial text that is used to query for existing tag names.

tag/top

Returns the top 200 used tags and a count of the number of times they are used.

Endpoint: https://jvo.io/api/tag/top

tag/remove

Removes a tag from an image. Must be an admin to access.

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

Parameters

int id Tag id.

string uid 6-digit image id.

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.

tag/removeAll

Completely removes a specific tag from all images it is on. Must be an admin to access.

Endpoint: https://jvo.io/api/tag/removeAll

Parameters

int id Tag id.

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.

tag/rename

Changes the display name of a tag. The basename will not change. Must be admin to access.

Endpoint: https://jvo.io/api/tag/rename

Parameters

int id Tag id.

string name New tag name.

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.

tag/report

Allows reporting of problematic tags so they may undergo review.

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

Parameters

string tag_id The numeric id of an tag.

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.

Methods

tag

image

user

report

setting

message