Request for user login
You can request the login of the user whose OAuth token you are using for authentication. This method is not available for Basic authentication.
The login of the user with the specified access token is requested.
GET /?userinfo HTTP/1.1
Host: webdav.yandex.com
Accept: */*
Authorization: OAuth 0c4182a7c2cf4521964a72ff57a34a07
If the passed token is valid, the following response is returned:
HTTP/1.1 200 OK
Content-Type: text/plain
Content-Length: 10
login:test
The response body contains the login
field, where the value “test” is the requested login.