The following guide compares the .NET Laserfiche.Repository.Api.Client NuGet package with the Laserfiche.Repository.Api.Client.V2 NuGet package at time of initial release.
The Laserfiche.Repository.Api.Client
accesses the v1 Laserfiche Repository APIs and the Laserfiche.Repository.Api.Client.V2
accesses the v2 Laserfiche Repository APIs. Many API function signatures have been updated in the v2 client. See the tables below for the functions in the v1 client that correspond to the functions in the v2 client.
See here for more details on the changes between the v1 and v2 Laserfiche Repository APIs.
Laserfiche.Repository.Api.Client | Laserfiche.Repository.Api.Client.V2 |
---|---|
GetTrusteeAttributeKeyValuePairsAsync | ListAttributesAsync |
GetTrusteeAttributeKeyValuePairsForEachAsync | ListAttributesForEachAsync |
GetTrusteeAttributeKeyValuePairsNextLinkAsync | ListAttributesNextLinkAsync |
GetTrusteeAttributeValueByKeyAsync | GetAttributeAsync |
Laserfiche.Repository.Api.Client | Laserfiche.Repository.Api.Client.V2 |
---|---|
GetAuditReasonsAsync | ListAuditReasonsAsync |
Laserfiche.Repository.Api.Client | Laserfiche.Repository.Api.Client.V2 |
---|---|
GetFieldDefinitionByIdAsync | GetFieldDefinitionAsync |
GetFieldDefinitionsAsync | ListFieldDefinitionsAsync |
GetFieldDefinitionsForEachAsync | ListFieldDefinitionsForEachAsync |
GetFieldDefinitionsNextLinkAsync | ListFieldDefinitionsNextLinkAsync |
Laserfiche.Repository.Api.Client | Laserfiche.Repository.Api.Client.V2 |
---|---|
GetLinkDefinitionByIdAsync | GetLinkDefinitionAsync |
GetLinkDefinitionsAsync | ListLinkDefinitionsAsync |
GetLinkDefinitionsForEachAsync | ListLinkDefinitionsForEachAsync |
GetLinkDefinitionsNextLinkAsync | ListLinkDefinitionsNextLinkAsync |
Laserfiche.Repository.Api.Client | Laserfiche.Repository.Api.Client.V2 |
---|---|
GetRepositoryListAsync | ListRepositoriesAsync |
GetSelfHostedRepositoryListAsync | ListSelfHostedRepositoriesAsync |
The IServerSessionClient has been removed in Laserfiche.Repository.Api.Client.V2
.
Laserfiche.Repository.Api.Client | Laserfiche.Repository.Api.Client.V2 |
---|---|
CreateSimpleSearchOperationAsync | SearchEntryAsync |
Laserfiche.Repository.Api.Client | Laserfiche.Repository.Api.Client.V2 |
---|---|
GetTagDefinitionByIdAsync | GetTagDefinitionAsync |
GetTagDefinitionsAsync | ListTagDefinitionsAsync |
GetTagDefinitionsForEachAsync | ListTagDefinitionsForEachAsync |
GetTagDefinitionsNextLinkAsync | ListTagDefinitionsNextLinkAsync |
Laserfiche.Repository.Api.Client | Laserfiche.Repository.Api.Client.V2 |
---|---|
CancelOperationAsync | CancelTasksAsync |
GetOperationStatusAndProgressAsync | ListTasksAsync |