Skip to main content
When your server receives a request from the Subgraph Check Extension, it must respond with either 204 No Content, which indicates that nothing changed, or 200 OK with the structure described below. The response payload allows you to append a collection of LintIssues to the check, which will be displayed on the Check results page. To do this, the response must contain the lintIssues field with the subgraph name as the key and the LintIssues as the value. You can also return a collection of error messages to be displayed in the extension’s UI. The response payload must be a JSON object no larger than 5 MB. If an error message or lint issue does not match the schema, validation stops and the entire response is rejected. No lint issues from that response are added to the check. Diagnostics identify the invalid entry and its field errors.

SubgraphCheckExtensionReply

LintIssue

LintSeverity

LintIssueLocation

TypeScript definition