MediaTypes

This is the tools_mediatypes model from Nester. This is read-only for all users.

mediaTypes/
GET - List MediaTypes
mediaTypes/{Id}/
GET - Retrieve Record

Example List

GET /dev_api/mediaTypes/

HTTP 200 OK
Vary: Accept
Content-Type: text/html; charset=utf-8
Allow: GET, HEAD, OPTIONS

{
    "count": 5,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "name": "audio"
        },
        {
            "id": 2,
            "name": "image"
        },
        {
            "id": 3,
            "name": "movement"
        },
        {
            "id": 4,
            "name": "text"
        },
        {
            "id": 5,
            "name": "video"
        }
    ]
}

Example Detail

GET /dev_api/mediaTypes/1/

HTTP 200 OK
Vary: Accept
Content-Type: text/html; charset=utf-8
Allow: GET, HEAD, OPTIONS

{
    "id": 1,
    "name": "audio"
}