|
168 | 168 | "parameters": [
|
169 | 169 | {
|
170 | 170 | "name": "app",
|
171 |
| - "in": "query", |
| 171 | + "in": "path", |
172 | 172 | "description": "ID of the app",
|
173 | 173 | "required": true,
|
174 | 174 | "schema": {
|
|
236 | 236 | "parameters": [
|
237 | 237 | {
|
238 | 238 | "name": "app",
|
239 |
| - "in": "query", |
| 239 | + "in": "path", |
240 | 240 | "description": "ID of the app",
|
241 | 241 | "required": true,
|
242 | 242 | "schema": {
|
|
999 | 999 | "operationId": "groups-update-group",
|
1000 | 1000 | "parameters": [
|
1001 | 1001 | {
|
1002 |
| - "name": "groupId", |
| 1002 | + "name": "key", |
1003 | 1003 | "in": "query",
|
1004 |
| - "description": "ID of the group", |
| 1004 | + "description": "Key to update, only 'displayname'", |
1005 | 1005 | "required": true,
|
1006 | 1006 | "schema": {
|
1007 | 1007 | "type": "string"
|
1008 | 1008 | }
|
1009 | 1009 | },
|
1010 | 1010 | {
|
1011 |
| - "name": "key", |
| 1011 | + "name": "value", |
1012 | 1012 | "in": "query",
|
1013 |
| - "description": "Key to update, only 'displayname'", |
| 1013 | + "description": "New value for the key", |
1014 | 1014 | "required": true,
|
1015 | 1015 | "schema": {
|
1016 | 1016 | "type": "string"
|
1017 | 1017 | }
|
1018 | 1018 | },
|
1019 | 1019 | {
|
1020 |
| - "name": "value", |
1021 |
| - "in": "query", |
1022 |
| - "description": "New value for the key", |
| 1020 | + "name": "groupId", |
| 1021 | + "in": "path", |
| 1022 | + "description": "ID of the group", |
1023 | 1023 | "required": true,
|
1024 | 1024 | "schema": {
|
| 1025 | + "pattern": "^.+$", |
1025 | 1026 | "type": "string"
|
1026 | 1027 | }
|
1027 | 1028 | },
|
|
1086 | 1087 | "parameters": [
|
1087 | 1088 | {
|
1088 | 1089 | "name": "groupId",
|
1089 |
| - "in": "query", |
| 1090 | + "in": "path", |
1090 | 1091 | "description": "ID of the group",
|
1091 | 1092 | "required": true,
|
1092 | 1093 | "schema": {
|
| 1094 | + "pattern": "^.+$", |
1093 | 1095 | "type": "string"
|
1094 | 1096 | }
|
1095 | 1097 | },
|
|
1725 | 1727 | "operationId": "users-edit-user",
|
1726 | 1728 | "parameters": [
|
1727 | 1729 | {
|
1728 |
| - "name": "userId", |
| 1730 | + "name": "key", |
1729 | 1731 | "in": "query",
|
1730 |
| - "description": "ID of the user", |
| 1732 | + "description": "Key that will be updated", |
1731 | 1733 | "required": true,
|
1732 | 1734 | "schema": {
|
1733 | 1735 | "type": "string"
|
1734 | 1736 | }
|
1735 | 1737 | },
|
1736 | 1738 | {
|
1737 |
| - "name": "key", |
| 1739 | + "name": "value", |
1738 | 1740 | "in": "query",
|
1739 |
| - "description": "Key that will be updated", |
| 1741 | + "description": "New value for the key", |
1740 | 1742 | "required": true,
|
1741 | 1743 | "schema": {
|
1742 | 1744 | "type": "string"
|
1743 | 1745 | }
|
1744 | 1746 | },
|
1745 | 1747 | {
|
1746 |
| - "name": "value", |
1747 |
| - "in": "query", |
1748 |
| - "description": "New value for the key", |
| 1748 | + "name": "userId", |
| 1749 | + "in": "path", |
| 1750 | + "description": "ID of the user", |
1749 | 1751 | "required": true,
|
1750 | 1752 | "schema": {
|
1751 | 1753 | "type": "string"
|
|
1811 | 1813 | "parameters": [
|
1812 | 1814 | {
|
1813 | 1815 | "name": "userId",
|
1814 |
| - "in": "query", |
| 1816 | + "in": "path", |
1815 | 1817 | "description": "ID of the user",
|
1816 | 1818 | "required": true,
|
1817 | 1819 | "schema": {
|
|
2455 | 2457 | "summary": "Add a user to a group",
|
2456 | 2458 | "operationId": "users-add-to-group",
|
2457 | 2459 | "parameters": [
|
2458 |
| - { |
2459 |
| - "name": "userId", |
2460 |
| - "in": "query", |
2461 |
| - "description": "ID of the user", |
2462 |
| - "required": true, |
2463 |
| - "schema": { |
2464 |
| - "type": "string" |
2465 |
| - } |
2466 |
| - }, |
2467 | 2460 | {
|
2468 | 2461 | "name": "groupid",
|
2469 | 2462 | "in": "query",
|
|
2473 | 2466 | "default": ""
|
2474 | 2467 | }
|
2475 | 2468 | },
|
| 2469 | + { |
| 2470 | + "name": "userId", |
| 2471 | + "in": "path", |
| 2472 | + "description": "ID of the user", |
| 2473 | + "required": true, |
| 2474 | + "schema": { |
| 2475 | + "type": "string" |
| 2476 | + } |
| 2477 | + }, |
2476 | 2478 | {
|
2477 | 2479 | "name": "OCS-APIRequest",
|
2478 | 2480 | "in": "header",
|
|
2532 | 2534 | "operationId": "users-remove-from-group",
|
2533 | 2535 | "parameters": [
|
2534 | 2536 | {
|
2535 |
| - "name": "userId", |
| 2537 | + "name": "groupid", |
2536 | 2538 | "in": "query",
|
2537 |
| - "description": "ID of the user", |
| 2539 | + "description": "ID of the group", |
2538 | 2540 | "required": true,
|
2539 | 2541 | "schema": {
|
2540 | 2542 | "type": "string"
|
2541 | 2543 | }
|
2542 | 2544 | },
|
2543 | 2545 | {
|
2544 |
| - "name": "groupid", |
2545 |
| - "in": "query", |
2546 |
| - "description": "ID of the group", |
| 2546 | + "name": "userId", |
| 2547 | + "in": "path", |
| 2548 | + "description": "ID of the user", |
2547 | 2549 | "required": true,
|
2548 | 2550 | "schema": {
|
2549 | 2551 | "type": "string"
|
|
2682 | 2684 | "operationId": "users-add-sub-admin",
|
2683 | 2685 | "parameters": [
|
2684 | 2686 | {
|
2685 |
| - "name": "userId", |
| 2687 | + "name": "groupid", |
2686 | 2688 | "in": "query",
|
2687 |
| - "description": "ID of the user", |
| 2689 | + "description": "ID of the group", |
2688 | 2690 | "required": true,
|
2689 | 2691 | "schema": {
|
2690 | 2692 | "type": "string"
|
2691 | 2693 | }
|
2692 | 2694 | },
|
2693 | 2695 | {
|
2694 |
| - "name": "groupid", |
2695 |
| - "in": "query", |
2696 |
| - "description": "ID of the group", |
| 2696 | + "name": "userId", |
| 2697 | + "in": "path", |
| 2698 | + "description": "ID of the user", |
2697 | 2699 | "required": true,
|
2698 | 2700 | "schema": {
|
2699 | 2701 | "type": "string"
|
|
2759 | 2761 | "operationId": "users-remove-sub-admin",
|
2760 | 2762 | "parameters": [
|
2761 | 2763 | {
|
2762 |
| - "name": "userId", |
| 2764 | + "name": "groupid", |
2763 | 2765 | "in": "query",
|
2764 |
| - "description": "ID of the user", |
| 2766 | + "description": "ID of the group", |
2765 | 2767 | "required": true,
|
2766 | 2768 | "schema": {
|
2767 | 2769 | "type": "string"
|
2768 | 2770 | }
|
2769 | 2771 | },
|
2770 | 2772 | {
|
2771 |
| - "name": "groupid", |
2772 |
| - "in": "query", |
2773 |
| - "description": "ID of the group", |
| 2773 | + "name": "userId", |
| 2774 | + "in": "path", |
| 2775 | + "description": "ID of the user", |
2774 | 2776 | "required": true,
|
2775 | 2777 | "schema": {
|
2776 | 2778 | "type": "string"
|
|
3245 | 3247 | "operationId": "app_config-set-value",
|
3246 | 3248 | "parameters": [
|
3247 | 3249 | {
|
3248 |
| - "name": "app", |
| 3250 | + "name": "value", |
3249 | 3251 | "in": "query",
|
3250 |
| - "description": "ID of the app", |
| 3252 | + "description": "New value for the key", |
3251 | 3253 | "required": true,
|
3252 | 3254 | "schema": {
|
3253 | 3255 | "type": "string"
|
3254 | 3256 | }
|
3255 | 3257 | },
|
3256 | 3258 | {
|
3257 |
| - "name": "key", |
3258 |
| - "in": "query", |
3259 |
| - "description": "Key to update", |
| 3259 | + "name": "app", |
| 3260 | + "in": "path", |
| 3261 | + "description": "ID of the app", |
3260 | 3262 | "required": true,
|
3261 | 3263 | "schema": {
|
3262 | 3264 | "type": "string"
|
3263 | 3265 | }
|
3264 | 3266 | },
|
3265 | 3267 | {
|
3266 |
| - "name": "value", |
3267 |
| - "in": "query", |
3268 |
| - "description": "New value for the key", |
| 3268 | + "name": "key", |
| 3269 | + "in": "path", |
| 3270 | + "description": "Key to update", |
3269 | 3271 | "required": true,
|
3270 | 3272 | "schema": {
|
3271 | 3273 | "type": "string"
|
|
3378 | 3380 | "parameters": [
|
3379 | 3381 | {
|
3380 | 3382 | "name": "app",
|
3381 |
| - "in": "query", |
| 3383 | + "in": "path", |
3382 | 3384 | "description": "ID of the app",
|
3383 | 3385 | "required": true,
|
3384 | 3386 | "schema": {
|
|
3387 | 3389 | },
|
3388 | 3390 | {
|
3389 | 3391 | "name": "key",
|
3390 |
| - "in": "query", |
| 3392 | + "in": "path", |
3391 | 3393 | "description": "Key to delete",
|
3392 | 3394 | "required": true,
|
3393 | 3395 | "schema": {
|
|
3617 | 3619 | "parameters": [
|
3618 | 3620 | {
|
3619 | 3621 | "name": "appId",
|
3620 |
| - "in": "query", |
| 3622 | + "in": "path", |
3621 | 3623 | "description": "ID of the app",
|
3622 | 3624 | "required": true,
|
3623 | 3625 | "schema": {
|
|
3626 | 3628 | },
|
3627 | 3629 | {
|
3628 | 3630 | "name": "configKey",
|
3629 |
| - "in": "query", |
| 3631 | + "in": "path", |
3630 | 3632 | "description": "Key to delete",
|
3631 | 3633 | "required": true,
|
3632 | 3634 | "schema": {
|
|
3832 | 3834 | "summary": "Delete multiple preferences for an app",
|
3833 | 3835 | "operationId": "preferences-delete-multiple-preference",
|
3834 | 3836 | "parameters": [
|
3835 |
| - { |
3836 |
| - "name": "appId", |
3837 |
| - "in": "query", |
3838 |
| - "description": "ID of the app", |
3839 |
| - "required": true, |
3840 |
| - "schema": { |
3841 |
| - "type": "string" |
3842 |
| - } |
3843 |
| - }, |
3844 | 3837 | {
|
3845 | 3838 | "name": "configKeys",
|
3846 | 3839 | "in": "query",
|
|
3853 | 3846 | }
|
3854 | 3847 | }
|
3855 | 3848 | },
|
| 3849 | + { |
| 3850 | + "name": "appId", |
| 3851 | + "in": "path", |
| 3852 | + "description": "ID of the app", |
| 3853 | + "required": true, |
| 3854 | + "schema": { |
| 3855 | + "type": "string" |
| 3856 | + } |
| 3857 | + }, |
3856 | 3858 | {
|
3857 | 3859 | "name": "OCS-APIRequest",
|
3858 | 3860 | "in": "header",
|
|
0 commit comments