Skip to content
Richard Thombs edited this page Apr 6, 2017 · 10 revisions

The Pictures API allows Pictures stored in TeamHaven to be retrieved and modified.

Get a Picture

GET /api/pictures/:guid

This retrieves the raw bytes that make up the Picture. This can be used directly in an HTML image tag if required.

Rotate a Picture

POST /api/pictures/:guid/rotate

This rotates the Picture 90 degrees clockwise.

Note: can not be used on Picture Attributes

Censor a Picture

POST /api/pictures/:guid/censor

This marks a Picture as censored.

Note: can not be used on Picture Attributes

Clone this wiki locally