action lgtm_get_operation { label: "Get operation status" description: "Track progress of a long-running operation using the operations identifier returned when you created the operation. For example, by triggering the analysis of a commit, or the code review of a patch. For both LGTM.com and LGTM Enterprise, you must include an access token with the `operations:read` scope.\n" provider: lgtm method: GET path: "/operations/{operation-id}" encoding: json input: { type: "object" properties: { "operation-id": { type: "integer" format: "int64" } } required: ["operation-id"] additionalProperties: false } output: { type: "object" required: ["task-type"] properties: { id: { type: "integer" format: "int64" description: "The identifier for the operation." } status: { type: "string" description: "Status of the operation." enum: ["pending", "done"] } "task-result": { type: "object" } "task-result-url": { type: "string" description: "The URL for the result of the task. For some operations, included only on completion." } "task-type": { type: "string" enum: ["analysis", "codereview", "queryjob"] } uploads: { type: "object" } } } }