Skip to main content

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.

Scopecustom_fields:read
AsynchronousNo
MCP toollint_graph_ontology
Portal permissionsview_graph_ontology

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonGraphLintInput

Responses​

StatusDescriptionBody
200Success.application/json GraphDocument
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

GraphDocument​

FieldTypeRequiredDescription
documentobjectRequiredThe Portal's own document; its format says which.

GraphLintInput​

FieldTypeRequiredDescription
custom_field_template_idstring or nullOptionalOnly this template's findings; the whole graph's when left out.