Pass a RequestInterceptor
instance to the RestAdapter.Builder
which adds the query parameters.
Retrofit will invoke the request interceptor for every API call which allows you to append query parameters or replace path elements.
In this callback you will be able to append the clientId
and apiKey
query parameters for every request.