Managed Service for SPQR API, REST: User.Get
Returns the specified SPQR User resource.
To get the list of available SPQR User resources, make a List request.
HTTP request
GET https://mdb.api.cloud.yandex.net/managed-spqr/v1/clusters/{clusterId}/users/{userName}
Path parameters
|
Field |
Description |
|
clusterId |
string Required field. ID of the SPQR cluster the user belongs to. |
|
userName |
string Required field. Name of the SPQR User resource to return. |
Response
HTTP Code: 200 - OK
{
"name": "string",
"clusterId": "string",
"permissions": [
{
"databaseName": "string"
}
],
"settings": {
"connectionLimit": "string",
"connectionRetries": "string"
},
"grants": [
"string"
]
}
A SPQR User resource. For more information, see the
Developer's Guide.
|
Field |
Description |
|
name |
string Name of the SPQR user. |
|
clusterId |
string ID of the SPQR cluster the user belongs to. |
|
permissions[] |
Set of permissions granted to the user. |
|
settings |
SPQR Settings for this user |
|
grants[] |
string User grants |
Permission
|
Field |
Description |
|
databaseName |
string Name of the database that the permission grants access to. |
UserSettings
|
Field |
Description |
|
connectionLimit |
string (int64) |
|
connectionRetries |
string (int64) |