SmakeSmake API Docs
EndpointsMedia

Show a media object

GET
/media/{id}
AuthorizationbearerAuth

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token — how to obtain one is described under Setup → Authentication.

In: header

Path Parameters

id*integer

Header Parameters

Accept*"application/json"

The API only responds with JSON — this header is mandatory on every request (see Setup → Headers).

Default"application/json"

Value in

  • "application/json"

Response Body

application/json

application/json

Request example
curl -X GET "https://example.com/media/0" \  -H "Accept: application/json"
{  "data": {    "id": 0,    "file_name": "string",    "mime_type": "string",    "size": 0,    "url": "http://example.com"  }}