Skip to main content

List the graph's link proposals.

GET/api/v1/graph/proposalsregisters:read

The links the resolver proposed or the Portal holds for review, most recently seen first. Only proposals whose both ends and evidence document the caller can read are listed, as the Portal's Graph review screen does. status (repeat it for several: proposed, confirmed, rejected), relation_type_id, custom_field_template_id (either end), method and document_id narrow the list; is_grouped=true lists the proposed new register rows, one item per register and normalised key with the IDs of every proposal for it. Needs View Graph Proposals.

Scoperegisters:read
AsynchronousNo
MCP toollist_graph_proposals
Portal permissionsview_graph_proposals
Pagingsnapshot
Default order-proposal_id
Sort fieldsproposal_id
Filtersstatus, relation_type_id, custom_field_template_id, method, document_id, is_grouped

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
statusqueryarray of stringOptional
relation_type_idqueryarray of stringOptional
custom_field_template_idqueryarray of stringOptional
methodqueryarray of stringOptional
document_idqueryarray of stringOptional
is_groupedqueryarray of booleanOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/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
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of GraphProposalRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

GraphEnd​

FieldTypeRequiredDescription
custom_field_template_idstring or nullRequiredThe register of a register row.
document_idstring or nullRequiredSet for a document.
is_new_rowbooleanRequiredA register row the proposal would create.
kindstringRequireddocument or register_row.
labelstring or nullRequiredThe document's number and description, or the register and its label column.
row_idstring or nullRequiredThe register row; null for a proposed new row.

GraphProposal​

FieldTypeRequiredDescription
confidencenumber or nullRequired
creation_confidencenumber or nullRequiredHow sure the resolver is that a proposed new row should exist.
evidence_document_idstring or nullRequired
evidence_pageinteger or nullRequired
evidence_textstring or nullRequiredThe quote the proposal rests on.
fromGraphEndRequired
group_countinteger or nullRequiredWith is_grouped: how many proposals share this register and key.
made_bystring or nullRequired
methodstring or nullRequired
proposal_idstringRequired
proposal_idsarray of stringRequiredWith is_grouped: the IDs of every proposal for it; empty otherwise.
proposal_keystring or nullRequiredFor a proposed new register row: its normalised key.
proposal_payloadobject or nullRequiredFor a proposed new register row: the values it would get (format graph_proposal_payload).
relation_labelstringRequired
relation_type_idstringRequired
review_statusstringRequiredproposed, confirmed or rejected.
toGraphEndRequired