--- openapi: 3.1.0 info: title: SimKube API version: "1" paths: /export: post: summary: Export simulation data requestBody: required: true content: application/json: schema: type: object title: export_request required: - start_ts - end_ts - export_path - filters properties: start_ts: type: integer format: int64 end_ts: type: integer format: int64 export_path: type: string format: uri # TODO - eventually want positive filters too filters: type: object title: export_filters required: - excluded_namespaces - excluded_labels properties: excluded_namespaces: type: array items: type: string excluded_labels: type: array items: $ref: 'https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/v3/api__v1_openapi.json#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector' # yamllint disable-line rule:line-length responses: '200': description: OK content: application/json: schema: type: object title: export_response properties: trace_data: type: string format: byte '404': description: Storage location not found '500': description: Tracer error '502': description: External storage provider error