Profiles

Get All Profiles

This endpoint retrieves a list of Profiles resources.

Query Parameters

Parameter Description
ordering Returns a list of profile resources ordered by the specified field. This endpoint supports ordering by id, name and description.
GET /api/v2/profiles/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json

{
    "results": [
        {
            "id": "P1",
            "db_id": 2,
            "name": "Blank",
            "description": "An empty profile. Get started with an unanswered project survey or select this if no other profile matches your application.",
            "active": true,
            "answers": ["A740"],
            "logo_url": "/static/images/logo-other.png"
        },
        {
            "id": "P3",
            "db_id": 3,
            "name": ".NET Web App",
            "description": "Microsoft .NET Web Application",
            "active": false,
            "answers":["A1061", "A740", "A48", "A4", "A2"],
            "logo_url": "/static/images/logo-net.png"
        }
    ]
}

results matching ""

    No results matching ""