Updated vulnerable dependencies.
The following API is updated to always return entryType, even if the OData $select query options is used and it doesn't include entryType:
GET /Repositories/{repoId}/Entries/{entryId}The following API is updated to always return entryType, even if the OData $select query options is used and it doesn't include entryType:
GET /Repositories/{repoId}/Searches/{searchToken}/ResultsThe following API is updated to always return entryType, even if the OData $select query options is used and it doesn't include entryType:
POST /Repositories/{repoId}/SimpleSearches [BREAKING] The following API returns the length of the document in the X-APIServer-ContentLength response header, instead of the HTTP Content-Length response header:
HEAD /Repositories/{repoId}/Entries/{entryId}/Laserfiche.Repository.Document/edocOAuth scope for the following APIs has been revised to repository.Read:
POST /Repositories/{repoId}/Entries/{entryId}/Laserfiche.Repository.Document/GetEdocWithAuditReasonPOST /Repositories/{repoId}/Entries/{entryId}/fields/GetDynamicFieldLogicValueNew isSource property added to the request body of the following API. This allows assigning link metadata where the current entry is the source or target in the link relationship.
PUT /Repositories/{repoId}/Entries/{entryId}/linksFixed a bug where parts of the following API URLs were case sensitive:
GET /Repositories/{repoId}/Entries/linksPUT /Repositories/{repoId}/Entries/linksGET /Repositories/{repoId}/Entries/tagsPUT /Repositories/{repoId}/Entries/tagsDELETE /Repositories/{repoId}/Entries/Laserfiche.Repository.Document/pagesMarked file parameter electronicDocument as required and added documentation on how to create a blank document to the following API:
POST /Repositories/{repoId}/Entries/{parentEntryId}/{fileName}OAuth scope for the following APIs has been revised to repository.Read:
POST /Repositories/{repoId}/SearchesDELETE /Repositories/{repoId}/Searches/{searchToken}OAuth scope for the following APIs has been revised to repository.Read:
POST /Repositories/{repoId}/SimpleSearchesOAuth scope no longer applies to the following APIs:
GET /Repositories/{repoId}/Tasks/{operationToken}DELETE /Repositories/{repoId}/Tasks/{operationToken}Improved service security and stability
Support Brotli and Gzip response compression to reduce response latency when the Accept-Encoding request header is used.
Fixed a bug where in some scenarios with the Time or Data field type, the following APIs had an error when returning field values:
GET /Repositories/{repoId}/Entries/{entryId}/fieldsPUT /Repositories/{repoId}/Entries/{entryId}/fieldsFixed a bug where in some scenarios, the following API could return an error:
HEAD /Repositories/{repoId}/Entries/{entryId}/Laserfiche.Repository.Document/edocFixed inconsistent error responses to now return ProblemDetails schema.
Fixed a bug where in some scenarios, the following API could return an incorrect nextlink:
GET /Repositories/{repoId}/Entries/{entryId}/Laserfiche.Repository.Folder/childrenOAuth 2.0 scope support has been added for security but is optional in v1 for backwards compatibility. If your access token does not contain any scopes, you will not run into any issues,
but if your token explicitly contains scopes, the API Server will enforce scope security and issue a 403 Forbidden if it does not have the correct scopes.
Fixed a bug where in some scenarios, the following API could return an error instead of the entries in the folder:
GET /Repositories/{repoId}/Entries/{entryId}/Laserfiche.Repository.Folder/childrenAdded a maximum JSON request body size limit of 5 MB to all non-import document related APIs. As a result, the 413 Payload Too Large status code has been added to several APIs.
Added a maximum JSON response body size limit of 5 MB to all non-export document related APIs.
The APIServer can now include an error message in a HTTP response header named X-APIServer-Error for the following API:
HEAD /Repositories/{repoId}/Entries/{entryId}/Laserfiche.Repository.Document/edocUpdated the ProblemDetails error response schema to more accurately reflect the response. Undocumented extension properties are now documented.
Added support for localized error messages for the fr and es culture codes. The culture code can be sent in API requests through the culture query parameter or the Accept-Language header.
Removed an incorrect ProblemDetails error response schema from the following API:
HEAD /Repositories/{repoId}/Entries/{entryId}/Laserfiche.Repository.Document/edoc[BREAKING] Token substitution in the name of the copied entry is no longer supported in the following API to avoid errors while copying:
POST /Repositories/{repoId}/Entries/{entryId}/Laserfiche.Repository.Folder/CopyAsyncThe Entry base type schema has been marked as abstract. If using the Laserfiche API client libraries, should use the derived types like Folder, Document, Shortcut, and RecordSeries.
The following APIs are marked as deprecated in v1:
POST /Repositories/{repoId}/ServerSession/CreatePOST /Repositories/{repoId}/ServerSession/RefreshPOST /Repositories/{repoId}/ServerSession/InvalidateAdded the following API:
GET /Repositories/{repoId}/Entries/ByPathFixed a bug that caused the search results return localized field values in a different format from other APIs.