Get specific connector
GET/v2/boards/:board_id/connectors/:connector_id
Retrieves information for a specific connector on a board.
Required scope
boards:readRate limiting
Level 1Request
Path Parameters
Unique identifier (ID) of the board from which you want to retrieve a specific connector.
Unique identifier (ID) of the connector that you want to retrieve.
Responses
- 200
- 400
- 404
- 429
Connector retrieved
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
captions
object[]
Blocks of text you want to display on the connector.
Possible values: <= 200 characters
The text you want to display on the connector. Supports inline HTML tags.
The relative position of the text on the connector, in percentage, minimum 0%, maximum 100%. With 50% value, the text will be placed in the middle of the connector line. Default: 50%
Possible values: [top
, middle
, bottom
]
The vertical position of the text on the connector. Default: middle
Date and time when the connector was created.
Format: UTC, adheres to ISO 8601, includes a trailing Z offset.
createdBy
object
Contains information about the user who created the item.
Unique identifier (ID) of the user.
Indicates the type of object returned. In this case, type
returns user
.
endItem
object
The starting point of the connector.
Unique identifier (ID) of the item the connector is attached to.
links
object
Contains applicable links for the current object.
Link to obtain more information about the current object.
position
object
The relative position of the point on an item where the connector is attached. Position with x=0% and y=0% correspond to the top-left corner of the item, x=100% and y=100% correspond to the right-bottom corner.
X-axis relative coordinate of the location where the connector connects with an item, in percentage, minimum 0%, maximum 100%.
Y-axis relative coordinate of the location where the connector connects with an item, in percentage, minimum 0%, maximum 100%.
Unique identifier (ID) of a connector.
Indicates whether the connector is supported at the moment. If this parameter returns false
, we do not support the connector at the moment. We do not allow updates for unsupported connectors and we might not return all data about the connector, such as intermediate points and connection points to the canvas.
links
object
Contains applicable links for the current object.
Link to obtain more information about the current object.
Date and time when the connector was last modified.
Format: UTC, adheres to ISO 8601, includes a trailing Z offset.
modifiedBy
object
Contains information about the user who last modified the item.
Unique identifier (ID) of the user.
Indicates the type of object returned. In this case, type
returns user
.
Possible values: [straight
, elbowed
, curved
]
Default value: curved
The path type of the connector line, defines curvature. Default: curved.
startItem
object
The starting point of the connector.
Unique identifier (ID) of the item the connector is attached to.
links
object
Contains applicable links for the current object.
Link to obtain more information about the current object.
position
object
The relative position of the point on an item where the connector is attached. Position with x=0% and y=0% correspond to the top-left corner of the item, x=100% and y=100% correspond to the right-bottom corner.
X-axis relative coordinate of the location where the connector connects with an item, in percentage, minimum 0%, maximum 100%.
Y-axis relative coordinate of the location where the connector connects with an item, in percentage, minimum 0%, maximum 100%.
style
object
Contains information about the style of a connector, such as the color or caption font size
Hex value representing the color for the captions on the connector. Default: #1a1a1a
Possible values: [none
, stealth
, diamond
, filled_diamond
, oval
, filled_oval
, arrow
, triangle
, filled_triangle
, erd_one
, erd_many
, erd_only_one
, erd_zero_or_one
, erd_one_or_many
, erd_zero_or_many
]
The decoration cap of the connector end, like an arrow or circle. Default: stealth.
Possible values: >= 10
and <= 288
Defines the font size, in dp, for the captions on the connector. Default: 14
Possible values: [none
, stealth
, diamond
, filled_diamond
, oval
, filled_oval
, arrow
, triangle
, filled_triangle
, erd_one
, erd_many
, erd_only_one
, erd_zero_or_one
, erd_one_or_many
, erd_zero_or_many
]
The decoration cap of the connector end, like an arrow or circle. Default: none.
Hex value of the color of the connector line. Default: #000000.
Possible values: [normal
, dotted
, dashed
]
The stroke pattern of the connector line. Default: normal.
Possible values: >= 1
and <= 24
The thickness of the connector line, in dp. Default: 1.0.
Possible values: [horizontal
, aligned
]
The captions orientation relatively to the connector line curvature. Default: aligned.
Type of board object that is returned.
{
"captions": [
{
"content": "<p>Caption text</p>",
"position": "50%",
"textAlignVertical": "top"
}
],
"createdAt": "2022-03-30T17:26:50.000Z",
"createdBy": {
"id": "3458764517517852417",
"type": "user"
},
"endItem": {
"id": "3458764517517818867",
"links": {
"self": "http://api.miro.com/v2/boards/o9J_koQspF4=/object_type/3074457349143649487"
},
"position": {
"x": "50%",
"y": "0%"
}
},
"id": "3458764517517818867",
"isSupported": true,
"links": {
"self": "http://api.miro.com/v2/boards/o9J_koQspF4=/object_type/3074457349143649487"
},
"modifiedAt": "2022-03-30T17:26:50.000Z",
"modifiedBy": {
"id": "3458764517517852417",
"type": "user"
},
"shape": "curved",
"startItem": {
"id": "3458764517517818867",
"links": {
"self": "http://api.miro.com/v2/boards/o9J_koQspF4=/object_type/3074457349143649487"
},
"position": {
"x": "50%",
"y": "0%"
}
},
"style": {
"color": "#9510ac",
"endStrokeCap": "none",
"fontSize": "15",
"startStrokeCap": "none",
"strokeColor": "#2d9bf0",
"strokeStyle": "normal",
"strokeWidth": "2.0",
"textOrientation": "horizontal"
},
"type": "string"
}
Malformed request
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}
Too many requests
- application/json
- Schema
- Example (from schema)
Schema
Code of the error
Description of the error
Status code of the error
Type of the error
{
"code": "error",
"message": "Error message",
"status": 400,
"type": "error"
}