Download OpenAPI specification:
BKN (Business Knowledge Network) Backend API provides import and export operations for business knowledge networks.
Upload a BKN tar archive and import it as a business knowledge network. For the archive format, see docs/design/bkn/features/bkn_docs/SPECIFICATION.md
| branch | string Default: "main" Branch name. Defaults to main. |
| import_mode | string Default: "normal" Enum: "normal" "overwrite" "ignore" Import mode. normal reports an error for duplicate concept names; overwrite replaces them; ignore skips them. Defaults to normal. |
| strict_mode | boolean Default: true Whether to validate that dependent objects exist. Defaults to true. When empty, the deprecated validate_dependency parameter is used. |
| validate_dependency | boolean Deprecated Default: true Deprecated. Use strict_mode instead. This parameter is retained for compatibility and is read when strict_mode is empty. |
| X-Business-Domain required | string Business domain |
| file | string <binary> BKN tar archive file |
{- "kn_id": "string"
}Export a business knowledge network as a BKN tar archive. For the archive format, see docs/design/bkn/features/bkn_docs/SPECIFICATION.md
| kn_id required | string Knowledge network ID |
| branch | string Default: "main" Branch name. Defaults to main. |
Batch return knowledge network names by ID, for example for object-level authorization pages. Missing IDs are skipped without an error. Requires application/json content type.
| ids | Array of strings <= 100 items List of knowledge network IDs to resolve, with at most 100 items. An empty list returns empty entries. |
{- "ids": [
- "string"
]
}{- "entries": [
- {
- "id": "string",
- "name": "string"
}
]
}Lists resources by resource type with pagination on the unified resource platform. Currently supports resource_type=knowledge_network.
| resource_type required | string Value: "knowledge_network" Resource type. The current implementation recognizes only knowledge_network, which represents a knowledge network. It maps to interfaces.RESOURCE_TYPE_KN. Other values do not return an error. Instead, the default branch returns 200 with an empty response body. This is not an empty list: there is no body at all. An invalid value causes the client to fail JSON parsing or receive no data, rather than receive a 400 response. |
| keyword | string Filter by name keyword. Defaults to empty. |
| offset | integer <int64> Default: 0 Offset. Defaults to 0. |
| limit | integer <int64> Default: 10 Page size. Defaults to 10. |
| sort | string Default: "name" Sort field. Defaults to name. |
| direction | string Default: "desc" Enum: "asc" "desc" Sort direction. Defaults to desc. |
{- "entries": [
- {
- "type": "string",
- "id": "string",
- "name": "string"
}
], - "total_count": 0
}