|
64 | 64 | 200:
|
65 | 65 | description: "200 response"
|
66 | 66 | schema:
|
67 |
| - $ref: "#/definitions/GroupsResponse" |
| 67 | + $ref: "#/definitions/GroupResponse" |
68 | 68 | 400:
|
69 | 69 | description: "400 response"
|
70 | 70 | schema:
|
@@ -240,7 +240,7 @@ paths:
|
240 | 240 | 200:
|
241 | 241 | description: "200 response"
|
242 | 242 | schema:
|
243 |
| - $ref: "#/definitions/GroupsResponse" |
| 243 | + $ref: "#/definitions/GroupResponse" |
244 | 244 | 400:
|
245 | 245 | description: "400 response"
|
246 | 246 | schema:
|
@@ -786,15 +786,19 @@ paths:
|
786 | 786 | passthroughBehavior: "never"
|
787 | 787 | httpMethod: "POST"
|
788 | 788 | type: "aws"
|
789 |
| - /permissions/{application}: |
| 789 | + /permissions/{application}/{audience}: |
790 | 790 | get:
|
791 | 791 | consumes:
|
792 | 792 | - "application/json"
|
793 | 793 | produces:
|
794 | 794 | - "application/json"
|
795 | 795 | parameters:
|
| 796 | + - name: "application" |
| 797 | + in: "path" |
| 798 | + required: true |
| 799 | + type: "string" |
796 | 800 | - name: "audience"
|
797 |
| - in: "query" |
| 801 | + in: "path" |
798 | 802 | required: true
|
799 | 803 | type: "string"
|
800 | 804 | - name: "Authorization"
|
@@ -827,6 +831,14 @@ paths:
|
827 | 831 | produces:
|
828 | 832 | - "application/json"
|
829 | 833 | parameters:
|
| 834 | + - name: "application" |
| 835 | + in: "path" |
| 836 | + required: true |
| 837 | + type: "string" |
| 838 | + - name: "audience" |
| 839 | + in: "path" |
| 840 | + required: true |
| 841 | + type: "string" |
830 | 842 | - name: "Authorization"
|
831 | 843 | in: "header"
|
832 | 844 | required: true
|
@@ -874,32 +886,36 @@ paths:
|
874 | 886 | \ "
|
875 | 887 | requestTemplates:
|
876 | 888 | application/json: "{\n \"name\": $input.json('$.name'),\n \"description\"\
|
877 |
| - : $input.json('$.description'),\n \"audience\": $input.json('$.audience'),\n\ |
| 889 | + : $input.json('$.description'),\n \"audience\": \"$input.params('audience')\",\n\ |
878 | 890 | \ \"client_id\": \"$input.params('application')\",\n \"api_request_id\"\
|
879 | 891 | : \"$input.params('API-Request-Id')\",\n \"api_client_id\": \"$input.params('API-Client-Id')\"\
|
880 | 892 | \n}\n"
|
881 | 893 | passthroughBehavior: "never"
|
882 | 894 | httpMethod: "POST"
|
883 | 895 | type: "aws"
|
884 |
| - /permissions/{application}/{id}: |
| 896 | + /permissions/{application}/{audience}/{id}: |
885 | 897 | delete:
|
886 | 898 | consumes:
|
887 | 899 | - "application/json"
|
888 | 900 | produces:
|
889 | 901 | - "application/json"
|
890 | 902 | parameters:
|
891 |
| - - name: "audience" |
892 |
| - in: "query" |
| 903 | + - name: "application" |
| 904 | + in: "path" |
893 | 905 | required: true
|
894 | 906 | type: "string"
|
895 |
| - - name: "Authorization" |
896 |
| - in: "header" |
| 907 | + - name: "audience" |
| 908 | + in: "path" |
897 | 909 | required: true
|
898 | 910 | type: "string"
|
899 | 911 | - name: "id"
|
900 | 912 | in: "path"
|
901 | 913 | required: true
|
902 | 914 | type: "string"
|
| 915 | + - name: "Authorization" |
| 916 | + in: "header" |
| 917 | + required: true |
| 918 | + type: "string" |
903 | 919 | responses:
|
904 | 920 | 200:
|
905 | 921 | description: "200 response"
|
@@ -2001,6 +2017,16 @@ definitions:
|
2001 | 2017 | description:
|
2002 | 2018 | type: "string"
|
2003 | 2019 | title: "PermissionResponse"
|
| 2020 | + GroupResponse: |
| 2021 | + title: "GroupResponse" |
| 2022 | + type: "object" |
| 2023 | + properties: |
| 2024 | + id: |
| 2025 | + type: "string" |
| 2026 | + name: |
| 2027 | + type: "string" |
| 2028 | + description: |
| 2029 | + type: "string" |
2004 | 2030 | GroupsResponse:
|
2005 | 2031 | title: "GroupsResponse"
|
2006 | 2032 | type: "array"
|
|
0 commit comments