Get a list of QA

/rest/v1/projects/{projectId}/knowledge/qa/

Retrieve all ga for the current project

 Defaults:
{
    "limit": 20,
    "offset": 0,
    "sort": {
        "path": ["updatedAt"],
        "order": "asc"
    }
}

Parameters

Example
{
  "projectId": "e95690cc-1361-4dc9-a0a2-a1a925702a34",
  "limit": 20,
  "offset": 2,
  "query": "istqb",
  "question": "What is the basic principle of ISTQB?",
  "answer": "To ensure software testing standards",
  "sort": [
    {
      "path": "desired_field_to_sort_by",
      "order": "asc" 
    }
  ]
}
Schema
{
    "projectId": "string",
    "limit": {
        "query": 0
    },
    "offset": {
        "query": 0
    },
    "query": "string",
    "sort": [
        {
            "path": "...",
            "order": "..."
        }
    ]
}

Responses

Example
[
    {
        "id": "0d9e1989-9a3f-4fd3-ae29-f37e6b6fba1b",
        "question": "What is the basic principle of ISTQB?",
        "answer": "To ensure software testing standards",
        "url": "qa://859f9523eb2691f627e46515e12fec95",
        "updatedAt": "2024-05-03T08:38:12.2Z"
    }
]
Schema
[
    {
        "id": "string",
        "question": "string",
        "answer": "string",
        "url": "string",
        "updatedAt": "string"
    },
]

Successful response

Was this article helpful to you? Yes No

How can we help?