Get document
GET/api/collections/:collectionIdOrPersonalIdentityName/documents/:documentIdOrReference
Get document according to its id or collection name
and document id or reference
. The user must have access to the collection.
Request
Path Parameters
Responses
- 200
- 400
- 401
- 500
Success
- application/json;odata.metadata=minimal;odata.streaming=true
- application/json;odata.metadata=minimal;odata.streaming=false
- application/json;odata.metadata=minimal
- application/json;odata.metadata=full;odata.streaming=true
- application/json;odata.metadata=full;odata.streaming=false
- application/json;odata.metadata=full
- application/json;odata.metadata=none;odata.streaming=true
- application/json;odata.metadata=none;odata.streaming=false
- application/json;odata.metadata=none
- application/json;odata.streaming=true
- application/json;odata.streaming=false
- application/json
- application/xml
- text/plain
- application/octet-stream
- text/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.633Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.633Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.633Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.634Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.634Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.634Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.634Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.634Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.635Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.635Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.635Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.635Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
<root>
<id>3fa85f64-5717-4562-b3fc-2c963f66afa6</id>
<collectionId>3fa85f64-5717-4562-b3fc-2c963f66afa6</collectionId>
<collectionTitle>string</collectionTitle>
<title>string</title>
<description>string</description>
<boost>0</boost>
<reference>string</reference>
<audiences>string</audiences>
<currentSnapshot>
<id>3fa85f64-5717-4562-b3fc-2c963f66afa6</id>
<documentId>3fa85f64-5717-4562-b3fc-2c963f66afa6</documentId>
<content>string</content>
<hash>string</hash>
<contentSource>Internal</contentSource>
<splitMethod>Auto</splitMethod>
<fileName>string</fileName>
<contentType>string</contentType>
<language>string</language>
<bootstrapIntents>string</bootstrapIntents>
<suggestions>string</suggestions>
<jobReference>string</jobReference>
<status>Draft</status>
<trainingStatus>Pending</trainingStatus>
<properties/>
<createdOn>2023-12-18T13:30:32.635Z</createdOn>
<createdBy>string</createdBy>
</currentSnapshot>
<tags>
<key>string</key>
</tags>
<dontAdvertise>true</dontAdvertise>
<fileName>string</fileName>
<members>
<identity>string</identity>
<privileges>Reader</privileges>
</members>
</root>
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.636Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.636Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Document id (GUID)
Collection id (GUID)
Collection title
Document title
Brief description of the document
Set a value to boost this document over others. The default value is 1.
Internal reference of the document. Also used to search the document.
List of target audiences for the document.
currentSnapshot object
Possible values: [Internal
, External
]
Possible values: [Auto
, Paragraph
, Block
, None
]
Possible values: [Draft
, Published
, Retired
]
Possible values: [Pending
, Training
, Trained
, Error
]
properties objectnullable
tags object[]nullable
List of tags
Do not advertise this document
Associated file name
members object[]nullable
List of users and their document access privileges
Possible values: [Reader
, Owner
, Contributor
]
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"collectionTitle": "string",
"title": "string",
"description": "string",
"boost": 0,
"reference": "string",
"audiences": [
"string"
],
"currentSnapshot": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"documentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"content": "string",
"hash": "string",
"contentSource": "Internal",
"splitMethod": "Auto",
"fileName": "string",
"contentType": "string",
"language": "string",
"bootstrapIntents": [
"string"
],
"suggestions": [
"string"
],
"jobReference": "string",
"status": "Draft",
"trainingStatus": "Pending",
"properties": {},
"createdOn": "2023-12-18T13:30:32.636Z",
"createdBy": "string"
},
"tags": [
{
"key": "string"
}
],
"dontAdvertise": true,
"fileName": "string",
"members": [
{
"identity": "string",
"privileges": "Reader"
}
]
}
Bad Request
- application/json;odata.metadata=minimal;odata.streaming=true
- application/json;odata.metadata=minimal;odata.streaming=false
- application/json;odata.metadata=minimal
- application/json;odata.metadata=full;odata.streaming=true
- application/json;odata.metadata=full;odata.streaming=false
- application/json;odata.metadata=full
- application/json;odata.metadata=none;odata.streaming=true
- application/json;odata.metadata=none;odata.streaming=false
- application/json;odata.metadata=none
- application/json;odata.streaming=true
- application/json;odata.streaming=false
- application/json
- application/xml
- text/plain
- application/octet-stream
- text/json
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
<error>string</error>
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
Unauthorized
- application/json;odata.metadata=minimal;odata.streaming=true
- application/json;odata.metadata=minimal;odata.streaming=false
- application/json;odata.metadata=minimal
- application/json;odata.metadata=full;odata.streaming=true
- application/json;odata.metadata=full;odata.streaming=false
- application/json;odata.metadata=full
- application/json;odata.metadata=none;odata.streaming=true
- application/json;odata.metadata=none;odata.streaming=false
- application/json;odata.metadata=none
- application/json;odata.streaming=true
- application/json;odata.streaming=false
- application/json
- application/xml
- text/plain
- application/octet-stream
- text/json
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
<error>string</error>
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
Server Error
- application/json;odata.metadata=minimal;odata.streaming=true
- application/json;odata.metadata=minimal;odata.streaming=false
- application/json;odata.metadata=minimal
- application/json;odata.metadata=full;odata.streaming=true
- application/json;odata.metadata=full;odata.streaming=false
- application/json;odata.metadata=full
- application/json;odata.metadata=none;odata.streaming=true
- application/json;odata.metadata=none;odata.streaming=false
- application/json;odata.metadata=none
- application/json;odata.streaming=true
- application/json;odata.streaming=false
- application/json
- application/xml
- text/plain
- application/octet-stream
- text/json
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
<error>string</error>
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}
- Schema
- Example (from schema)
Schema
Error message
{
"error": "string"
}