GET /api/v1/{context_id}/documents/{id}/chunks
Changed onLists chunks for a document
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Spectron context id
Document id fragment
Query parameters
Max chunks to return (default 100, max 500)
Continuation token from the previous page's page.nextCursor
Also return page.totalSize (costs a full count of the document's chunks)
Deprecated: zero-based page index. Use cursor.
Deprecated: page size. Use limit.
Response
Changes
- breaking
the
response's property type changed fromintegertoobject, and format fromint32to no format for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
added the new optional
queryrequest parametercount - info
added the new optional
queryrequest parametercursor - info
added the new optional
queryrequest parameterlimit - info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- warning
deleted the
queryrequest parameterpage_size - info
added the new optional
queryrequest parameterpageSize
- warning