File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
aries_cloudcontroller/controllers Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ async def create_invitation(
70
70
auto_accept : bool = None ,
71
71
public : bool = None ,
72
72
multi_use : bool = None ,
73
+ invite_options : dict = None ,
73
74
):
74
75
params = {}
75
76
if alias :
@@ -80,6 +81,21 @@ async def create_invitation(
80
81
params ["public" ] = public
81
82
if multi_use in [True , False ]:
82
83
params ["multi_use" ] = multi_use
84
+ if invite_option :
85
+ """A dictionary of the form:
86
+ {
87
+ "mediation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
88
+ "metadata": {},
89
+ "recipient_keys": [
90
+ "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
91
+ ],
92
+ "routing_keys": [
93
+ "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
94
+ ],
95
+ "service_endpoint": "http://192.168.56.102:8020"
96
+ }
97
+ """
98
+ params ['body' ] = invite_options
83
99
84
100
invite_details = await self .admin_POST (
85
101
"/connections/create-invitation" , params = params
You can’t perform that action at this time.
0 commit comments