@@ -195,11 +195,12 @@ paths:
195
195
$ref : ' #/components/responses/InternalServerError'
196
196
security :
197
197
- oauth2 : [ https://jans.io/oauth/config/fido2.readonly ]
198
+
198
199
/jans-config-api/api/v1/attributes :
199
200
get :
200
201
summary : Gets a list of Gluu attributes.
201
202
description : ' Gets all attributes. Optionally max-size of the result, attribute status and pattern can be provided.'
202
- operationId : get-attributes
203
+ operationId : get-all-attribute
203
204
tags :
204
205
- Attribute
205
206
responses :
@@ -208,11 +209,21 @@ paths:
208
209
content :
209
210
application/json :
210
211
schema :
211
- title : Gluu Attributes
212
- description : List of all attribute.
213
- type : array
214
- items :
215
- $ref : ' #/components/schemas/GluuAttribute'
212
+ title : Gluu Attributes paginated result
213
+ description : Gluu Attributes paginated result
214
+ type : object
215
+ properties :
216
+ totalItems :
217
+ type : integer
218
+ description : Total number of records in the database.
219
+ entriesCount :
220
+ type : integer
221
+ description : Total number of records in the response.
222
+ data :
223
+ description : List of all attribute.
224
+ type : array
225
+ items :
226
+ $ref : ' #/components/schemas/GluuAttribute'
216
227
' 401 ' :
217
228
description : Unauthorized
218
229
' 500 ' :
@@ -237,6 +248,30 @@ paths:
237
248
in : query
238
249
name : status
239
250
description : Status of the attribute
251
+ - schema :
252
+ type : integer
253
+ default : 1
254
+ in : query
255
+ name : startIndex
256
+ description : The 1-based index of the first query result.
257
+ - schema :
258
+ type : string
259
+ default : inum
260
+ in : query
261
+ name : sortBy
262
+ description : Attribute whose value will be used to order the returned response.
263
+ - schema :
264
+ type : string
265
+ default : ascending
266
+ enum :
267
+ - ascending
268
+ - descending
269
+ in : query
270
+ name : sortOrder
271
+ description : Order in which the sortBy param is applied. Allowed values are "ascending" and "descending".
272
+
273
+
274
+
240
275
post :
241
276
summary : Adds a new attribute.
242
277
description : Adds a new attribute.
@@ -1018,7 +1053,7 @@ paths:
1018
1053
$ref : ' #/components/responses/InternalServerError'
1019
1054
security :
1020
1055
- oauth2 : [https://jans.io/oauth/config/scripts.write]
1021
-
1056
+
1022
1057
/jans-config-api/api/v1/config/scripts/name/{name} :
1023
1058
parameters :
1024
1059
- name : name
@@ -2054,7 +2089,7 @@ paths:
2054
2089
description : Internal Server Error
2055
2090
security :
2056
2091
- oauth2 : [https://jans.io/oauth/config/openid/clients.write]
2057
-
2092
+
2058
2093
/jans-config-api/api/v1/uma/resources :
2059
2094
get :
2060
2095
tags :
@@ -2171,7 +2206,7 @@ paths:
2171
2206
description : Internal Server Error
2172
2207
security :
2173
2208
- oauth2 : [https://jans.io/oauth/config/uma/resources.readonly]
2174
-
2209
+
2175
2210
delete :
2176
2211
tags :
2177
2212
- OAuth - UMA Resources
@@ -2189,7 +2224,7 @@ paths:
2189
2224
description : Internal Server Error
2190
2225
security :
2191
2226
- oauth2 : [https://jans.io/oauth/config/uma/resources.delete]
2192
-
2227
+
2193
2228
patch :
2194
2229
tags :
2195
2230
- OAuth - UMA Resources
@@ -2221,8 +2256,8 @@ paths:
2221
2256
description : Internal Server Error
2222
2257
security :
2223
2258
- oauth2 : [https://jans.io/oauth/config/uma/resources.write]
2224
-
2225
-
2259
+
2260
+
2226
2261
/jans-config-api/api/v1/uma/resources/clientId/{clientId} :
2227
2262
parameters :
2228
2263
- name : clientId
@@ -2443,7 +2478,7 @@ paths:
2443
2478
description : Internal Server Error
2444
2479
security :
2445
2480
- oauth2 : [https://jans.io/oauth/config/scopes.write]
2446
-
2481
+
2447
2482
/jans-config-api/api/v1/scopes/creator/{creatorId} :
2448
2483
parameters :
2449
2484
- schema :
@@ -2476,7 +2511,7 @@ paths:
2476
2511
description : Internal Server Error
2477
2512
security :
2478
2513
- oauth2 : ['https://jans.io/oauth/config/scopes.readonly']
2479
-
2514
+
2480
2515
/jans-config-api/api/v1/scopes/type/{type} :
2481
2516
parameters :
2482
2517
- schema :
@@ -2561,7 +2596,7 @@ paths:
2561
2596
$ref : ' #/components/responses/InternalServerError'
2562
2597
security :
2563
2598
- oauth2 : [https://jans.io/oauth/config/agama.write]
2564
-
2599
+
2565
2600
/jans-config-api/api/v1/agama/{qname} :
2566
2601
parameters :
2567
2602
- schema :
@@ -2590,7 +2625,7 @@ paths:
2590
2625
$ref : ' #/components/responses/InternalServerError'
2591
2626
security :
2592
2627
- oauth2 : [https://jans.io/oauth/config/agama.readonly]
2593
-
2628
+
2594
2629
post :
2595
2630
summary : Create a new agama flow from source.
2596
2631
description : Create a new agama flow from source.
@@ -2647,7 +2682,7 @@ paths:
2647
2682
$ref : ' #/components/responses/InternalServerError'
2648
2683
security :
2649
2684
- oauth2 : [https://jans.io/oauth/config/agama.write]
2650
-
2685
+
2651
2686
delete :
2652
2687
summary : Deletes an agama flow based on Qname.
2653
2688
description : Deletes an agama flow based on Qname.
@@ -2665,7 +2700,7 @@ paths:
2665
2700
description : Internal Server Error
2666
2701
security :
2667
2702
- oauth2 : [https://jans.io/oauth/config/agama.delete]
2668
-
2703
+
2669
2704
/jans-config-api/api/v1/agama/source/{qname} :
2670
2705
parameters :
2671
2706
- schema :
@@ -2674,7 +2709,7 @@ paths:
2674
2709
in : path
2675
2710
description : flow qname.
2676
2711
required : true
2677
-
2712
+
2678
2713
put :
2679
2714
summary : Update agama flow from source file.
2680
2715
description : Update agama flow from source file.
@@ -2700,7 +2735,7 @@ paths:
2700
2735
$ref : ' #/components/responses/InternalServerError'
2701
2736
security :
2702
2737
- oauth2 : [https://jans.io/oauth/config/agama.write]
2703
-
2738
+
2704
2739
/jans-config-api/api/v1/stat :
2705
2740
get :
2706
2741
summary : Provides server with basic statistic.
@@ -2818,7 +2853,7 @@ paths:
2818
2853
$ref : ' #/components/schemas/StatsData'
2819
2854
' 500 ' :
2820
2855
description : Internal Server Error
2821
-
2856
+
2822
2857
/jans-config-api/api/v1/jans-auth-server/session :
2823
2858
get :
2824
2859
summary : Returns current session.
@@ -2843,7 +2878,7 @@ paths:
2843
2878
$ref : ' #/components/responses/Unauthorized'
2844
2879
' 500 ' :
2845
2880
description : Internal Server Error
2846
-
2881
+
2847
2882
/jans-config-api/api/v1/jans-auth-server/session/{userDn} :
2848
2883
parameters :
2849
2884
- name : userDn
@@ -4269,7 +4304,7 @@ components:
4269
4304
example : ' https://server.example.com/jans-auth/restv1/par'
4270
4305
requirePar :
4271
4306
description : boolean value to indicate of Pushed Authorisation Request(PAR)is required.
4272
- type : boolean
4307
+ type : boolean
4273
4308
deviceAuthzEndpoint :
4274
4309
type : string
4275
4310
description : URL for the Device Authorization.
@@ -4301,11 +4336,11 @@ components:
4301
4336
mtlsEndSessionEndpoint :
4302
4337
type : string
4303
4338
description : URL for MTLS to which an RP can perform a redirect to request that the end user be logged out at the OP.
4304
- example : ' https://server.example.com/jans-auth/restv1/mtls/end_session'
4339
+ example : ' https://server.example.com/jans-auth/restv1/mtls/end_session'
4305
4340
mtlsJwksUri :
4306
4341
type : string
4307
4342
description : URL for MTLS of the OP\'s JSON Web Key Set (JWK) document.
4308
- example : ' https://server.example.com/jans-auth/restv1/mtls/jwks'
4343
+ example : ' https://server.example.com/jans-auth/restv1/mtls/jwks'
4309
4344
mtlsRegistrationEndpoint :
4310
4345
type : string
4311
4346
description : URL for MTLS Registration endpoint.
@@ -4325,7 +4360,7 @@ components:
4325
4360
mtlsDeviceAuthzEndpoint :
4326
4361
type : string
4327
4362
description : URL for MTLS Device Authorization endpoint.
4328
- example : ' https://server.example.com/jans-auth/restv1/mtls/device_authorization'
4363
+ example : ' https://server.example.com/jans-auth/restv1/mtls/device_authorization'
4329
4364
sessionAsJwt :
4330
4365
type : boolean
4331
4366
description : Boolean value true saves session data as a JWT.
@@ -4398,7 +4433,7 @@ components:
4398
4433
type : string
4399
4434
enum :
4400
4435
- mail
4401
- - uid
4436
+ - uid
4402
4437
responseTypesSupported :
4403
4438
type : array
4404
4439
description : A list of the OAuth 2.0 response_type values that this OP supports.
@@ -4443,7 +4478,7 @@ components:
4443
4478
description : Default Subject Type used for Dynamic Client Registration.
4444
4479
enum :
4445
4480
- public
4446
- - pairwise
4481
+ - pairwise
4447
4482
authorizationSigningAlgValuesSupported :
4448
4483
type : array
4449
4484
description : A list of the authorization signing algorithms supported.
@@ -4470,9 +4505,9 @@ components:
4470
4505
type : string
4471
4506
enum :
4472
4507
- RSA1_5
4473
- - RSA-OAEP
4474
- - A128KW
4475
- - A256KW
4508
+ - RSA-OAEP
4509
+ - A128KW
4510
+ - A256KW
4476
4511
authorizationEncryptionEncValuesSupported :
4477
4512
type : array
4478
4513
description : A list of the authorization encryption algorithms supported.
@@ -5576,9 +5611,9 @@ components:
5576
5611
description : Expiry date of the Scope.
5577
5612
type : string
5578
5613
format : date
5579
-
5614
+
5580
5615
5581
-
5616
+
5582
5617
ExtendedScope :
5583
5618
allOf : # Combines the Scope and the inline model
5584
5619
- $ref : ' #/components/schemas/Scope'
@@ -5590,7 +5625,7 @@ components:
5590
5625
type : array
5591
5626
items :
5592
5627
$ref : ' #/components/schemas/Client'
5593
-
5628
+
5594
5629
CustomAttribute :
5595
5630
title : CustomAttribute
5596
5631
description : Attribute.
@@ -5711,8 +5746,8 @@ components:
5711
5746
jansDefaultPromptLogin :
5712
5747
description : sets prompt=login to the authorization request, which causes the authorization server to force the user to sign in again before it will show the authorization prompt.
5713
5748
type : boolean
5714
-
5715
-
5749
+
5750
+
5716
5751
Client :
5717
5752
title : Client object
5718
5753
description : Client.
@@ -7688,7 +7723,7 @@ components:
7688
7723
codeError :
7689
7724
type : string
7690
7725
description : Errors in the flow source detected by Agama transpiler
7691
-
7726
+
7692
7727
SessionId :
7693
7728
title : Session details
7694
7729
description : Session details
@@ -7736,7 +7771,7 @@ components:
7736
7771
description : Map containing permission.
7737
7772
type : object
7738
7773
additionalProperties :
7739
- type : boolean
7774
+ type : boolean
7740
7775
sessionAttributes :
7741
7776
description : Session attributes
7742
7777
type : object
@@ -7753,4 +7788,3 @@ components:
7753
7788
description : Session creation date.
7754
7789
type : string
7755
7790
format : date
7756
-
0 commit comments