diff --git a/spec2.yaml b/spec2.yaml index 39ecaa0..1b7bea8 100644 --- a/spec2.yaml +++ b/spec2.yaml @@ -4514,6 +4514,79 @@ paths: description: "not ready" schema: $ref: "#/definitions/ErrorModel" + /v1/orgs/self/lambdas/scheduled_lambdas: + get: + tags: + - "Scheduled Lambdas" + summary: "List Scheduled Lambdas" + description: "List all Scheduled Lambdas in an organization." + operationId: "listOrgScheduledLambdas" + consumes: + - "application/json" + produces: + - "application/json" + parameters: [] + responses: + 200: + description: "scheduled lambdas listed successfully" + schema: + $ref: "#/definitions/ListScheduledLambdasResponse" + 400: + description: "bad request" + schema: + $ref: "#/definitions/ErrorModel" + 401: + description: "unauthorized" + schema: + $ref: "#/definitions/ErrorModel" + 403: + description: "forbidden" + schema: + $ref: "#/definitions/ErrorModel" + 404: + description: "not found" + schema: + $ref: "#/definitions/ErrorModel" + 405: + description: "not allowed" + schema: + $ref: "#/definitions/ErrorModel" + 406: + description: "not acceptable" + schema: + $ref: "#/definitions/ErrorModel" + 408: + description: "request timeout" + schema: + $ref: "#/definitions/ErrorModel" + 409: + description: "conflict" + schema: + $ref: "#/definitions/ErrorModel" + 415: + description: "not supported" + schema: + $ref: "#/definitions/ErrorModel" + 429: + description: "resource exceeded" + schema: + $ref: "#/definitions/ErrorModel" + 500: + description: "internal error" + schema: + $ref: "#/definitions/ErrorModel" + 501: + description: "not implemented" + schema: + $ref: "#/definitions/ErrorModel" + 502: + description: "bad gateway" + schema: + $ref: "#/definitions/ErrorModel" + 503: + description: "not ready" + schema: + $ref: "#/definitions/ErrorModel" /v1/orgs/self/ws/{workspace}/scheduled_lambdas: post: tags: @@ -8690,7 +8763,7 @@ definitions: type: "integer" format: "int64" example: 123456 - description: "Total collection column index size in bytes." + description: "DEPRECATED: Total collection column index size in bytes." doc_count: type: "integer" format: "int64" @@ -8706,7 +8779,7 @@ definitions: type: "integer" format: "int64" example: 123456 - description: "Total collection inverted index size in bytes." + description: "DEPRECATED: Total collection inverted index size in bytes." last_queried_ms: type: "integer" format: "int64" @@ -8731,12 +8804,12 @@ definitions: type: "integer" format: "int64" example: 123456 - description: "Total collection range index size in bytes." + description: "DEPRECATED: Total collection range index size in bytes." row_index_size: type: "integer" format: "int64" example: 123456 - description: "Total collection row index size in bytes." + description: "DEPRECATED: Total collection row index size in bytes." total_index_size: type: "integer" format: "int64" @@ -9093,7 +9166,8 @@ definitions: type: "boolean" example: true description: "When a Virtual Instance is resumed, it will remount all collections\ - \ that were mounted when the Virtual Instance was suspended." + \ that were mounted when the Virtual Instance was suspended. Defaults to\ + \ true." instance_class: type: "string" example: "MO_IL" @@ -9920,6 +9994,14 @@ definitions: description: "List of all roles." items: $ref: "#/definitions/Role" + ListScheduledLambdasResponse: + type: "object" + properties: + data: + type: "array" + description: "list of all Scheduled Lambdas" + items: + $ref: "#/definitions/ScheduledLambda" ListSourcesResponse: type: "object" properties: @@ -9968,6 +10050,23 @@ definitions: description: "List of workspaces." items: $ref: "#/definitions/Workspace" + MicrobatchPolicy: + type: "object" + properties: + enabled: + type: "boolean" + example: true + description: "Whether batch mode policy is enabled." + enabled_timestamp: + type: "integer" + format: "int64" + description: "Timestamp (in millis since epoch) when microbatching was enabled" + readOnly: true + resume_interval: + type: "string" + example: "PT2H30M5S" + description: "ISO-8601 Duration representing the time the VI should remain\ + \ suspended for before resuming ingest" MongoDbIntegration: type: "object" required: @@ -11937,6 +12036,9 @@ definitions: enum: - "MO_IL" - "GP_IL" + microbatch_policy: + $ref: "#/definitions/MicrobatchPolicy" + description: "Options for configuring Ingest VI microbatch policy" mount_refresh_interval_seconds: type: "integer" format: "int32"