Project Component Updates

Retrieve the list of new and deactivated components for a project

This endpoint retrieves a list of shared components that have beeen accepted into the project and subsequently been hidden at the library level or newly marked visible at the library level and will be accepted into the project.

GET /api/v2/projects/{project_id}/component-updates/

URL Parameters

Parameter Description
project_id The id of the Project whose components have to be retrieved.

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

{
    "results": [
        {
            "id": "CSC1",
            "title": "My Component",
            "pending_update": "DEACTIVATED",
            "answer_mapping": {
                "display_text": "Application General > Architecture/Environment > Architecture > IoT Architecture > Has a local area network between IoT devices in scope",
                "url": "http://example.com/bunits/test-bu/competezone/security-fix-1314/tasks/survey/questions/app-general/Q258/",
                "hidden": false,
                "section_slug": "app-general",
                "subsection_id": "Q258",
                "question_id": "Q261"
            }
        },
        {
            "id": "CSC2",
            "title": "Another Component",
            "pending_update": "DEACTIVATED",
            "answer_mapping": {
                "display_text": "Uses an HTTP-based protocol",
                "url": null,
                "hidden": true,
                "section_slug": "protocols",
                "subsection_id": "Q207",
                "question_id": "Q186"
            }
        }
    ]
}

results matching ""

    No results matching ""