How to search with where clause with retrof

I’m currently using retrofit and I’m trying to get Data Object from DB.
Here is my code:

@GET("data/Users?where=")
Call<User> getUserByLogin(@Query(value = "login", encoded = true) String login);

Test

@Test
public void testApiGetUsernameByLogin() throws Exception {
Retrofit backendlessRetrofit = new Retrofit.Builder()
.baseUrl(BASE_URL)
.addCallAdapterFactory(RxJavaCallAdapterFactory.create())
.addConverterFactory(GsonConverterFactory.create())
.build();
BackendlessAPI backendlessAPI = backendlessRetrofit.create(BackendlessAPI.class);
System.out.println(backendlessAPI.getUserByLogin("timuruktus").execute().body());
}

POJO which I’m trying to retrieve

public class User {
private String login;
private String vkId;
private String name;
private String objectId;
public User() {
}
public User(String login, String vkId, String name, String objectId) {
this.login = login;
this.vkId = vkId;
this.name = name;
this.objectId = objectId;
}
public String getLogin() {
return login;
}
public void setLogin(String login) {
this.login = login;
}
public String getVkId() {
return vkId;
}
public void setVkId(String vkId) {
this.vkId = vkId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getObjectId() {
return objectId;
}
public void setObjectId(String objectId) {
this.objectId = objectId;
}
}

Info from console:

null
Process finished with exit code 0

I tried this using getUserByLogin method without “?where=”, I tried with @Path annotation and nothing changed

Hi,

we can’t provide support for problems related to using Backendless with third-part libraries.

Regards,
Stanislaw