API endpoint that allows variant_types to be viewed.

Documents & examples

Method: GET

URL: /rest_api/v1/release-variant-types/

Response:

{
    "name": "string"
}

Browsable GET

GET /rest_api/v1/release-variant-types/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 5,
    "next": null,
    "previous": null,
    "results": [
        {
            "name": "variant"
        },
        {
            "name": "optional"
        },
        {
            "name": "addon"
        },
        {
            "name": "layered-product"
        },
        {
            "name": "module"
        }
    ]
}