The following guide compares the lf-repository-api-client package with the lf-repository-api-client-v2 package at time of initial release.
The lf-repository-api-client
accesses the v1 Laserfiche Repository APIs and the lf-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.
lf-repository-api-client | lf-repository-api-client-v2 |
---|---|
getTrusteeAttributeKeyValuePairs | listAttributes |
getTrusteeAttributeKeyValuePairsForEach | listAttributesForEach |
getTrusteeAttributeKeyValuePairsNextLink | listAttributesNextLink |
getTrusteeAttributeValueByKey | getAttribute |
lf-repository-api-client | lf-repository-api-client-v2 |
---|---|
getAuditReasons | listAuditReasons |
-- | listAuditReasonsForEach |
-- | listAuditReasonsNextLink |
lf-repository-api-client | lf-repository-api-client-v2 |
---|---|
getFieldDefinitionById | getFieldDefinition |
getFieldDefinitions | listFieldDefinitions |
getFieldDefinitionsForEach | listFieldDefinitionsForEach |
getFieldDefinitionsNextLink | listFieldDefinitionsNextLink |
lf-repository-api-client | lf-repository-api-client-v2 |
---|---|
getLinkDefinitionById | getLinkDefinition |
getLinkDefinitions | listLinkDefinitions |
getLinkDefinitionsForEach | listLinkDefinitionsForEach |
getLinkDefinitionsNextLink | listLinkDefinitionsNextLink |
lf-repository-api-client | lf-repository-api-client-v2 |
---|---|
getRepositoryList | listRepositories |
getSelfHostedRepositoryList | listRepositoriesForSelfHosted |
The ServerSessionClient has been removed in lf-repository-api-client-v2
.
lf-repository-api-client | lf-repository-api-client-v2 |
---|---|
createSimpleSearchOperation | searchEntry |
lf-repository-api-client | lf-repository-api-client-v2 |
---|---|
getTagDefinitionById | getTagDefinition |
getTagDefinitions | listTagDefinitions |
getTagDefinitionsForEach | listTagDefinitionsForEach |
getTagDefinitionsNextLink | listTagDefinitionsNextLink |
lf-repository-api-client | lf-repository-api-client-v2 |
---|---|
cancelOperation | cancelTasks |
getOperationStatusAndProgress | listTasks |