Skip to content

Commit 73176b6

Browse files
authored
Fixes #735 - Fix API > KB > Answers (remove 'full' parameter, add explanation for 'include_contents')
1 parent 59e8d16 commit 73176b6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

api/knowledgebase/answers.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ Required permission: ``knowledge_base.reader`` or ``knowledge_base.editor``
99
``GET``-Request sent: ``/api/v1/knowledge_bases/{ID of your KB}/answers/{ID of answer}``
1010

1111
.. tip:: If you want to get the content of an answer, add the parameters
12-
``?full=1&include_contents=1`` to the query URL. The request for the
13-
following response included the parameters.
12+
``?include_contents={ID of the translated answer}`` to the query URL.
13+
To find the ID of the translated answer (can be different than the answer
14+
ID), query the answer and look for ``KnowledgeBaseAnswerTranslation``. Use
15+
the ID of the translated answer for the above mentioned request (e.g.
16+
``[...]/answers/2?include_contents=5``).
17+
18+
The request for the following response included the parameters.
1419

1520
Response:
1621

0 commit comments

Comments
 (0)