You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/openapi.json
+120Lines changed: 120 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13058,6 +13058,126 @@
13058
13058
}
13059
13059
},
13060
13060
"/links": {
13061
+
"get": {
13062
+
"description": "Returns a paginated, ID-ordered dependency graph for one workspace. Only non-custom-field item-to-item links with both endpoints in that workspace are returned. Cross-workspace and non-item links are excluded so link metadata from another workspace or permission domain cannot leak.",
"summary": "List a workspace's direct work-item links",
13176
+
"tags": [
13177
+
"links",
13178
+
"workspaces"
13179
+
]
13180
+
},
13061
13181
"post": {
13062
13182
"description": "Creates a link between two entities (item/page/test_case). The link type must allow the given entity types; pages must share a workspace with the source item.",
// ListWorkspaceItemLinks handles GET /rest/api/v1/links?workspace_id={id}.
262
+
//
263
+
// @Summary List a workspace's direct work-item links
264
+
// @Description Returns a paginated, ID-ordered dependency graph for one workspace. Only non-custom-field item-to-item links with both endpoints in that workspace are returned. Cross-workspace and non-item links are excluded so link metadata from another workspace or permission domain cannot leak.
265
+
// @Tags links, workspaces
266
+
// @Produce json
267
+
// @Security BearerAuth
268
+
// @Param workspace_id query int true "Workspace ID"
269
+
// @Param page query int false "Page number (1-based)" minimum(1)
270
+
// @Param limit query int false "Links per page" minimum(1) maximum(100)
0 commit comments