|
|
|
@ -2028,6 +2028,112 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"/ocs/v2.php/cloud/users/disabled": { |
|
|
|
"get": { |
|
|
|
"operationId": "users-get-disabled-users-details", |
|
|
|
"summary": "Get the list of disabled users and their details", |
|
|
|
"tags": [ |
|
|
|
"users" |
|
|
|
], |
|
|
|
"security": [ |
|
|
|
{ |
|
|
|
"bearer_auth": [] |
|
|
|
}, |
|
|
|
{ |
|
|
|
"basic_auth": [] |
|
|
|
} |
|
|
|
], |
|
|
|
"parameters": [ |
|
|
|
{ |
|
|
|
"name": "limit", |
|
|
|
"in": "query", |
|
|
|
"description": "Limit the amount of users returned", |
|
|
|
"schema": { |
|
|
|
"type": "integer", |
|
|
|
"format": "int64", |
|
|
|
"nullable": true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"name": "offset", |
|
|
|
"in": "query", |
|
|
|
"description": "Offset", |
|
|
|
"schema": { |
|
|
|
"type": "integer", |
|
|
|
"format": "int64", |
|
|
|
"default": 0 |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"name": "OCS-APIRequest", |
|
|
|
"in": "header", |
|
|
|
"required": true, |
|
|
|
"schema": { |
|
|
|
"type": "string", |
|
|
|
"default": "true" |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
"responses": { |
|
|
|
"200": { |
|
|
|
"description": "", |
|
|
|
"content": { |
|
|
|
"application/json": { |
|
|
|
"schema": { |
|
|
|
"type": "object", |
|
|
|
"required": [ |
|
|
|
"ocs" |
|
|
|
], |
|
|
|
"properties": { |
|
|
|
"ocs": { |
|
|
|
"type": "object", |
|
|
|
"required": [ |
|
|
|
"meta", |
|
|
|
"data" |
|
|
|
], |
|
|
|
"properties": { |
|
|
|
"meta": { |
|
|
|
"$ref": "#/components/schemas/OCSMeta" |
|
|
|
}, |
|
|
|
"data": { |
|
|
|
"type": "object", |
|
|
|
"required": [ |
|
|
|
"users" |
|
|
|
], |
|
|
|
"properties": { |
|
|
|
"users": { |
|
|
|
"type": "object", |
|
|
|
"additionalProperties": { |
|
|
|
"oneOf": [ |
|
|
|
{ |
|
|
|
"$ref": "#/components/schemas/UserDetails" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"type": "object", |
|
|
|
"required": [ |
|
|
|
"id" |
|
|
|
], |
|
|
|
"properties": { |
|
|
|
"id": { |
|
|
|
"type": "string" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"/ocs/v2.php/cloud/users/search/by-phone": { |
|
|
|
"post": { |
|
|
|
"operationId": "users-search-by-phone-numbers", |
|
|
|
|