V14: Document and media collection view endpoints (#15696)
* Fix authz status * Adding another silo for list views * Adding base classes and handling collection operation statuses * Change signature to reuse functionality. Fix references * Adding collection response models * Adding content and media type collection response models * Adding mapping * Adding mapping for document and media types * Adding list view page model * Initial implementation * Moving implementation to service base * Adding content and media service interfaces for handling list views * Registering and implementation * Update controllers to use new services * Renaming param * Refactor to pass content type instead of content type key * Handle the case where only data type is provided * Add missing operation status * Update OpenApi.json * Added comment for a temp workaround * Removing orderCulture from media interface as it is not yet supported * Adding a base class for content type collection reference model * Adding common collection controller base and moving the ContentCollectionOperationStatusResult to there * Cleaning up controllers after implementing the base class * Cleaning up concrete controller bases * OpenApi.json updates * Changing GetPagedChildren to return a paged model * Fix ordering * Adding , * Fix wording * Append operation status to unsuccessful API responses * A little bit of clean-up * Update default orderBy value * Update the default value of orderBy * Adding missing owner and updater system fields * Updating OpenApi.json with owner and updater props * Create base and rename owner to creator * Update OpenApi.json * Reordering of properties * "Owner" will be "creator" * Fix comment --------- Co-authored-by: kjac <kja@umbraco.dk>
This commit is contained in:
committed by
GitHub
parent
72e2b20b32
commit
ec1ba6031f
@@ -62,6 +62,8 @@ public static partial class UmbracoBuilderExtensions
|
||||
builder.Services.AddTransient<IUsageInformationService, UsageInformationService>();
|
||||
builder.Services.AddSingleton<IEditorConfigurationParser, EditorConfigurationParser>();
|
||||
builder.Services.AddTransient<IPartialViewPopulator, PartialViewPopulator>();
|
||||
builder.Services.AddUnique<IContentListViewService, ContentListViewService>();
|
||||
builder.Services.AddUnique<IMediaListViewService, MediaListViewService>();
|
||||
|
||||
return builder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user