API endpoint that allows release_component_types to be viewed.

Documents & examples

Method: GET

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

Response: a paged list of following objects

{
    "has_osbs (optional, default=false)": "boolean", 
    "name": "string"
}

Browsable GET

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

{
    "count": 6,
    "next": null,
    "previous": null,
    "results": [
        {
            "name": "rpm",
            "has_osbs": false
        },
        {
            "name": "container",
            "has_osbs": false
        },
        {
            "name": "zip",
            "has_osbs": false
        },
        {
            "name": "iso",
            "has_osbs": false
        },
        {
            "name": "composite",
            "has_osbs": false
        },
        {
            "name": "module",
            "has_osbs": false
        }
    ]
}