|
634 | 634 | },
|
635 | 635 | "/plugins/{team_name}/{plugin_kind}/{plugin_name}/versions/{version_name}/docs": {
|
636 | 636 | "get": {
|
637 |
| - "description": "List all documentation pages for a given plugin version.", |
| 637 | + "description": "List all documentation pages for a given plugin version", |
638 | 638 | "operationId": "ListPluginVersionDocs",
|
639 | 639 | "parameters": [
|
640 | 640 | {
|
|
697 | 697 | ]
|
698 | 698 | },
|
699 | 699 | "put": {
|
700 |
| - "description": "Create or update one or more plugin version docs pages.", |
| 700 | + "description": "Create or update one or more plugin version docs pages", |
701 | 701 | "operationId": "CreatePluginVersionDocs",
|
702 | 702 | "parameters": [
|
703 | 703 | {
|
|
775 | 775 | "plugins"
|
776 | 776 | ]
|
777 | 777 | },
|
| 778 | + "post": { |
| 779 | + "description": "Replace (override) multiple plugin version docs pages", |
| 780 | + "operationId": "ReplacePluginVersionDocs", |
| 781 | + "parameters": [ |
| 782 | + { |
| 783 | + "$ref": "#/components/parameters/team_name" |
| 784 | + }, |
| 785 | + { |
| 786 | + "$ref": "#/components/parameters/plugin_kind" |
| 787 | + }, |
| 788 | + { |
| 789 | + "$ref": "#/components/parameters/plugin_name" |
| 790 | + }, |
| 791 | + { |
| 792 | + "$ref": "#/components/parameters/version_name" |
| 793 | + } |
| 794 | + ], |
| 795 | + "requestBody": { |
| 796 | + "content": { |
| 797 | + "application/json": { |
| 798 | + "schema": { |
| 799 | + "type": "object", |
| 800 | + "required": [ |
| 801 | + "pages" |
| 802 | + ], |
| 803 | + "properties": { |
| 804 | + "pages": { |
| 805 | + "type": "array", |
| 806 | + "items": { |
| 807 | + "$ref": "#/components/schemas/PluginDocsPageCreate" |
| 808 | + } |
| 809 | + } |
| 810 | + } |
| 811 | + } |
| 812 | + } |
| 813 | + } |
| 814 | + }, |
| 815 | + "responses": { |
| 816 | + "201": { |
| 817 | + "description": "Successfully created or updated", |
| 818 | + "content": { |
| 819 | + "application/json": { |
| 820 | + "schema": { |
| 821 | + "type": "object", |
| 822 | + "properties": { |
| 823 | + "names": { |
| 824 | + "type": "array", |
| 825 | + "items": { |
| 826 | + "$ref": "#/components/schemas/PluginDocsPageName" |
| 827 | + } |
| 828 | + } |
| 829 | + } |
| 830 | + } |
| 831 | + } |
| 832 | + } |
| 833 | + }, |
| 834 | + "400": { |
| 835 | + "$ref": "#/components/responses/BadRequest" |
| 836 | + }, |
| 837 | + "401": { |
| 838 | + "$ref": "#/components/responses/RequiresAuthentication" |
| 839 | + }, |
| 840 | + "403": { |
| 841 | + "$ref": "#/components/responses/Forbidden" |
| 842 | + }, |
| 843 | + "404": { |
| 844 | + "$ref": "#/components/responses/NotFound" |
| 845 | + }, |
| 846 | + "422": { |
| 847 | + "$ref": "#/components/responses/UnprocessableEntity" |
| 848 | + }, |
| 849 | + "500": { |
| 850 | + "$ref": "#/components/responses/InternalError" |
| 851 | + } |
| 852 | + }, |
| 853 | + "tags": [ |
| 854 | + "plugins" |
| 855 | + ] |
| 856 | + }, |
778 | 857 | "delete": {
|
779 | 858 | "description": "Delete one or more plugin version docs pages.",
|
780 | 859 | "operationId": "DeletePluginVersionDocs",
|
|
0 commit comments