Fetch the results for a specific project. The endpoint succeeds only if the query was successful, and returns a 404 error otherwise. By default, the endpoint provides only results that are within the source tree. To obtain all results, specify the nofilter parameter.
643 matches
22 actions
LGTM API specification
22 actions
- Add a project to LGTMPOSTv1.0.0
- API specificationGETv1.0.0
- Delete project by numeric identifierDELETEv1.0.0
- Fetch the results of a query job for a specific projectGETv1.0.0
- Get analysis summaryGETv1.0.0
- Get analysis summary for a specific commitGETv1.0.0
- Get configuration for a project identified by numeric identifierGETv1.0.0
- Get detailed alert informationGETv1.0.0
- Get detailed alert information for an issueGETv1.0.0
- Get operation statusGETv1.0.0
- Get project by numeric identifierGETv1.0.0
- Get project by URL identifierGETv1.0.0
- Get results of code reviewGETv1.0.0
- Get the computed values of the specified metricGETv1.0.0
- Get the identifiers and descriptions of the usage metricsGETv1.0.0
- Get the status of a query jobGETv1.0.0
- List projectsGETv1.0.0
- Provide a summary of results for the projects in the query jobGETv1.0.0
- Run a CodeQL query on one or more projectsPOSTv1.0.0
- Run analysis of a specific commitPOSTv1.0.0
- Run code review for a patchPOSTv1.0.0
- Set the administrator configuration for a project identified by numeric identifierPUTv1.0.0
Other/LGTM API specification
Fetch the results of a query job for a specific project
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"format": "int32"
},
"nofilter": {
"type": "boolean"
},
"project-id": {
"type": "string"
},
"queryjob-id": {
"type": "string"
},
"start": {
"type": "integer",
"format": "int32"
}
},
"required": [
"project-id",
"queryjob-id"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
{
"type": "object",
"properties": {
"columns": {
"type": "array",
"description": "Columns returned by the query.",
"items": {
"type": "string"
}
},
"data": {
"type": "array",
"description": "Results of the query divided by row.",
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file": {
"type": "string"
},
"line": {
"type": "integer",
"format": "int32"
},
"url": {
"type": "string",
"format": "uri"
},
"value": {
"type": "string"
}
}
}
}
},
"next": {
"type": "string",
"description": "URL for retrieving the next part of the results (if applicable)."
},
"project": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "The numeric identifier of the project."
},
"name": {
"type": "string",
"description": "The display name of the project."
},
"url": {
"type": "string",
"description": "The full URL of the project on LGTM."
},
"url-identifier": {
"type": "string",
"description": "The URL identifier of the project."
}
}
}
}
}