Media

get media

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
get
/api/v3/media/1

edit media

PUT https://ushahididocs.api.ushahidi.io/api/v3/media/1

Request Body

Name
Type
Description

user_id

String

The user identifier

o_size

String

File Size

o_filename

String

File name

mime

String

Media import location e.g. "image/jpeg"

caption

String

The media caption

original_width

String

Width dimension

original_file_size

String

The media file size

original_file_url

String

The media file URL

original_height

String

Height dimension

delete media

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

OK

application/json
delete
/api/v3/media/3