Codec groups API

get listing

GET /api/rest/admin/codec-groups

Parameters

Name Description
filter[id] id filter
filter[name] name filter
filter[name-eq] name eq filter
filter[name-not-eq] name not eq filter
filter[name-cont] name cont filter
filter[name-start] name start filter
filter[name-end] name end filter
filter[name-in] name in filter
filter[name-not-in] name not in filter
filter[name-cont-any] name cont any filter

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTEsInN1YiI6NjB9.pCmRSA97krvLfVDM30NwzvbiqHbpXPysT2cOMDGEU-o
Host: example.org
Cookie: 

Route

GET /api/rest/admin/codec-groups

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"11ba3a1a566073e40370286a545ef2d1"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 55fa67b7-584e-4a0f-a0c5-b9ed10bc818e
X-Runtime: 0.008266
Content-Length: 1219

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "codec-groups",
      "links": {
        "self": "http://example.org/api/rest/admin/codec-groups/1"
      },
      "attributes": {
        "name": "Default codec group"
      },
      "relationships": {
        "codecs": {
          "links": {
            "self": "http://example.org/api/rest/admin/codec-groups/1/relationships/codecs",
            "related": "http://example.org/api/rest/admin/codec-groups/1/codecs"
          }
        }
      }
    },
    {
      "id": "12",
      "type": "codec-groups",
      "links": {
        "self": "http://example.org/api/rest/admin/codec-groups/12"
      },
      "attributes": {
        "name": "codec_group1"
      },
      "relationships": {
        "codecs": {
          "links": {
            "self": "http://example.org/api/rest/admin/codec-groups/12/relationships/codecs",
            "related": "http://example.org/api/rest/admin/codec-groups/12/codecs"
          }
        }
      }
    },
    {
      "id": "13",
      "type": "codec-groups",
      "links": {
        "self": "http://example.org/api/rest/admin/codec-groups/13"
      },
      "attributes": {
        "name": "codec_group2"
      },
      "relationships": {
        "codecs": {
          "links": {
            "self": "http://example.org/api/rest/admin/codec-groups/13/relationships/codecs",
            "related": "http://example.org/api/rest/admin/codec-groups/13/codecs"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 3
  },
  "links": {
    "first": "http://example.org/api/rest/admin/codec-groups?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/codec-groups?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}