Library Answers

Get all Library Answers

This endpoint retrieves a list of Library Answer resources.

GET /api/v2/library/answers/


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

{
    "results": [
        {
            "id": "A1",
            "db_id": 1,
            "text": "Java",
            "is_active": true,
            "description": ""
        },
        {
            "id": "A2",
            "db_id": 2,
            "text": "C#",
            "is_active": true,
            "description": "C# is a multi-paradigm programming language developed by Microsoft within its .NET framework."
        },
        {
            "id": "A3",
            "db_id": 3,
            "text": "JavaScript",
            "is_active": true,
            "description": ""
        },
        {
            "id": "A4",
            "db_id": 4,
            "text": "Web application",
            "is_active": true,
            "description": "The application is accessed through a web browser."
        }
    ]
}

Get a specific Library Answer

This endpoint retrieves a specific active Library Answer, as specified by the id parameter.

GET /api/v2/library/answers/{answer_id}/

URL Parameters

Parameter Description
answer_id The id of the Library Answer to retrieve.
GET /api/v2/library/answers/A1/ HTTP/1.1
Accept: application/json
Authorization: Token "YOUR SDE ACCESS TOKEN"
HTTP/1.1 200 OK
Content-Type: application/json

{
    "id": "A1",
    "db_id": 1,
    "text": "Java",
    "description": "",
    "is_active": true
}

results matching ""

    No results matching ""