public interface DefaultService
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<Void> |
postSignin(String zapTraceSpan,
String authorization)
Exchange basic auth credentials for session
|
retrofit2.Call<Void> |
postSignout(String zapTraceSpan)
Expire the current session
|
@POST(value="api/v2/signin") retrofit2.Call<Void> postSignin(@Header(value="Zap-Trace-Span") String zapTraceSpan, @Header(value="Authorization") String authorization)
zapTraceSpan - OpenTracing span context (optional)authorization - An auth credential for the Basic scheme (optional)Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.