@@ -2053,6 +2053,7 @@ paths:
2053
2053
description : Internal Server Error
2054
2054
security :
2055
2055
- oauth2 : [https://jans.io/oauth/config/openid/clients.write]
2056
+
2056
2057
/jans-config-api/api/v1/uma/resources :
2057
2058
get :
2058
2059
tags :
@@ -2169,38 +2170,7 @@ paths:
2169
2170
description : Internal Server Error
2170
2171
security :
2171
2172
- oauth2 : [https://jans.io/oauth/config/uma/resources.readonly]
2172
- /jans-config-api/api/v1/uma/resources/clientId/{clientId} :
2173
- parameters :
2174
- - name : clientId
2175
- in : path
2176
- required : true
2177
- description : Client ID.
2178
- schema :
2179
- type : string
2180
- get :
2181
- tags :
2182
- - OAuth - UMA Resources
2183
- summary : Fetch uma resources by client id.
2184
- description : Fetch uma resources by client id.
2185
- operationId : get-oauth-uma-resources-by-clientid
2186
- responses :
2187
- ' 200 ' :
2188
- description : OK
2189
- content :
2190
- application/json :
2191
- schema :
2192
- title : UMA Resource list.
2193
- description : List of UMA Resource.
2194
- items :
2195
- $ref : ' #/components/schemas/UmaResource'
2196
- ' 401 ' :
2197
- $ref : ' #/components/responses/Unauthorized'
2198
- ' 404 ' :
2199
- $ref : ' #/components/responses/NotFound'
2200
- ' 500 ' :
2201
- description : Internal Server Error
2202
- security :
2203
- - oauth2 : [https://jans.io/oauth/config/uma/resources.readonly]
2173
+
2204
2174
delete :
2205
2175
tags :
2206
2176
- OAuth - UMA Resources
@@ -2218,6 +2188,7 @@ paths:
2218
2188
description : Internal Server Error
2219
2189
security :
2220
2190
- oauth2 : [https://jans.io/oauth/config/uma/resources.delete]
2191
+
2221
2192
patch :
2222
2193
tags :
2223
2194
- OAuth - UMA Resources
@@ -2249,6 +2220,42 @@ paths:
2249
2220
description : Internal Server Error
2250
2221
security :
2251
2222
- oauth2 : [https://jans.io/oauth/config/uma/resources.write]
2223
+
2224
+
2225
+ /jans-config-api/api/v1/uma/resources/clientId/{clientId} :
2226
+ parameters :
2227
+ - name : clientId
2228
+ in : path
2229
+ required : true
2230
+ description : Client ID.
2231
+ schema :
2232
+ type : string
2233
+ get :
2234
+ tags :
2235
+ - OAuth - UMA Resources
2236
+ summary : Fetch uma resources by client id.
2237
+ description : Fetch uma resources by client id.
2238
+ operationId : get-oauth-uma-resources-by-clientid
2239
+ responses :
2240
+ ' 200 ' :
2241
+ description : OK
2242
+ content :
2243
+ application/json :
2244
+ schema :
2245
+ title : UMA Resource list.
2246
+ description : List of UMA Resource.
2247
+ items :
2248
+ $ref : ' #/components/schemas/UmaResource'
2249
+ ' 401 ' :
2250
+ $ref : ' #/components/responses/Unauthorized'
2251
+ ' 404 ' :
2252
+ $ref : ' #/components/responses/NotFound'
2253
+ ' 500 ' :
2254
+ description : Internal Server Error
2255
+ security :
2256
+ - oauth2 : [https://jans.io/oauth/config/uma/resources.readonly]
2257
+
2258
+
2252
2259
/jans-config-api/api/v1/scopes :
2253
2260
get :
2254
2261
tags :
@@ -2534,8 +2541,7 @@ paths:
2534
2541
$ref : ' #/components/responses/InternalServerError'
2535
2542
security :
2536
2543
- oauth2 : [https://jans.io/oauth/config/agama.write]
2537
-
2538
-
2544
+
2539
2545
put :
2540
2546
summary : Updates an agama flow based on Qname.
2541
2547
description : Updates an agama based on Qname.
@@ -2561,7 +2567,39 @@ paths:
2561
2567
' 500 ' :
2562
2568
$ref : ' #/components/responses/InternalServerError'
2563
2569
security :
2564
- - oauth2 : [https://jans.io/oauth/config/agama.write]
2570
+ - oauth2 : [https://jans.io/oauth/config/agama.write]
2571
+
2572
+ patch :
2573
+ summary : Partially modify a Agama Flow.
2574
+ description : Partially modify a Agama Flow.
2575
+ operationId : patch-agama-flow
2576
+ tags :
2577
+ - Configuration – Agama Flow
2578
+ requestBody :
2579
+ content :
2580
+ application/json-patch+json :
2581
+ schema :
2582
+ type : array
2583
+ items :
2584
+ $ref : ' #/components/schemas/PatchRequest'
2585
+ description : String representing patch-document.
2586
+ example : ' [ {op:replace, path: enabled, value: \"false\" } ]'
2587
+ responses :
2588
+ ' 200 ' :
2589
+ description : OK
2590
+ content :
2591
+ application/json :
2592
+ schema :
2593
+ $ref : ' #/components/schemas/AgamaFlow'
2594
+ ' 401 ' :
2595
+ $ref : ' #/components/responses/Unauthorized'
2596
+ ' 404 ' :
2597
+ $ref : ' #/components/responses/NotFound'
2598
+ ' 500 ' :
2599
+ $ref : ' #/components/responses/InternalServerError'
2600
+ security :
2601
+ - oauth2 : [https://jans.io/oauth/config/agama.write]
2602
+
2565
2603
delete :
2566
2604
summary : Deletes an agama flow based on Qname.
2567
2605
description : Deletes an agama flow based on Qname.
@@ -2580,6 +2618,41 @@ paths:
2580
2618
security :
2581
2619
- oauth2 : [https://jans.io/oauth/config/agama.delete]
2582
2620
2621
+ /jans-config-api/api/v1/agama/source/{qname} :
2622
+ parameters :
2623
+ - schema :
2624
+ type : string
2625
+ name : qname
2626
+ in : path
2627
+ description : flow qname.
2628
+ required : true
2629
+
2630
+ put :
2631
+ summary : Update agama flow from source file.
2632
+ description : Update agama flow from source file.
2633
+ operationId : put-agama-flow-from-source
2634
+ tags :
2635
+ - Configuration – Agama Flow
2636
+ requestBody :
2637
+ content :
2638
+ text/plain :
2639
+ schema :
2640
+ type : string
2641
+
2642
+ responses :
2643
+ ' 201 ' :
2644
+ description : CREATED
2645
+ content :
2646
+ application/json :
2647
+ schema :
2648
+ $ref : ' #/components/schemas/AgamaFlow'
2649
+ ' 401 ' :
2650
+ $ref : ' #/components/responses/Unauthorized'
2651
+ ' 500 ' :
2652
+ $ref : ' #/components/responses/InternalServerError'
2653
+ security :
2654
+ - oauth2 : [https://jans.io/oauth/config/agama.write]
2655
+
2583
2656
/jans-config-api/api/v1/stat :
2584
2657
get :
2585
2658
summary : Provides server with basic statistic.
@@ -3577,6 +3650,9 @@ components:
3577
3650
https://jans.io/oauth/config/user.readonly : View user related information
3578
3651
https://jans.io/oauth/config/user.write : Manage user related information
3579
3652
https://jans.io/oauth/config/user.delete : Delete user related information
3653
+ https://jans.io/oauth/config/agama.readonly : View Agama Flow related information
3654
+ https://jans.io/oauth/config/agama.write : Manage Agama Flow related information
3655
+ https://jans.io/oauth/config/agama.delete : Delete Agama Flow related information
3580
3656
3581
3657
3582
3658
responses :
0 commit comments