New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document version endpoints #15946
Document version endpoints #15946
Conversation
…er to the data layer Duplication is because of internal modifier as we don't want to expose these temporary classes
Updated used services to use async methods
…e/document-version # Conflicts: # src/Umbraco.Cms.Api.Management/Controllers/Dictionary/Tree/ChildrenDictionaryTreeController.cs # src/Umbraco.Cms.Api.Management/Controllers/Dictionary/Tree/RootDictionaryTreeController.cs # src/Umbraco.Cms.Api.Management/Controllers/RecycleBin/RecycleBinControllerBase.cs # src/Umbraco.Cms.Api.Management/Controllers/RedirectUrlManagement/GetAllRedirectUrlManagementController.cs # src/Umbraco.Cms.Api.Management/Controllers/Tree/EntityTreeControllerBase.cs # src/Umbraco.Cms.Api.Management/Controllers/Tree/FileSystemTreeControllerBase.cs # src/Umbraco.Cms.Api.Management/DependencyInjection/DocumentBuilderExtensions.cs # src/Umbraco.Core/Services/Pagination/PaginationConverter.cs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a lot of minor things to fix, I haven't been through all files. Can you please double-check with our other controllers/implementations to make sure we don't have to circle back to fix misalignments later 😉
src/Umbraco.Cms.Api.Management/Controllers/Document/Versions/DocumentVersionControllerBase.cs
Outdated
Show resolved
Hide resolved
...mbraco.Cms.Api.Management/Controllers/Document/Versions/GetByKeyDocumentVersionController.cs
Outdated
Show resolved
Hide resolved
src/Umbraco.Cms.Api.Management/Controllers/Document/Versions/DocumentVersionControllerBase.cs
Outdated
Show resolved
Hide resolved
src/Umbraco.Cms.Api.Management/Controllers/Document/Versions/DocumentVersionControllerBase.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, I still have a few comments before I get to testing 👀
src/Umbraco.Cms.Api.Management/Controllers/Document/Version/GetDocumentVersionsController.cs
Outdated
Show resolved
Hide resolved
src/Umbraco.Cms.Api.Management/Controllers/Document/Version/GetDocumentVersionsController.cs
Outdated
Show resolved
Hide resolved
src/Umbraco.Cms.Api.Management/Controllers/Document/Version/GetDocumentVersionsController.cs
Outdated
Show resolved
Hide resolved
src/Umbraco.Cms.Api.Management/Controllers/Document/Version/DocumentVersionControllerBase.cs
Outdated
Show resolved
Hide resolved
src/Umbraco.Cms.Api.Management/Controllers/Document/Version/GetDocumentVersionsController.cs
Outdated
Show resolved
Hide resolved
src/Umbraco.Cms.Api.Management/Mapping/Document/DocumentVersionMapDefinition.cs
Outdated
Show resolved
Hide resolved
src/Umbraco.Cms.Api.Management/ViewModels/Document/DocumentVersionItemResponseModel.cs
Show resolved
Hide resolved
- Move endpoints into their own structural section as they are also in a different swagger section - Naming improvements - Allign PresentationFactories with similar classes - Cleanup unused assignments - Cleanup refactoring comments - Improve obsoletion remarks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 💪
Prerequisites
Description
Adds management API endpoints for
Testing
Breaking changes