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": [
{
"db_id": 1,
"id": "A1",
"text": "Java",
"description": "",
"display_text": "Programming Language - Java",
"is_active": true,
"attribute": "AT340",
"type": "Built-in"
},
{
"db_id": 2,
"id": "A2",
"text": "C#",
"description": "C# is a multi-paradigm programming language developed by Microsoft within its .NET framework.",
"display_text": "Programming Language - C#",
"is_active": true,
"attribute": "AT279",
"type": "Built-in"
},
{
"db_id": 3,
"id": "A3",
"text": "JavaScript",
"description": "",
"display_text": "Programming Language - JavaScript",
"is_active": true,
"attribute": "AT348",
"type": "Built-in"
},
{
"db_id": 4,
"id": "A4",
"text": "Web application",
"description": "A component that is accessed using a web browser as a client. For example, an online shopping or banking website.\r\n\r\n# Select this answer: \r\n- If you are developing a web application component.\r\n\r\n# This answer brings into scope:\r\n- Requirements and development tasks for generic servers and web applications.",
"display_text": "Components In Development - Web application",
"is_active": true,
"attribute": "AT265",
"type": "Built-in"
}
]
}
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
{
"db_id": 1,
"id": "A1",
"text": "Java",
"description": "",
"display_text": "Programming Language - Java",
"is_active": true,
"attribute": "AT340",
"type": "Built-in"
}