Provided free and as is, without warranty of any kind — including merchantability, fitness for a particular purpose, and the accuracy or completeness of any result. See the licence. You are responsible for checking what this produces before relying on it.
alertdeveloper-devopsreviewsummary
Lgtm
Tool for the lgtm API.
Base URL: https://lgtm.com/api/v1.0
Auth: bearer (pass your key via the apiKey input)
Operations
getversion — GET / — Version information
getanalysis — GET /analyses/{analysis-id} — Get analysis summary
getalerts — GET /analyses/{analysis-id}/alerts — Get detailed alert information
getanalysisforcommit — GET /analyses/{project-id}/commits/{commit-id} — Get analysis summary for a specific commit
getcodereview — GET /codereviews/{review-id} — Get results of code review
getissue — GET /issues/{project-id}/{alert-key} — Get detailed alert information for an issue
Inputs
apiKey — your lgtm API key
operation — one of the operations above
path parameters when an operation's path contains {...}
query — optional JSON object of query params
body — JSON object for create/update ops
Example
operation: getversion
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
error
operation
result
status
Input Properties
Every property this tool accepts, from its own tool.iml.
Property
Type
Required
Default
Description
apiKey
string
yes
—
DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change.
operation
string
yes
—
One of: getversion, getanalysis, getalerts, getanalysisforcommit, getcodereview, getissue
alert-key
string
no
—
Path parameter alert-key (required by some operations).
analysis-id
string
no
—
Path parameter analysis-id (required by some operations).
commit-id
string
no
—
Path parameter commit-id (required by some operations).
project-id
string
no
—
Path parameter project-id (required by some operations).
review-id
string
no
—
Path parameter review-id (required by some operations).
query
string
no
—
Optional query params as a JSON object string, e.g. {"limit": 10}.