API reference

GET /api/v1/types

Content types accepted on upload.

Parameters

This endpoint takes no parameters.

Response

Content-Type application/json. Cache-Control public, max-age=3600.

{
  "types": [
    "application/json",
    "application/pdf",
    "application/zip",
    "image/png",
    "text/csv",
    "text/plain"
  ],
  "default": "application/json"
}

Example

curl -s https://media.badgereu.win/api/v1/types