|
11 | 11 | "name": "Mozilla Public Licence 2.0", |
12 | 12 | "url": "https://www.mozilla.org/MPL/2.0/" |
13 | 13 | }, |
14 | | - "version": "3.0" |
| 14 | + "version": "3.1" |
15 | 15 | }, |
16 | 16 | "servers": [ |
17 | 17 | { |
|
20 | 20 | } |
21 | 21 | ], |
22 | 22 | "paths": { |
23 | | - "/api/v3.0/attachments/{faqId}": { |
| 23 | + "/api/v3.1/attachments/{faqId}": { |
24 | 24 | "get": { |
25 | 25 | "tags": ["Public Endpoints"], |
26 | 26 | "description": "Returns a list of attachments for a given FAQ record ID.", |
|
74 | 74 | } |
75 | 75 | } |
76 | 76 | }, |
77 | | - "/api/v3.0/backup/{type}": { |
| 77 | + "/api/v3.1/backup/{type}": { |
78 | 78 | "get": { |
79 | 79 | "tags": ["Endpoints with Authentication"], |
80 | 80 | "operationId": "createBackup", |
|
158 | 158 | } |
159 | 159 | } |
160 | 160 | }, |
161 | | - "/api/v3.0/categories": { |
| 161 | + "/api/v3.1/categories": { |
162 | 162 | "get": { |
163 | 163 | "tags": ["Public Endpoints"], |
164 | 164 | "operationId": "getCategories", |
|
200 | 200 | } |
201 | 201 | } |
202 | 202 | }, |
203 | | - "/api/v3.0/category": { |
| 203 | + "/api/v3.1/category": { |
204 | 204 | "post": { |
205 | 205 | "tags": ["Endpoints with Authentication"], |
206 | 206 | "operationId": "createCategory", |
|
346 | 346 | } |
347 | 347 | } |
348 | 348 | }, |
349 | | - "/api/v3.0/comments/{faqId}": { |
| 349 | + "/api/v3.1/comments/{faqId}": { |
350 | 350 | "get": { |
351 | 351 | "tags": ["Public Endpoints"], |
352 | 352 | "description": "Returns a list of comments for a given FAQ record ID.", |
|
400 | 400 | } |
401 | 401 | } |
402 | 402 | }, |
403 | | - "/api/v3.0/faqs/{categoryId}": { |
| 403 | + "/api/v3.1/faqs/{categoryId}": { |
404 | 404 | "get": { |
405 | 405 | "tags": ["Public Endpoints"], |
406 | 406 | "description": "This endpoint returns all the FAQs with a preview of the answer for the given category ID and the language provided by \"Accept-Language\".", |
|
454 | 454 | } |
455 | 455 | } |
456 | 456 | }, |
457 | | - "/api/v3.0/faq/{categoryId}/{faqId}": { |
| 457 | + "/api/v3.1/faq/{categoryId}/{faqId}": { |
458 | 458 | "get": { |
459 | 459 | "tags": ["Public Endpoints"], |
460 | 460 | "description": "This endpoint returns the FAQ for the given FAQ ID and the language provided by \"Accept-Language\".", |
|
517 | 517 | } |
518 | 518 | } |
519 | 519 | }, |
520 | | - "/api/v3.0/faqs/tags/{tagId}": { |
| 520 | + "/api/v3.1/faqs/tags/{tagId}": { |
521 | 521 | "get": { |
522 | 522 | "tags": ["Public Endpoints"], |
523 | 523 | "description": "This endpoint returns all the FAQs for the given tag ID and the language provided by \n \"Accept-Language\"", |
|
571 | 571 | } |
572 | 572 | } |
573 | 573 | }, |
574 | | - "/api/v3.0/faqs/popular": { |
| 574 | + "/api/v3.1/faqs/popular": { |
575 | 575 | "get": { |
576 | 576 | "tags": ["Public Endpoints"], |
577 | 577 | "description": "This endpoint returns the popular FAQs for the given language provided by \"Accept-Language\".", |
|
614 | 614 | } |
615 | 615 | } |
616 | 616 | }, |
617 | | - "/api/v3.0/faqs/latest": { |
| 617 | + "/api/v3.1/faqs/latest": { |
618 | 618 | "get": { |
619 | 619 | "tags": ["Public Endpoints"], |
620 | 620 | "description": "This endpoint returns the latest FAQs for the given language provided by \"Accept-Language\".", |
|
657 | 657 | } |
658 | 658 | } |
659 | 659 | }, |
660 | | - "/api/v3.0/faqs/trending": { |
| 660 | + "/api/v3.1/faqs/trending": { |
661 | 661 | "get": { |
662 | 662 | "tags": ["Public Endpoints"], |
663 | 663 | "description": "This endpoint returns the trending FAQs for the given language provided by \"Accept-Language\".", |
|
700 | 700 | } |
701 | 701 | } |
702 | 702 | }, |
703 | | - "/api/v3.0/faqs/sticky": { |
| 703 | + "/api/v3.1/faqs/sticky": { |
704 | 704 | "get": { |
705 | 705 | "tags": ["Public Endpoints"], |
706 | 706 | "description": "This endpoint returns the sticky FAQs for the given language provided by \"Accept-Language\".", |
|
743 | 743 | } |
744 | 744 | } |
745 | 745 | }, |
746 | | - "/api/v3.0/faqs": { |
| 746 | + "/api/v3.1/faqs": { |
747 | 747 | "get": { |
748 | 748 | "tags": ["Public Endpoints"], |
749 | 749 | "description": "This endpoint returns all the FAQs for the given language provided by \"Accept-Language\".", |
|
786 | 786 | } |
787 | 787 | } |
788 | 788 | }, |
789 | | - "/api/v3.0/faq/create": { |
| 789 | + "/api/v3.1/faq/create": { |
790 | 790 | "post": { |
791 | 791 | "tags": ["Endpoints with Authentication"], |
792 | 792 | "operationId": "createFaq", |
|
936 | 936 | } |
937 | 937 | } |
938 | 938 | }, |
939 | | - "/api/v3.0/faq/update": { |
| 939 | + "/api/v3.1/faq/update": { |
940 | 940 | "put": { |
941 | 941 | "tags": ["Endpoints with Authentication"], |
942 | 942 | "description": "Used to update a FAQ in one existing category.", |
|
1063 | 1063 | } |
1064 | 1064 | } |
1065 | 1065 | }, |
1066 | | - "/api/v3.0/groups": { |
| 1066 | + "/api/v3.1/groups": { |
1067 | 1067 | "get": { |
1068 | 1068 | "tags": ["Endpoints with Authentication"], |
1069 | 1069 | "description": "Used to fetch all group IDs.", |
|
1100 | 1100 | } |
1101 | 1101 | } |
1102 | 1102 | }, |
1103 | | - "/api/v3.0/language": { |
| 1103 | + "/api/v3.1/language": { |
1104 | 1104 | "get": { |
1105 | 1105 | "tags": ["Public Endpoints"], |
1106 | 1106 | "operationId": "getLanguage", |
|
1117 | 1117 | } |
1118 | 1118 | } |
1119 | 1119 | }, |
1120 | | - "/api/v3.0/login": { |
| 1120 | + "/api/v3.1/login": { |
1121 | 1121 | "post": { |
1122 | 1122 | "tags": ["Public Endpoints"], |
1123 | 1123 | "operationId": "login", |
|
1179 | 1179 | } |
1180 | 1180 | } |
1181 | 1181 | }, |
1182 | | - "/api/v3.0/news": { |
| 1182 | + "/api/v3.1/news": { |
1183 | 1183 | "get": { |
1184 | 1184 | "tags": ["Public Endpoints"], |
1185 | 1185 | "operationId": "getNews", |
|
1221 | 1221 | } |
1222 | 1222 | } |
1223 | 1223 | }, |
1224 | | - "/api/v3.0/open-questions": { |
| 1224 | + "/api/v3.1/open-questions": { |
1225 | 1225 | "get": { |
1226 | 1226 | "tags": ["Public Endpoints"], |
1227 | 1227 | "operationId": "getOpenQuestions", |
|
1263 | 1263 | } |
1264 | 1264 | } |
1265 | 1265 | }, |
1266 | | - "/api/v3.0/pdf/{categoryId}/{faqId}": { |
| 1266 | + "/api/v3.1/pdf/{categoryId}/{faqId}": { |
1267 | 1267 | "get": { |
1268 | 1268 | "tags": ["Public Endpoints"], |
1269 | 1269 | "description": "This endpoint returns the URL to the PDF of FAQ for the given FAQ ID and the language provided by \"Accept-Language\".", |
|
1326 | 1326 | } |
1327 | 1327 | } |
1328 | 1328 | }, |
1329 | | - "/api/v3.0/question": { |
| 1329 | + "/api/v3.1/question": { |
1330 | 1330 | "post": { |
1331 | 1331 | "tags": ["Endpoints with Authentication"], |
1332 | 1332 | "operationId": "createQuestion", |
|
1400 | 1400 | } |
1401 | 1401 | } |
1402 | 1402 | }, |
1403 | | - "/api/v3.0/register": { |
| 1403 | + "/api/v3.1/register": { |
1404 | 1404 | "post": { |
1405 | 1405 | "tags": ["Endpoints with Authentication"], |
1406 | 1406 | "operationId": "createUser", |
|
1526 | 1526 | } |
1527 | 1527 | } |
1528 | 1528 | }, |
1529 | | - "/api/v3.0/search": { |
| 1529 | + "/api/v3.1/search": { |
1530 | 1530 | "get": { |
1531 | 1531 | "tags": ["Public Endpoints"], |
1532 | 1532 | "operationId": "getSearch", |
|
1563 | 1563 | } |
1564 | 1564 | } |
1565 | 1565 | }, |
1566 | | - "/api/v3.0/searches/popular": { |
| 1566 | + "/api/v3.1/searches/popular": { |
1567 | 1567 | "get": { |
1568 | 1568 | "tags": ["Public Endpoints"], |
1569 | 1569 | "operationId": "getPopularSearch", |
|
1605 | 1605 | } |
1606 | 1606 | } |
1607 | 1607 | }, |
1608 | | - "/api/v3.0/tags": { |
| 1608 | + "/api/v3.1/tags": { |
1609 | 1609 | "get": { |
1610 | 1610 | "tags": ["Public Endpoints"], |
1611 | 1611 | "operationId": "getTags", |
|
1631 | 1631 | } |
1632 | 1632 | } |
1633 | 1633 | }, |
1634 | | - "/api/v3.0/title": { |
| 1634 | + "/api/v3.1/title": { |
1635 | 1635 | "get": { |
1636 | 1636 | "tags": ["Public Endpoints"], |
1637 | 1637 | "operationId": "getTitle", |
|
1684 | 1684 | } |
1685 | 1685 | } |
1686 | 1686 | }, |
1687 | | - "/api/v3.0/version": { |
| 1687 | + "/api/v3.1/version": { |
1688 | 1688 | "get": { |
1689 | 1689 | "tags": ["Public Endpoints"], |
1690 | 1690 | "operationId": "getVersion", |
|
0 commit comments