Download OpenAPI specification:Download
DocumentHub Developer Api
Get many documents
| resourceKind required | string Value: "services" Example: services Kind of the Konnect resource |
| resourceId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Konnect resource |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| Accept | string (DocumentContentTypeEnum) Default: application/json Enum: "application/json" "application/vnd.konnect.document-tree+json" |
get the document tree
| resourceKind required | string Value: "services" Example: services Kind of the Konnect resource |
| resourceId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Konnect resource |
[- {
- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "parent_document_id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2",
- "title": "Getting Started",
- "slug": "getting-started",
- "meta": {
- "author": "Jane Doe",
- "description": "This is a description",
- "keywords": "hello, world"
}, - "children": [
- { }
]
}
]get the document by its id
| resourceKind required | string Value: "services" Example: services Kind of the Konnect resource |
| resourceId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Konnect resource |
| documentId required | string <uuid> Example: bb84c46a-432d-4314-81e4-478614a52dcb Targeted document |
| Accept | string (DocumentFormatContentTypeEnum) Default: application/json Enum: "text/markdown" "application/json" "application/vnd.konnect.document-nodes+json" |
{- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "parent_document_id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2",
- "slug": "getting-started",
- "revision": {
- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "document_id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "content": "string",
- "meta": {
- "title": "Hello World",
- "description": "This is a description",
- "keywords": "hello, world"
}, - "title": "Hello World"
}
}get the document by its slug
| resourceKind required | string Value: "services" Example: services Kind of the Konnect resource |
| resourceId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Konnect resource |
| slug required | string Example: getting-started slug of the document |
| Accept | string (DocumentFormatContentTypeEnum) Default: application/json Enum: "text/markdown" "application/json" "application/vnd.konnect.document-nodes+json" |
{- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "parent_document_id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2",
- "slug": "getting-started",
- "revision": {
- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "document_id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "content": "string",
- "meta": {
- "title": "Hello World",
- "description": "This is a description",
- "keywords": "hello, world"
}, - "title": "Hello World"
}
}Has documentation
has documentation
| resource_kind required | string (ResourceKind) Value: "services" |
| resource_ids required | Array of strings <uuid> [ 1 .. 100 ] items unique |
{- "resource_kind": "services",
- "resource_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}[- {
- "resource_kind": "string",
- "resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
- "has_documentation": true,
- "document_count": 0
}
]