Project Survey

Get the project survey of a project

This endpoint returns data relevant to the profile for the current project

GET /api/v2/projects/{project_id}/survey/


GET /api/v2/projects/1/survey/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json

{
    "answers": [
        "A21",
        "A493"
    ],
    "survey_complete": true
}

Expand Filters

See the Expand Parameters section for more details.

Parameter Description
answers answers in answers field are expanded to include id, cpe, text, selected_by

GET /api/v2/projects/1/survey/?expand=answers HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json

{
    "answers": [
        {
            "id": "A21",
            "cpe_name": "cpe:/question/answer",
            "text": "",
            "selected_by": [],
            "question": "Q100"
        }
    ],
    "survey_complete": true
}

results matching ""

    No results matching ""