Skip to content

Commit f290a17

Browse files
authored
Keycloak Admin REST API v26.3.100 (#162)
1 parent da76abf commit f290a17

File tree

6 files changed

+558
-388
lines changed

6 files changed

+558
-388
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "keycloak"
3-
version = "26.2.300"
3+
version = "26.3.100"
44
authors = ["Alexander Korolev <alexander.korolev.germany@gmail.com>"]
55
edition = "2021"
66
categories = ["api-bindings", "asynchronous"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Dual-licensed under `MIT` or the [UNLICENSE](http://unlicense.org/).
66

77
## Features
88

9-
Implements [Keycloak Admin REST API version 26.2.3](https://www.keycloak.org/docs-api/26.2.3/rest-api/index.html).
9+
Implements [Keycloak Admin REST API version 26.3.1](https://www.keycloak.org/docs-api/26.3.1/rest-api/index.html).
1010

1111
### Feature flags
1212

@@ -25,7 +25,7 @@ Add dependency to Cargo.toml:
2525

2626
```toml
2727
[dependencies]
28-
keycloak = "~26.2"
28+
keycloak = "~26.3"
2929
```
3030

3131
```rust

api/openapi.json

Lines changed: 111 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8745,6 +8745,14 @@
87458745
"schema" : {
87468746
"type" : "string"
87478747
}
8748+
}, {
8749+
"name" : "subGroupsCount",
8750+
"in" : "query",
8751+
"description" : "Boolean which defines whether to return the count of subgroups for each group (default: true",
8752+
"schema" : {
8753+
"default" : "true",
8754+
"type" : "boolean"
8755+
}
87488756
} ],
87498757
"responses" : {
87508758
"200" : {
@@ -8942,6 +8950,14 @@
89428950
"schema" : {
89438951
"type" : "string"
89448952
}
8953+
}, {
8954+
"name" : "subGroupsCount",
8955+
"in" : "query",
8956+
"description" : "Boolean which defines whether to return the count of subgroups for each subgroup of this group (default: true",
8957+
"schema" : {
8958+
"default" : "true",
8959+
"type" : "boolean"
8960+
}
89458961
} ],
89468962
"responses" : {
89478963
"200" : {
@@ -10479,6 +10495,56 @@
1047910495
}
1048010496
} ]
1048110497
},
10498+
"/admin/realms/{realm}/organizations/count" : {
10499+
"get" : {
10500+
"tags" : [ "Organizations" ],
10501+
"summary" : "Returns the organizations counts.",
10502+
"parameters" : [ {
10503+
"name" : "exact",
10504+
"in" : "query",
10505+
"description" : "Boolean which defines whether the param 'search' must match exactly or not",
10506+
"schema" : {
10507+
"type" : "boolean"
10508+
}
10509+
}, {
10510+
"name" : "q",
10511+
"in" : "query",
10512+
"description" : "A query to search for custom attributes, in the format 'key1:value2 key2:value2'",
10513+
"schema" : {
10514+
"type" : "string"
10515+
}
10516+
}, {
10517+
"name" : "search",
10518+
"in" : "query",
10519+
"description" : "A String representing either an organization name or domain",
10520+
"schema" : {
10521+
"type" : "string"
10522+
}
10523+
} ],
10524+
"responses" : {
10525+
"200" : {
10526+
"description" : "OK",
10527+
"content" : {
10528+
"application/json" : {
10529+
"schema" : {
10530+
"format" : "int64",
10531+
"type" : "integer"
10532+
}
10533+
}
10534+
}
10535+
}
10536+
}
10537+
},
10538+
"parameters" : [ {
10539+
"name" : "realm",
10540+
"in" : "path",
10541+
"description" : "realm name (not id!)",
10542+
"required" : true,
10543+
"schema" : {
10544+
"type" : "string"
10545+
}
10546+
} ]
10547+
},
1048210548
"/admin/realms/{realm}/organizations/members/{member-id}/organizations" : {
1048310549
"get" : {
1048410550
"tags" : [ "Organizations" ],
@@ -10490,6 +10556,14 @@
1049010556
"schema" : {
1049110557
"type" : "string"
1049210558
}
10559+
}, {
10560+
"name" : "briefRepresentation",
10561+
"in" : "query",
10562+
"description" : "if false, return the full representation. Otherwise, only the basic fields are returned.",
10563+
"schema" : {
10564+
"default" : true,
10565+
"type" : "boolean"
10566+
}
1049310567
} ],
1049410568
"responses" : {
1049510569
"200" : {
@@ -10555,6 +10629,9 @@
1055510629
},
1055610630
"400" : {
1055710631
"description" : "Bad Request"
10632+
},
10633+
"409" : {
10634+
"description" : "Conflict"
1055810635
}
1055910636
}
1056010637
},
@@ -11045,6 +11122,14 @@
1104511122
"schema" : {
1104611123
"type" : "string"
1104711124
}
11125+
}, {
11126+
"name" : "briefRepresentation",
11127+
"in" : "query",
11128+
"description" : "if false, return the full representation. Otherwise, only the basic fields are returned.",
11129+
"schema" : {
11130+
"default" : true,
11131+
"type" : "boolean"
11132+
}
1104811133
} ],
1104911134
"responses" : {
1105011135
"200" : {
@@ -15181,7 +15266,9 @@
1518115266
"type" : "string"
1518215267
},
1518315268
"configuration" : {
15184-
"type" : "array"
15269+
"description" : "Configuration settings as a JSON object",
15270+
"type" : "object",
15271+
"additionalProperties" : true
1518515272
}
1518615273
}
1518715274
},
@@ -15192,7 +15279,9 @@
1519215279
"type" : "string"
1519315280
},
1519415281
"configuration" : {
15195-
"type" : "array"
15282+
"description" : "Configuration settings as a JSON object",
15283+
"type" : "object",
15284+
"additionalProperties" : true
1519615285
}
1519715286
}
1519815287
},
@@ -15930,6 +16019,9 @@
1593016019
"name" : {
1593116020
"type" : "string"
1593216021
},
16022+
"description" : {
16023+
"type" : "string"
16024+
},
1593316025
"path" : {
1593416026
"type" : "string"
1593516027
},
@@ -16304,6 +16396,14 @@
1630416396
},
1630516397
"format" : {
1630616398
"type" : "string"
16399+
},
16400+
"keySize" : {
16401+
"format" : "int32",
16402+
"type" : "integer"
16403+
},
16404+
"validity" : {
16405+
"format" : "int32",
16406+
"type" : "integer"
1630716407
}
1630816408
}
1630916409
},
@@ -16399,6 +16499,9 @@
1639916499
"userProfileMetadata" : {
1640016500
"$ref" : "#/components/schemas/UserProfileMetadata"
1640116501
},
16502+
"enabled" : {
16503+
"type" : "boolean"
16504+
},
1640216505
"self" : {
1640316506
"type" : "string"
1640416507
},
@@ -16409,9 +16512,6 @@
1640916512
"format" : "int64",
1641016513
"type" : "integer"
1641116514
},
16412-
"enabled" : {
16413-
"type" : "boolean"
16414-
},
1641516515
"totp" : {
1641616516
"type" : "boolean"
1641716517
},
@@ -17583,6 +17683,9 @@
1758317683
"type" : "string"
1758417684
}
1758517685
},
17686+
"webAuthnPolicyPasswordlessPasskeysEnabled" : {
17687+
"type" : "boolean"
17688+
},
1758617689
"clientProfiles" : {
1758717690
"$ref" : "#/components/schemas/ClientProfilesRepresentation"
1758817691
},
@@ -18520,6 +18623,9 @@
1852018623
"userProfileMetadata" : {
1852118624
"$ref" : "#/components/schemas/UserProfileMetadata"
1852218625
},
18626+
"enabled" : {
18627+
"type" : "boolean"
18628+
},
1852318629
"self" : {
1852418630
"type" : "string"
1852518631
},
@@ -18530,9 +18636,6 @@
1853018636
"format" : "int64",
1853118637
"type" : "integer"
1853218638
},
18533-
"enabled" : {
18534-
"type" : "boolean"
18535-
},
1853618639
"totp" : {
1853718640
"type" : "boolean"
1853818641
},

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Dual-licensed under `MIT` or the [UNLICENSE](http://unlicense.org/).
77
88
## Features
99
10-
Implements [Keycloak Admin REST API version 26.2.3](https://www.keycloak.org/docs-api/26.2.3/rest-api/index.html).
10+
Implements [Keycloak Admin REST API version 26.3.1](https://www.keycloak.org/docs-api/26.3.1/rest-api/index.html).
1111
1212
### Feature flags
1313
@@ -26,7 +26,7 @@ Add dependency to Cargo.toml:
2626
2727
```toml
2828
[dependencies]
29-
keycloak = "~26.2"
29+
keycloak = "~26.3"
3030
```
3131
3232
```rust, no_run

0 commit comments

Comments
 (0)