Upload a single Word docx file to add a new document to an existing hub application.
200 response
Invalid request body
The request is forbidden (Please input a valid API key)
{- "status": {
- "success": true,
- "code": 200
}, - "result": {
- "did": "string",
- "cids": [
- "string"
]
}
}
Get the text content of a specific application document with doc-ID
200 response
400 response
The request is forbidden (Please input a valid API key)
{- "status": {
- "success": true,
- "code": 200
}, - "result": {
- "did": "string",
- "metadata": { },
- "size": 0,
- "cids": [
- "string"
]
}
}
Delete a specific application document with doc-ID
200 response
The request is forbidden (Please input a valid API key)
{- "status": {
- "success": true,
- "code": 200
}, - "result": {
- "message": "string"
}
}
List all application documents
200 response
400 response
The request is forbidden (Please input a valid API key)
{- "status": {
- "success": true,
- "code": 200
}, - "result": {
- "documents": [
- {
- "did": "string",
- "size": 1
}
]
}
}
List all document contents with the specific application-ID and document-ID
200 response
400 response
The request is forbidden (Please input a valid API key)
{- "status": {
- "success": true,
- "code": 200
}, - "result": {
- "cids": [
- "string"
]
}
}
Create a new document content with the application-ID and document-ID
200 response
The request is forbidden (Please input a valid API key)
{ }
Upload a single PDF file to add a new document to an existing hub application.
Binary file e.g. pdf, docx, html
200 response
Invalid request body
The request is forbidden (Please input a valid API key)
{- "status": {
- "success": true,
- "code": 200
}, - "result": {
- "did": "string",
- "cids": [
- "string"
]
}
}