Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix api description for Users#getDisabledUsers
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Oct 9, 2023
commit afcebd1e928f6131122bc166af2b37c24717891f
2 changes: 2 additions & 0 deletions apps/provisioning_api/lib/Controller/UsersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ public function getUsersDetails(string $search = '', int $limit = null, int $off
* @param ?int $limit Limit the amount of users returned
* @param int $offset Offset
* @return DataResponse<Http::STATUS_OK, array{users: array<string, ProvisioningApiUserDetails|array{id: string}>}, array{}>
*
* 200: Disabled users details returned
*/
public function getDisabledUsersDetails(?int $limit = null, int $offset = 0): DataResponse {
$currentUser = $this->userSession->getUser();
Expand Down
7 changes: 4 additions & 3 deletions apps/provisioning_api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2067,16 +2067,17 @@
{
"name": "OCS-APIRequest",
"in": "header",
"description": "Required to be true for the API request to pass",
"required": true,
"schema": {
"type": "string",
"default": "true"
"type": "boolean",
"default": true
}
}
],
"responses": {
"200": {
"description": "",
"description": "Disabled users details returned",
"content": {
"application/json": {
"schema": {
Expand Down