Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 746 Bytes

pdf.md

File metadata and controls

40 lines (23 loc) · 746 Bytes

PDF export of FAQ

This endpoint returns the URL to the PDF of FAQ for the given FAQ ID and the language provided by "Accept-Language".

URL : /api/v2.0/faq/:categoryId/:faqId?filter=pdf

HTTP Header : Accept-Language: en-US,en

URL parameters :

  • categorId=[int] where categorId is the ID of a category
  • faqId=[int] where faqId is the ID of a FAQ

Method : GET

Auth required : NO

Success Response

Condition : If the PDF for the FAQ exists.

Code : 200 OK

Content example

"https://www.example.org/pdf.php?cat=3&id=142&artlang=de"

Error Responses

Condition : If there's no FAQ and PDF for the given FAQ ID.

Code : 404 NOT FOUND

Content :

{}