Media Object


The Media Object resource holds a single image, video or other digital asset file.

Create a Media Object

POST/media-objects

curl -X POST https://api.pilon.io/media-objects \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json"

Retrieve a Media Object

GET/media-objects/{id}

curl -X GET https://api.pilon.io/media-objects/{id} \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json"

List All Media Objects

GET/media-objects

curl -X GET https://api.pilon.io/media-objects \
     -H "Authorization: Bearer ACCESS_TOKEN_GOES_HERE" \
     -H "Content-Type: application/json"