File tree 1 file changed +80
-0
lines changed
1 file changed +80
-0
lines changed Original file line number Diff line number Diff line change 34
34
}
35
35
],
36
36
"paths" : {
37
+ "/users/login" : {
38
+ "servers" : [
39
+ {
40
+ "url" : " https://orgservice-prod.setu.co/v1"
41
+ }
42
+ ],
43
+ "post" : {
44
+ "parameters" : [
45
+ {
46
+ "in" : " header" ,
47
+ "name" : " client" ,
48
+ "required" : true ,
49
+ "description" : " " ,
50
+ "schema" : {
51
+ "type" : " string" ,
52
+ "enum" : [" bridge" ]
53
+ }
54
+ }
55
+ ],
56
+ "responses" : {
57
+ "200" : {
58
+ "description" : " OK" ,
59
+ "content" : {
60
+ "application/json" : {
61
+ "schema" : {
62
+ "$ref" : " #/components/schemas/TokenAPIResponse"
63
+ }
64
+ }
65
+ }
66
+ },
67
+ "400" : {
68
+ "$ref" : " #/components/responses/BAD_REQUEST"
69
+ }
70
+ },
71
+ "requestBody" : {
72
+ "required" : true ,
73
+ "content" : {
74
+ "application/json" : {
75
+ "schema" : {
76
+ "$ref" : " #/components/schemas/TokenAPIRequest"
77
+ }
78
+ }
79
+ }
80
+ },
81
+ "summary" : " Get Token" ,
82
+ "operationId" : " getToken"
83
+ }
84
+ },
37
85
"/v2/fips" : {
38
86
"get" : {
39
87
"responses" : {
553
601
},
554
602
"components" : {
555
603
"schemas" : {
604
+ "TokenAPIResponse" : {
605
+ "type" : " object" ,
606
+ "properties" : {
607
+ "access_token" : {
608
+ "type" : " string" ,
609
+ "description" : " Bearer token"
610
+ },
611
+ "refresh_token" : {
612
+ "type" : " string" ,
613
+ "description" : " Bearer token"
614
+ }
615
+ },
616
+ "required" : [" access_token" ]
617
+ },
618
+ "TokenAPIRequest" : {
619
+ "type" : " object" ,
620
+ "properties" : {
621
+ "clientID" : {
622
+ "type" : " string" ,
623
+ "description" : " client_id obtained from bridge"
624
+ },
625
+ "grant_type" : {
626
+ "type" : " string" ,
627
+ "enum" : [" client_credentials" ]
628
+ },
629
+ "secret" : {
630
+ "type" : " string" ,
631
+ "description" : " client secret obtained from bridge"
632
+ }
633
+ },
634
+ "required" : [" clientID" , " grant_type" , " secret" ]
635
+ },
556
636
"FIDataFetchResponseV2" : {
557
637
"type" : " object" ,
558
638
"properties" : {
You can’t perform that action at this time.
0 commit comments