public interface BackupService
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<MetadataBackup> |
getBackupMetadata(String zapTraceSpan,
String acceptEncoding)
Download snapshot of all metadata in the server
|
retrofit2.Call<okhttp3.ResponseBody> |
getBackupShardId(Long shardID,
String zapTraceSpan,
String acceptEncoding,
OffsetDateTime since)
Download snapshot of all TSM data in a shard
|
@GET(value="api/v2/backup/metadata") retrofit2.Call<MetadataBackup> getBackupMetadata(@Header(value="Zap-Trace-Span") String zapTraceSpan, @Header(value="Accept-Encoding") String acceptEncoding)
zapTraceSpan - OpenTracing span context (optional)acceptEncoding - The Accept-Encoding request HTTP header advertises which content encoding, usually a compression algorithm, the client is able to understand. (optional, default to identity)@GET(value="api/v2/backup/shards/{shardID}")
retrofit2.Call<okhttp3.ResponseBody> getBackupShardId(@Path(value="shardID")
Long shardID,
@Header(value="Zap-Trace-Span")
String zapTraceSpan,
@Header(value="Accept-Encoding")
String acceptEncoding,
@Query(value="since")
OffsetDateTime since)
shardID - The shard ID. (required)zapTraceSpan - OpenTracing span context (optional)acceptEncoding - The Accept-Encoding request HTTP header advertises which content encoding, usually a compression algorithm, the client is able to understand. (optional, default to identity)since - Earliest time to include in the snapshot. RFC3339 format. (optional)Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.