Components
Replace the per-document legend
Overwrites grounding.graph.legend wholesale. The rest of the graph (network, annotations, arrows, subgraphs) is preserved by loading the current graph, swapping the legend field, and re-saving. Each entry's source_crop_url must be an inline image data URL (≤32 KB), stored as sent, or a URL on any host whose path names one of this document's crops under users/<owner>/<document>/legend_crops/, stored as a link the server signs from that crop's key. A storage backend whose links are not re-signed on read (Azure) accepts only data URLs.
put/api/v0/components/{component_id}/schematic/legend
Request
- Base URLhttps://api.outerport.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
component_idstring required
Query parameters
vc_idstring required
Public ID of the target visual component
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 11 revisions of this API.