Lint the graph configuration.
POST/api/v1/graph/ontology/lintcustom_fields:read
The configuration problems the Portal's checks strip shows (a relation with no edge, a role with no key, a hub with no navigation role), for the whole graph or one template (custom_field_template_id). Writes nothing. Needs View Graph Ontology.
| Scope | custom_fields:read |
| Asynchronous | No |
| MCP tool | lint_graph_ontology |
| Portal permissions | view_graph_ontology |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | GraphLintInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json GraphDocument |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GraphDocument
| Field | Type | Required | Description |
|---|---|---|---|
document | object | Required | The Portal's own document; its format says which. |
GraphLintInput
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_template_id | string or null | Optional | Only this template's findings; the whole graph's when left out. |