# setUsedApiVersion
Deprecated
It is recommended to specify the required version through the WebSocket address. See General Description.
Description: obtain the API version used for the current connection.
Once the method has been called, the request result will be returned.
Request example:
{
"method" : "setUsedApiVersion",
"requestId" : "1",
"version" : "1"
}
Response example:
{
"method" : "setUsedApiVersion",
"requestId" : "1",
"result" : true
}
Parameter description:
version
— the string parameter identifying the correct API versionrequestId
- a unique request identifier. You can learn more about it here.
See also: