From 26ea13114a1cf1d88e5d31124aeb3414a2290779 Mon Sep 17 00:00:00 2001 From: Emre <101802979+EmreKendirli@users.noreply.github.com> Date: Mon, 27 May 2024 11:17:46 +0300 Subject: [PATCH] Updated HttpApi.Client --- .../cms-kit-common-generate-proxy.json | 136 +- .../ClientProxies/cms-kit-generate-proxy.json | 1804 ++++++++--------- 2 files changed, 970 insertions(+), 970 deletions(-) diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.HttpApi.Client/ClientProxies/cms-kit-common-generate-proxy.json b/modules/cms-kit/src/Volo.CmsKit.Common.HttpApi.Client/ClientProxies/cms-kit-common-generate-proxy.json index 07e4bf762c..2d81020438 100644 --- a/modules/cms-kit/src/Volo.CmsKit.Common.HttpApi.Client/ClientProxies/cms-kit-common-generate-proxy.json +++ b/modules/cms-kit/src/Volo.CmsKit.Common.HttpApi.Client/ClientProxies/cms-kit-common-generate-proxy.json @@ -4,59 +4,75 @@ "rootPath": "cms-kit-common", "remoteServiceName": "CmsKitCommon", "controllers": { - "Volo.CmsKit.MediaDescriptors.MediaDescriptorController": { - "controllerName": "MediaDescriptor", - "controllerGroupName": "MediaDescriptor", + "Volo.CmsKit.Blogs.BlogFeatureController": { + "controllerName": "BlogFeature", + "controllerGroupName": "BlogFeature", "isRemoteService": true, "isIntegrationService": false, "apiVersion": null, - "type": "Volo.CmsKit.MediaDescriptors.MediaDescriptorController", + "type": "Volo.CmsKit.Blogs.BlogFeatureController", "interfaces": [ { - "type": "Volo.CmsKit.MediaDescriptors.IMediaDescriptorAppService", - "name": "IMediaDescriptorAppService", + "type": "Volo.CmsKit.Blogs.IBlogFeatureAppService", + "name": "IBlogFeatureAppService", "methods": [ { - "name": "DownloadAsync", + "name": "GetOrDefaultAsync", "parametersOnMethod": [ { - "name": "id", + "name": "blogId", "typeAsString": "System.Guid, System.Private.CoreLib", "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null + }, + { + "name": "featureName", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null } ], "returnValue": { - "type": "Volo.Abp.Content.RemoteStreamContent", - "typeSimple": "Volo.Abp.Content.RemoteStreamContent" + "type": "Volo.CmsKit.Blogs.BlogFeatureDto", + "typeSimple": "Volo.CmsKit.Blogs.BlogFeatureDto" } } ] } ], "actions": { - "DownloadAsyncById": { - "uniqueName": "DownloadAsyncById", - "name": "DownloadAsync", + "GetOrDefaultAsyncByBlogIdAndFeatureName": { + "uniqueName": "GetOrDefaultAsyncByBlogIdAndFeatureName", + "name": "GetOrDefaultAsync", "httpMethod": "GET", - "url": "api/cms-kit/media/{id}", + "url": "api/cms-kit/blogs/{blogId}/features/{featureName}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "id", + "name": "blogId", "typeAsString": "System.Guid, System.Private.CoreLib", "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null + }, + { + "name": "featureName", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null } ], "parameters": [ { - "nameOnMethod": "id", - "name": "id", + "nameOnMethod": "blogId", + "name": "blogId", "jsonName": null, "type": "System.Guid", "typeSimple": "string", @@ -65,86 +81,82 @@ "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" + }, + { + "nameOnMethod": "featureName", + "name": "featureName", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" } ], "returnValue": { - "type": "Volo.Abp.Content.RemoteStreamContent", - "typeSimple": "Volo.Abp.Content.RemoteStreamContent" + "type": "Volo.CmsKit.Blogs.BlogFeatureDto", + "typeSimple": "Volo.CmsKit.Blogs.BlogFeatureDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.MediaDescriptors.IMediaDescriptorAppService" + "implementFrom": "Volo.CmsKit.Blogs.IBlogFeatureAppService" } } }, - "Volo.CmsKit.Blogs.BlogFeatureController": { - "controllerName": "BlogFeature", - "controllerGroupName": "BlogFeature", + "Volo.CmsKit.MediaDescriptors.MediaDescriptorController": { + "controllerName": "MediaDescriptor", + "controllerGroupName": "MediaDescriptor", "isRemoteService": true, "isIntegrationService": false, "apiVersion": null, - "type": "Volo.CmsKit.Blogs.BlogFeatureController", + "type": "Volo.CmsKit.MediaDescriptors.MediaDescriptorController", "interfaces": [ { - "type": "Volo.CmsKit.Blogs.IBlogFeatureAppService", - "name": "IBlogFeatureAppService", + "type": "Volo.CmsKit.MediaDescriptors.IMediaDescriptorAppService", + "name": "IMediaDescriptorAppService", "methods": [ { - "name": "GetOrDefaultAsync", + "name": "DownloadAsync", "parametersOnMethod": [ { - "name": "blogId", + "name": "id", "typeAsString": "System.Guid, System.Private.CoreLib", "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null - }, - { - "name": "featureName", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null } ], "returnValue": { - "type": "Volo.CmsKit.Blogs.BlogFeatureDto", - "typeSimple": "Volo.CmsKit.Blogs.BlogFeatureDto" + "type": "Volo.Abp.Content.RemoteStreamContent", + "typeSimple": "Volo.Abp.Content.RemoteStreamContent" } } ] } ], "actions": { - "GetOrDefaultAsyncByBlogIdAndFeatureName": { - "uniqueName": "GetOrDefaultAsyncByBlogIdAndFeatureName", - "name": "GetOrDefaultAsync", + "DownloadAsyncById": { + "uniqueName": "DownloadAsyncById", + "name": "DownloadAsync", "httpMethod": "GET", - "url": "api/cms-kit/blogs/{blogId}/features/{featureName}", + "url": "api/cms-kit/media/{id}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "blogId", + "name": "id", "typeAsString": "System.Guid, System.Private.CoreLib", "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null - }, - { - "name": "featureName", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null } ], "parameters": [ { - "nameOnMethod": "blogId", - "name": "blogId", + "nameOnMethod": "id", + "name": "id", "jsonName": null, "type": "System.Guid", "typeSimple": "string", @@ -153,26 +165,14 @@ "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" - }, - { - "nameOnMethod": "featureName", - "name": "featureName", - "jsonName": null, - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path", - "descriptorName": "" } ], "returnValue": { - "type": "Volo.CmsKit.Blogs.BlogFeatureDto", - "typeSimple": "Volo.CmsKit.Blogs.BlogFeatureDto" + "type": "Volo.Abp.Content.RemoteStreamContent", + "typeSimple": "Volo.Abp.Content.RemoteStreamContent" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Blogs.IBlogFeatureAppService" + "implementFrom": "Volo.CmsKit.MediaDescriptors.IMediaDescriptorAppService" } } } diff --git a/modules/cms-kit/src/Volo.CmsKit.Public.HttpApi.Client/ClientProxies/cms-kit-generate-proxy.json b/modules/cms-kit/src/Volo.CmsKit.Public.HttpApi.Client/ClientProxies/cms-kit-generate-proxy.json index 31e3fb52f8..68f721556b 100644 --- a/modules/cms-kit/src/Volo.CmsKit.Public.HttpApi.Client/ClientProxies/cms-kit-generate-proxy.json +++ b/modules/cms-kit/src/Volo.CmsKit.Public.HttpApi.Client/ClientProxies/cms-kit-generate-proxy.json @@ -4,23 +4,23 @@ "rootPath": "cms-kit", "remoteServiceName": "CmsKitPublic", "controllers": { - "Volo.CmsKit.Public.Tags.TagPublicController": { - "controllerName": "TagPublic", - "controllerGroupName": "TagPublic", + "Volo.CmsKit.Public.Blogs.BlogPostPublicController": { + "controllerName": "BlogPostPublic", + "controllerGroupName": "BlogPostPublic", "isRemoteService": true, "isIntegrationService": false, "apiVersion": null, - "type": "Volo.CmsKit.Public.Tags.TagPublicController", + "type": "Volo.CmsKit.Public.Blogs.BlogPostPublicController", "interfaces": [ { - "type": "Volo.CmsKit.Tags.ITagAppService", - "name": "ITagAppService", + "type": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService", + "name": "IBlogPostPublicAppService", "methods": [ { - "name": "GetAllRelatedTagsAsync", + "name": "GetListAsync", "parametersOnMethod": [ { - "name": "entityType", + "name": "blogSlug", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -28,24 +28,24 @@ "defaultValue": null }, { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput", + "typeSimple": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput", "isOptional": false, "defaultValue": null } ], "returnValue": { - "type": "System.Collections.Generic.List", - "typeSimple": "[Volo.CmsKit.Tags.TagDto]" + "type": "Volo.Abp.Application.Dtos.PagedResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" } }, { - "name": "GetPopularTagsAsync", + "name": "GetAsync", "parametersOnMethod": [ { - "name": "entityType", + "name": "blogSlug", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -53,32 +53,100 @@ "defaultValue": null }, { - "name": "maxCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "type": "System.Int32", - "typeSimple": "number", + "name": "blogPostSlug", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "returnValue": { - "type": "System.Collections.Generic.List", - "typeSimple": "[Volo.CmsKit.Tags.PopularTagDto]" + "type": "Volo.CmsKit.Contents.BlogPostCommonDto", + "typeSimple": "Volo.CmsKit.Contents.BlogPostCommonDto" + } + }, + { + "name": "GetAuthorsHasBlogPostsAsync", + "parametersOnMethod": [ + { + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto", + "typeSimple": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "Volo.Abp.Application.Dtos.PagedResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + } + }, + { + "name": "GetAuthorHasBlogPostAsync", + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "Volo.CmsKit.Users.CmsUserDto", + "typeSimple": "Volo.CmsKit.Users.CmsUserDto" + } + }, + { + "name": "DeleteAsync", + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + } + }, + { + "name": "GetTagNameAsync", + "parametersOnMethod": [ + { + "name": "tagId", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.String", + "typeSimple": "string" } } ] } ], "actions": { - "GetAllRelatedTagsAsyncByEntityTypeAndEntityId": { - "uniqueName": "GetAllRelatedTagsAsyncByEntityTypeAndEntityId", - "name": "GetAllRelatedTagsAsync", + "GetAsyncByBlogSlugAndBlogPostSlug": { + "uniqueName": "GetAsyncByBlogSlugAndBlogPostSlug", + "name": "GetAsync", "httpMethod": "GET", - "url": "api/cms-kit-public/tags/{entityType}/{entityId}", + "url": "api/cms-kit-public/blog-posts/{blogSlug}/{blogPostSlug}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "entityType", + "name": "blogSlug", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -86,7 +154,7 @@ "defaultValue": null }, { - "name": "entityId", + "name": "blogPostSlug", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -96,8 +164,8 @@ ], "parameters": [ { - "nameOnMethod": "entityType", - "name": "entityType", + "nameOnMethod": "blogSlug", + "name": "blogSlug", "jsonName": null, "type": "System.String", "typeSimple": "string", @@ -108,8 +176,8 @@ "descriptorName": "" }, { - "nameOnMethod": "entityId", - "name": "entityId", + "nameOnMethod": "blogPostSlug", + "name": "blogPostSlug", "jsonName": null, "type": "System.String", "typeSimple": "string", @@ -121,21 +189,21 @@ } ], "returnValue": { - "type": "System.Collections.Generic.List", - "typeSimple": "[Volo.CmsKit.Tags.TagDto]" + "type": "Volo.CmsKit.Contents.BlogPostCommonDto", + "typeSimple": "Volo.CmsKit.Contents.BlogPostCommonDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Tags.ITagAppService" + "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" }, - "GetPopularTagsAsyncByEntityTypeAndMaxCount": { - "uniqueName": "GetPopularTagsAsyncByEntityTypeAndMaxCount", - "name": "GetPopularTagsAsync", + "GetListAsyncByBlogSlugAndInput": { + "uniqueName": "GetListAsyncByBlogSlugAndInput", + "name": "GetListAsync", "httpMethod": "GET", - "url": "api/cms-kit-public/tags/popular/{entityType}/{maxCount}", + "url": "api/cms-kit-public/blog-posts/{blogSlug}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "entityType", + "name": "blogSlug", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -143,18 +211,18 @@ "defaultValue": null }, { - "name": "maxCount", - "typeAsString": "System.Int32, System.Private.CoreLib", - "type": "System.Int32", - "typeSimple": "number", + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput", + "typeSimple": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput", "isOptional": false, "defaultValue": null } ], "parameters": [ { - "nameOnMethod": "entityType", - "name": "entityType", + "nameOnMethod": "blogSlug", + "name": "blogSlug", "jsonName": null, "type": "System.String", "typeSimple": "string", @@ -165,220 +233,157 @@ "descriptorName": "" }, { - "nameOnMethod": "maxCount", - "name": "maxCount", + "nameOnMethod": "input", + "name": "AuthorId", + "jsonName": null, + "type": "System.Guid?", + "typeSimple": "string?", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "TagId", + "jsonName": null, + "type": "System.Guid?", + "typeSimple": "string?", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "Sorting", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "SkipCount", "jsonName": null, "type": "System.Int32", "typeSimple": "number", "isOptional": false, "defaultValue": null, - "constraintTypes": [ - "IntRouteConstraint" - ], - "bindingSourceId": "Path", - "descriptorName": "" + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, + { + "nameOnMethod": "input", + "name": "MaxResultCount", + "jsonName": null, + "type": "System.Int32", + "typeSimple": "number", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" } ], "returnValue": { - "type": "System.Collections.Generic.List", - "typeSimple": "[Volo.CmsKit.Tags.PopularTagDto]" + "type": "Volo.Abp.Application.Dtos.PagedResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Tags.ITagAppService" - } - } - }, - "Volo.CmsKit.Public.Reactions.ReactionPublicController": { - "controllerName": "ReactionPublic", - "controllerGroupName": "ReactionPublic", - "isRemoteService": true, - "isIntegrationService": false, - "apiVersion": null, - "type": "Volo.CmsKit.Public.Reactions.ReactionPublicController", - "interfaces": [ - { - "type": "Volo.CmsKit.Public.Reactions.IReactionPublicAppService", - "name": "IReactionPublicAppService", - "methods": [ + "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" + }, + "GetAuthorsHasBlogPostsAsyncByInput": { + "uniqueName": "GetAuthorsHasBlogPostsAsyncByInput", + "name": "GetAuthorsHasBlogPostsAsync", + "httpMethod": "GET", + "url": "api/cms-kit-public/blog-posts/authors", + "supportedVersions": [], + "parametersOnMethod": [ { - "name": "GetForSelectionAsync", - "parametersOnMethod": [ - { - "name": "entityType", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - } - ], - "returnValue": { - "type": "Volo.Abp.Application.Dtos.ListResultDto", - "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" - } - }, - { - "name": "CreateAsync", - "parametersOnMethod": [ - { - "name": "entityType", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "reaction", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - } - ], - "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" - } - }, - { - "name": "DeleteAsync", - "parametersOnMethod": [ - { - "name": "entityType", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "reaction", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - } - ], - "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" - } + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto", + "typeSimple": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto", + "isOptional": false, + "defaultValue": null } - ] - } - ], - "actions": { - "GetForSelectionAsyncByEntityTypeAndEntityId": { - "uniqueName": "GetForSelectionAsyncByEntityTypeAndEntityId", - "name": "GetForSelectionAsync", - "httpMethod": "GET", - "url": "api/cms-kit-public/reactions/{entityType}/{entityId}", - "supportedVersions": [], - "parametersOnMethod": [ + ], + "parameters": [ { - "name": "entityType", - "typeAsString": "System.String, System.Private.CoreLib", + "nameOnMethod": "input", + "name": "Filter", + "jsonName": null, "type": "System.String", "typeSimple": "string", "isOptional": false, - "defaultValue": null + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" }, { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", + "nameOnMethod": "input", + "name": "Sorting", + "jsonName": null, "type": "System.String", "typeSimple": "string", "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" + }, { - "nameOnMethod": "entityType", - "name": "entityType", + "nameOnMethod": "input", + "name": "SkipCount", "jsonName": null, - "type": "System.String", - "typeSimple": "string", + "type": "System.Int32", + "typeSimple": "number", "isOptional": false, "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path", - "descriptorName": "" + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" }, { - "nameOnMethod": "entityId", - "name": "entityId", + "nameOnMethod": "input", + "name": "MaxResultCount", "jsonName": null, - "type": "System.String", - "typeSimple": "string", + "type": "System.Int32", + "typeSimple": "number", "isOptional": false, "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path", - "descriptorName": "" + "constraintTypes": null, + "bindingSourceId": "ModelBinding", + "descriptorName": "input" } ], "returnValue": { - "type": "Volo.Abp.Application.Dtos.ListResultDto", - "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" + "type": "Volo.Abp.Application.Dtos.PagedResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Reactions.IReactionPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" }, - "CreateAsyncByEntityTypeAndEntityIdAndReaction": { - "uniqueName": "CreateAsyncByEntityTypeAndEntityIdAndReaction", - "name": "CreateAsync", - "httpMethod": "PUT", - "url": "api/cms-kit-public/reactions/{entityType}/{entityId}/{reaction}", + "GetAuthorHasBlogPostAsyncById": { + "uniqueName": "GetAuthorHasBlogPostAsyncById", + "name": "GetAuthorHasBlogPostAsync", + "httpMethod": "GET", + "url": "api/cms-kit-public/blog-posts/authors/{id}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "entityType", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "reaction", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null @@ -386,34 +391,47 @@ ], "parameters": [ { - "nameOnMethod": "entityType", - "name": "entityType", + "nameOnMethod": "id", + "name": "id", "jsonName": null, - "type": "System.String", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null, "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" - }, + } + ], + "returnValue": { + "type": "Volo.CmsKit.Users.CmsUserDto", + "typeSimple": "Volo.CmsKit.Users.CmsUserDto" + }, + "allowAnonymous": null, + "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" + }, + "DeleteAsyncById": { + "uniqueName": "DeleteAsyncById", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/cms-kit-public/blog-posts/{id}", + "supportedVersions": [], + "parametersOnMethod": [ { - "nameOnMethod": "entityId", - "name": "entityId", - "jsonName": null, - "type": "System.String", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path", - "descriptorName": "" - }, + "defaultValue": null + } + ], + "parameters": [ { - "nameOnMethod": "reaction", - "name": "reaction", + "nameOnMethod": "id", + "name": "id", "jsonName": null, - "type": "System.String", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null, @@ -427,35 +445,19 @@ "typeSimple": "System.Void" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Reactions.IReactionPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" }, - "DeleteAsyncByEntityTypeAndEntityIdAndReaction": { - "uniqueName": "DeleteAsyncByEntityTypeAndEntityIdAndReaction", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/cms-kit-public/reactions/{entityType}/{entityId}/{reaction}", + "GetTagNameAsyncByTagId": { + "uniqueName": "GetTagNameAsyncByTagId", + "name": "GetTagNameAsync", + "httpMethod": "GET", + "url": "api/cms-kit-public/blog-posts/tags/{id}", "supportedVersions": [], "parametersOnMethod": [ - { - "name": "entityType", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - }, - { - "name": "reaction", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", + { + "name": "tagId", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null @@ -463,35 +465,23 @@ ], "parameters": [ { - "nameOnMethod": "entityType", - "name": "entityType", - "jsonName": null, - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path", - "descriptorName": "" - }, - { - "nameOnMethod": "entityId", - "name": "entityId", + "nameOnMethod": "tagId", + "name": "tagId", "jsonName": null, - "type": "System.String", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path", + "constraintTypes": null, + "bindingSourceId": "ModelBinding", "descriptorName": "" }, { - "nameOnMethod": "reaction", - "name": "reaction", + "nameOnMethod": "id", + "name": "id", "jsonName": null, - "type": "System.String", - "typeSimple": "string", + "type": null, + "typeSimple": null, "isOptional": false, "defaultValue": null, "constraintTypes": [], @@ -500,28 +490,28 @@ } ], "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" + "type": "System.String", + "typeSimple": "string" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Reactions.IReactionPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" } } }, - "Volo.CmsKit.Public.Ratings.RatingPublicController": { - "controllerName": "RatingPublic", - "controllerGroupName": "RatingPublic", + "Volo.CmsKit.Public.Comments.CommentPublicController": { + "controllerName": "CommentPublic", + "controllerGroupName": "CommentPublic", "isRemoteService": true, "isIntegrationService": false, "apiVersion": null, - "type": "Volo.CmsKit.Public.Ratings.RatingPublicController", + "type": "Volo.CmsKit.Public.Comments.CommentPublicController", "interfaces": [ { - "type": "Volo.CmsKit.Public.Ratings.IRatingPublicAppService", - "name": "IRatingPublicAppService", + "type": "Volo.CmsKit.Public.Comments.ICommentPublicAppService", + "name": "ICommentPublicAppService", "methods": [ { - "name": "CreateAsync", + "name": "GetListAsync", "parametersOnMethod": [ { "name": "entityType", @@ -538,23 +528,15 @@ "typeSimple": "string", "isOptional": false, "defaultValue": null - }, - { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", - "typeSimple": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", - "isOptional": false, - "defaultValue": null } ], "returnValue": { - "type": "Volo.CmsKit.Public.Ratings.RatingDto", - "typeSimple": "Volo.CmsKit.Public.Ratings.RatingDto" + "type": "Volo.Abp.Application.Dtos.ListResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" } }, { - "name": "DeleteAsync", + "name": "CreateAsync", "parametersOnMethod": [ { "name": "entityType", @@ -571,47 +553,72 @@ "typeSimple": "string", "isOptional": false, "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Comments.CreateCommentInput, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Comments.CreateCommentInput", + "typeSimple": "Volo.CmsKit.Public.Comments.CreateCommentInput", + "isOptional": false, + "defaultValue": null } ], "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" + "type": "Volo.CmsKit.Public.Comments.CommentDto", + "typeSimple": "Volo.CmsKit.Public.Comments.CommentDto" } }, { - "name": "GetGroupedStarCountsAsync", + "name": "UpdateAsync", "parametersOnMethod": [ { - "name": "entityType", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null }, { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Comments.UpdateCommentInput, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Comments.UpdateCommentInput", + "typeSimple": "Volo.CmsKit.Public.Comments.UpdateCommentInput", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "Volo.CmsKit.Public.Comments.CommentDto", + "typeSimple": "Volo.CmsKit.Public.Comments.CommentDto" + } + }, + { + "name": "DeleteAsync", + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "returnValue": { - "type": "System.Collections.Generic.List", - "typeSimple": "[Volo.CmsKit.Public.Ratings.RatingWithStarCountDto]" + "type": "System.Void", + "typeSimple": "System.Void" } } ] } ], "actions": { - "CreateAsyncByEntityTypeAndEntityIdAndInput": { - "uniqueName": "CreateAsyncByEntityTypeAndEntityIdAndInput", - "name": "CreateAsync", - "httpMethod": "PUT", - "url": "api/cms-kit-public/ratings/{entityType}/{entityId}", + "GetListAsyncByEntityTypeAndEntityId": { + "uniqueName": "GetListAsyncByEntityTypeAndEntityId", + "name": "GetListAsync", + "httpMethod": "GET", + "url": "api/cms-kit-public/comments/{entityType}/{entityId}", "supportedVersions": [], "parametersOnMethod": [ { @@ -629,14 +636,6 @@ "typeSimple": "string", "isOptional": false, "defaultValue": null - }, - { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", - "typeSimple": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", - "isOptional": false, - "defaultValue": null } ], "parameters": [ @@ -663,32 +662,20 @@ "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" - }, - { - "nameOnMethod": "input", - "name": "input", - "jsonName": null, - "type": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", - "typeSimple": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body", - "descriptorName": "" } ], "returnValue": { - "type": "Volo.CmsKit.Public.Ratings.RatingDto", - "typeSimple": "Volo.CmsKit.Public.Ratings.RatingDto" + "type": "Volo.Abp.Application.Dtos.ListResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Ratings.IRatingPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Comments.ICommentPublicAppService" }, - "DeleteAsyncByEntityTypeAndEntityId": { - "uniqueName": "DeleteAsyncByEntityTypeAndEntityId", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/cms-kit-public/ratings/{entityType}/{entityId}", + "CreateAsyncByEntityTypeAndEntityIdAndInput": { + "uniqueName": "CreateAsyncByEntityTypeAndEntityIdAndInput", + "name": "CreateAsync", + "httpMethod": "POST", + "url": "api/cms-kit-public/comments/{entityType}/{entityId}", "supportedVersions": [], "parametersOnMethod": [ { @@ -706,6 +693,14 @@ "typeSimple": "string", "isOptional": false, "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Comments.CreateCommentInput, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Comments.CreateCommentInput", + "typeSimple": "Volo.CmsKit.Public.Comments.CreateCommentInput", + "isOptional": false, + "defaultValue": null } ], "parameters": [ @@ -732,34 +727,95 @@ "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" + }, + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.CmsKit.Public.Comments.CreateCommentInput", + "typeSimple": "Volo.CmsKit.Public.Comments.CreateCommentInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" } ], "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" + "type": "Volo.CmsKit.Public.Comments.CommentDto", + "typeSimple": "Volo.CmsKit.Public.Comments.CommentDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Ratings.IRatingPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Comments.ICommentPublicAppService" }, - "GetGroupedStarCountsAsyncByEntityTypeAndEntityId": { - "uniqueName": "GetGroupedStarCountsAsyncByEntityTypeAndEntityId", - "name": "GetGroupedStarCountsAsync", - "httpMethod": "GET", - "url": "api/cms-kit-public/ratings/{entityType}/{entityId}", + "UpdateAsyncByIdAndInput": { + "uniqueName": "UpdateAsyncByIdAndInput", + "name": "UpdateAsync", + "httpMethod": "PUT", + "url": "api/cms-kit-public/comments/{id}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "entityType", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null }, { - "name": "entityId", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Comments.UpdateCommentInput, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Comments.UpdateCommentInput", + "typeSimple": "Volo.CmsKit.Public.Comments.UpdateCommentInput", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "id", + "name": "id", + "jsonName": null, + "type": "System.Guid", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" + }, + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.CmsKit.Public.Comments.UpdateCommentInput", + "typeSimple": "Volo.CmsKit.Public.Comments.UpdateCommentInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" + } + ], + "returnValue": { + "type": "Volo.CmsKit.Public.Comments.CommentDto", + "typeSimple": "Volo.CmsKit.Public.Comments.CommentDto" + }, + "allowAnonymous": null, + "implementFrom": "Volo.CmsKit.Public.Comments.ICommentPublicAppService" + }, + "DeleteAsyncById": { + "uniqueName": "DeleteAsyncById", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/cms-kit-public/comments/{id}", + "supportedVersions": [], + "parametersOnMethod": [ + { + "name": "id", + "typeAsString": "System.Guid, System.Private.CoreLib", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null @@ -767,36 +823,129 @@ ], "parameters": [ { - "nameOnMethod": "entityType", - "name": "entityType", + "nameOnMethod": "id", + "name": "id", "jsonName": null, - "type": "System.String", + "type": "System.Guid", "typeSimple": "string", "isOptional": false, "defaultValue": null, "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" + } + ], + "returnValue": { + "type": "System.Void", + "typeSimple": "System.Void" + }, + "allowAnonymous": null, + "implementFrom": "Volo.CmsKit.Public.Comments.ICommentPublicAppService" + } + } + }, + "Volo.CmsKit.Public.GlobalResources.GlobalResourcePublicController": { + "controllerName": "GlobalResourcePublic", + "controllerGroupName": "GlobalResourcePublic", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourcePublicController", + "interfaces": [ + { + "type": "Volo.CmsKit.Public.GlobalResources.IGlobalResourcePublicAppService", + "name": "IGlobalResourcePublicAppService", + "methods": [ + { + "name": "GetGlobalScriptAsync", + "parametersOnMethod": [], + "returnValue": { + "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto", + "typeSimple": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto" + } }, { - "nameOnMethod": "entityId", - "name": "entityId", - "jsonName": null, - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null, - "constraintTypes": [], - "bindingSourceId": "Path", - "descriptorName": "" + "name": "GetGlobalStyleAsync", + "parametersOnMethod": [], + "returnValue": { + "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto", + "typeSimple": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto" + } } - ], + ] + } + ], + "actions": { + "GetGlobalScriptAsync": { + "uniqueName": "GetGlobalScriptAsync", + "name": "GetGlobalScriptAsync", + "httpMethod": "GET", + "url": "api/cms-kit-public/global-resources/script", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], "returnValue": { - "type": "System.Collections.Generic.List", - "typeSimple": "[Volo.CmsKit.Public.Ratings.RatingWithStarCountDto]" + "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto", + "typeSimple": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Ratings.IRatingPublicAppService" + "implementFrom": "Volo.CmsKit.Public.GlobalResources.IGlobalResourcePublicAppService" + }, + "GetGlobalStyleAsync": { + "uniqueName": "GetGlobalStyleAsync", + "name": "GetGlobalStyleAsync", + "httpMethod": "GET", + "url": "api/cms-kit-public/global-resources/style", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto", + "typeSimple": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto" + }, + "allowAnonymous": null, + "implementFrom": "Volo.CmsKit.Public.GlobalResources.IGlobalResourcePublicAppService" + } + } + }, + "Volo.CmsKit.Public.Menus.MenuItemPublicController": { + "controllerName": "MenuItemPublic", + "controllerGroupName": "MenuItemPublic", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "Volo.CmsKit.Public.Menus.MenuItemPublicController", + "interfaces": [ + { + "type": "Volo.CmsKit.Public.Menus.IMenuItemPublicAppService", + "name": "IMenuItemPublicAppService", + "methods": [ + { + "name": "GetListAsync", + "parametersOnMethod": [], + "returnValue": { + "type": "System.Collections.Generic.List", + "typeSimple": "[Volo.CmsKit.Menus.MenuItemDto]" + } + } + ] + } + ], + "actions": { + "GetListAsync": { + "uniqueName": "GetListAsync", + "name": "GetListAsync", + "httpMethod": "GET", + "url": "api/cms-kit-public/menu-items", + "supportedVersions": [], + "parametersOnMethod": [], + "parameters": [], + "returnValue": { + "type": "System.Collections.Generic.List", + "typeSimple": "[Volo.CmsKit.Menus.MenuItemDto]" + }, + "allowAnonymous": null, + "implementFrom": "Volo.CmsKit.Public.Menus.IMenuItemPublicAppService" } } }, @@ -908,166 +1057,61 @@ "typeSimple": "Volo.CmsKit.Contents.PageDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Pages.IPagePublicAppService" - }, - "DoesSlugExistAsyncBySlug": { - "uniqueName": "DoesSlugExistAsyncBySlug", - "name": "DoesSlugExistAsync", - "httpMethod": "GET", - "url": "api/cms-kit-public/pages/exist", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "slug", - "typeAsString": "System.String, System.Private.CoreLib", - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "slug", - "name": "slug", - "jsonName": null, - "type": "System.String", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Query", - "descriptorName": "" - } - ], - "returnValue": { - "type": "System.Boolean", - "typeSimple": "boolean" - }, - "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Pages.IPagePublicAppService" - } - } - }, - "Volo.CmsKit.Public.Menus.MenuItemPublicController": { - "controllerName": "MenuItemPublic", - "controllerGroupName": "MenuItemPublic", - "isRemoteService": true, - "isIntegrationService": false, - "apiVersion": null, - "type": "Volo.CmsKit.Public.Menus.MenuItemPublicController", - "interfaces": [ - { - "type": "Volo.CmsKit.Public.Menus.IMenuItemPublicAppService", - "name": "IMenuItemPublicAppService", - "methods": [ - { - "name": "GetListAsync", - "parametersOnMethod": [], - "returnValue": { - "type": "System.Collections.Generic.List", - "typeSimple": "[Volo.CmsKit.Menus.MenuItemDto]" - } - } - ] - } - ], - "actions": { - "GetListAsync": { - "uniqueName": "GetListAsync", - "name": "GetListAsync", - "httpMethod": "GET", - "url": "api/cms-kit-public/menu-items", - "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], - "returnValue": { - "type": "System.Collections.Generic.List", - "typeSimple": "[Volo.CmsKit.Menus.MenuItemDto]" - }, - "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Menus.IMenuItemPublicAppService" - } - } - }, - "Volo.CmsKit.Public.GlobalResources.GlobalResourcePublicController": { - "controllerName": "GlobalResourcePublic", - "controllerGroupName": "GlobalResourcePublic", - "isRemoteService": true, - "isIntegrationService": false, - "apiVersion": null, - "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourcePublicController", - "interfaces": [ - { - "type": "Volo.CmsKit.Public.GlobalResources.IGlobalResourcePublicAppService", - "name": "IGlobalResourcePublicAppService", - "methods": [ - { - "name": "GetGlobalScriptAsync", - "parametersOnMethod": [], - "returnValue": { - "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto", - "typeSimple": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto" - } - }, - { - "name": "GetGlobalStyleAsync", - "parametersOnMethod": [], - "returnValue": { - "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto", - "typeSimple": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto" - } - } - ] - } - ], - "actions": { - "GetGlobalScriptAsync": { - "uniqueName": "GetGlobalScriptAsync", - "name": "GetGlobalScriptAsync", - "httpMethod": "GET", - "url": "api/cms-kit-public/global-resources/script", - "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], - "returnValue": { - "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto", - "typeSimple": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto" - }, - "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.GlobalResources.IGlobalResourcePublicAppService" + "implementFrom": "Volo.CmsKit.Public.Pages.IPagePublicAppService" }, - "GetGlobalStyleAsync": { - "uniqueName": "GetGlobalStyleAsync", - "name": "GetGlobalStyleAsync", + "DoesSlugExistAsyncBySlug": { + "uniqueName": "DoesSlugExistAsyncBySlug", + "name": "DoesSlugExistAsync", "httpMethod": "GET", - "url": "api/cms-kit-public/global-resources/style", + "url": "api/cms-kit-public/pages/exist", "supportedVersions": [], - "parametersOnMethod": [], - "parameters": [], + "parametersOnMethod": [ + { + "name": "slug", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "parameters": [ + { + "nameOnMethod": "slug", + "name": "slug", + "jsonName": null, + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Query", + "descriptorName": "" + } + ], "returnValue": { - "type": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto", - "typeSimple": "Volo.CmsKit.Public.GlobalResources.GlobalResourceDto" + "type": "System.Boolean", + "typeSimple": "boolean" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.GlobalResources.IGlobalResourcePublicAppService" + "implementFrom": "Volo.CmsKit.Public.Pages.IPagePublicAppService" } } }, - "Volo.CmsKit.Public.Comments.CommentPublicController": { - "controllerName": "CommentPublic", - "controllerGroupName": "CommentPublic", + "Volo.CmsKit.Public.Ratings.RatingPublicController": { + "controllerName": "RatingPublic", + "controllerGroupName": "RatingPublic", "isRemoteService": true, "isIntegrationService": false, "apiVersion": null, - "type": "Volo.CmsKit.Public.Comments.CommentPublicController", + "type": "Volo.CmsKit.Public.Ratings.RatingPublicController", "interfaces": [ { - "type": "Volo.CmsKit.Public.Comments.ICommentPublicAppService", - "name": "ICommentPublicAppService", + "type": "Volo.CmsKit.Public.Ratings.IRatingPublicAppService", + "name": "IRatingPublicAppService", "methods": [ { - "name": "GetListAsync", + "name": "CreateAsync", "parametersOnMethod": [ { "name": "entityType", @@ -1084,15 +1128,23 @@ "typeSimple": "string", "isOptional": false, "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", + "typeSimple": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", + "isOptional": false, + "defaultValue": null } ], "returnValue": { - "type": "Volo.Abp.Application.Dtos.ListResultDto", - "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" + "type": "Volo.CmsKit.Public.Ratings.RatingDto", + "typeSimple": "Volo.CmsKit.Public.Ratings.RatingDto" } }, { - "name": "CreateAsync", + "name": "DeleteAsync", "parametersOnMethod": [ { "name": "entityType", @@ -1109,72 +1161,47 @@ "typeSimple": "string", "isOptional": false, "defaultValue": null - }, - { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Comments.CreateCommentInput, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Comments.CreateCommentInput", - "typeSimple": "Volo.CmsKit.Public.Comments.CreateCommentInput", - "isOptional": false, - "defaultValue": null } ], "returnValue": { - "type": "Volo.CmsKit.Public.Comments.CommentDto", - "typeSimple": "Volo.CmsKit.Public.Comments.CommentDto" + "type": "System.Void", + "typeSimple": "System.Void" } }, { - "name": "UpdateAsync", + "name": "GetGroupedStarCountsAsync", "parametersOnMethod": [ { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", + "name": "entityType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null }, { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Comments.UpdateCommentInput, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Comments.UpdateCommentInput", - "typeSimple": "Volo.CmsKit.Public.Comments.UpdateCommentInput", - "isOptional": false, - "defaultValue": null - } - ], - "returnValue": { - "type": "Volo.CmsKit.Public.Comments.CommentDto", - "typeSimple": "Volo.CmsKit.Public.Comments.CommentDto" - } - }, - { - "name": "DeleteAsync", - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", + "name": "entityId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" + "type": "System.Collections.Generic.List", + "typeSimple": "[Volo.CmsKit.Public.Ratings.RatingWithStarCountDto]" } } ] } ], "actions": { - "GetListAsyncByEntityTypeAndEntityId": { - "uniqueName": "GetListAsyncByEntityTypeAndEntityId", - "name": "GetListAsync", - "httpMethod": "GET", - "url": "api/cms-kit-public/comments/{entityType}/{entityId}", + "CreateAsyncByEntityTypeAndEntityIdAndInput": { + "uniqueName": "CreateAsyncByEntityTypeAndEntityIdAndInput", + "name": "CreateAsync", + "httpMethod": "PUT", + "url": "api/cms-kit-public/ratings/{entityType}/{entityId}", "supportedVersions": [], "parametersOnMethod": [ { @@ -1192,6 +1219,14 @@ "typeSimple": "string", "isOptional": false, "defaultValue": null + }, + { + "name": "input", + "typeAsString": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput, Volo.CmsKit.Public.Application.Contracts", + "type": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", + "typeSimple": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", + "isOptional": false, + "defaultValue": null } ], "parameters": [ @@ -1218,20 +1253,32 @@ "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" + }, + { + "nameOnMethod": "input", + "name": "input", + "jsonName": null, + "type": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", + "typeSimple": "Volo.CmsKit.Public.Ratings.CreateUpdateRatingInput", + "isOptional": false, + "defaultValue": null, + "constraintTypes": null, + "bindingSourceId": "Body", + "descriptorName": "" } ], "returnValue": { - "type": "Volo.Abp.Application.Dtos.ListResultDto", - "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" + "type": "Volo.CmsKit.Public.Ratings.RatingDto", + "typeSimple": "Volo.CmsKit.Public.Ratings.RatingDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Comments.ICommentPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Ratings.IRatingPublicAppService" }, - "CreateAsyncByEntityTypeAndEntityIdAndInput": { - "uniqueName": "CreateAsyncByEntityTypeAndEntityIdAndInput", - "name": "CreateAsync", - "httpMethod": "POST", - "url": "api/cms-kit-public/comments/{entityType}/{entityId}", + "DeleteAsyncByEntityTypeAndEntityId": { + "uniqueName": "DeleteAsyncByEntityTypeAndEntityId", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/cms-kit-public/ratings/{entityType}/{entityId}", "supportedVersions": [], "parametersOnMethod": [ { @@ -1249,14 +1296,6 @@ "typeSimple": "string", "isOptional": false, "defaultValue": null - }, - { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Comments.CreateCommentInput, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Comments.CreateCommentInput", - "typeSimple": "Volo.CmsKit.Public.Comments.CreateCommentInput", - "isOptional": false, - "defaultValue": null } ], "parameters": [ @@ -1283,57 +1322,45 @@ "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" - }, - { - "nameOnMethod": "input", - "name": "input", - "jsonName": null, - "type": "Volo.CmsKit.Public.Comments.CreateCommentInput", - "typeSimple": "Volo.CmsKit.Public.Comments.CreateCommentInput", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body", - "descriptorName": "" } ], "returnValue": { - "type": "Volo.CmsKit.Public.Comments.CommentDto", - "typeSimple": "Volo.CmsKit.Public.Comments.CommentDto" + "type": "System.Void", + "typeSimple": "System.Void" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Comments.ICommentPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Ratings.IRatingPublicAppService" }, - "UpdateAsyncByIdAndInput": { - "uniqueName": "UpdateAsyncByIdAndInput", - "name": "UpdateAsync", - "httpMethod": "PUT", - "url": "api/cms-kit-public/comments/{id}", + "GetGroupedStarCountsAsyncByEntityTypeAndEntityId": { + "uniqueName": "GetGroupedStarCountsAsyncByEntityTypeAndEntityId", + "name": "GetGroupedStarCountsAsync", + "httpMethod": "GET", + "url": "api/cms-kit-public/ratings/{entityType}/{entityId}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", + "name": "entityType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null }, { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Comments.UpdateCommentInput, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Comments.UpdateCommentInput", - "typeSimple": "Volo.CmsKit.Public.Comments.UpdateCommentInput", + "name": "entityId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "parameters": [ { - "nameOnMethod": "id", - "name": "id", + "nameOnMethod": "entityType", + "name": "entityType", "jsonName": null, - "type": "System.Guid", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null, @@ -1342,47 +1369,10 @@ "descriptorName": "" }, { - "nameOnMethod": "input", - "name": "input", - "jsonName": null, - "type": "Volo.CmsKit.Public.Comments.UpdateCommentInput", - "typeSimple": "Volo.CmsKit.Public.Comments.UpdateCommentInput", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "Body", - "descriptorName": "" - } - ], - "returnValue": { - "type": "Volo.CmsKit.Public.Comments.CommentDto", - "typeSimple": "Volo.CmsKit.Public.Comments.CommentDto" - }, - "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Comments.ICommentPublicAppService" - }, - "DeleteAsyncById": { - "uniqueName": "DeleteAsyncById", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/cms-kit-public/comments/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ - { - "nameOnMethod": "id", - "name": "id", + "nameOnMethod": "entityId", + "name": "entityId", "jsonName": null, - "type": "System.Guid", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null, @@ -1392,31 +1382,31 @@ } ], "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" + "type": "System.Collections.Generic.List", + "typeSimple": "[Volo.CmsKit.Public.Ratings.RatingWithStarCountDto]" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Comments.ICommentPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Ratings.IRatingPublicAppService" } } }, - "Volo.CmsKit.Public.Blogs.BlogPostPublicController": { - "controllerName": "BlogPostPublic", - "controllerGroupName": "BlogPostPublic", + "Volo.CmsKit.Public.Reactions.ReactionPublicController": { + "controllerName": "ReactionPublic", + "controllerGroupName": "ReactionPublic", "isRemoteService": true, "isIntegrationService": false, "apiVersion": null, - "type": "Volo.CmsKit.Public.Blogs.BlogPostPublicController", + "type": "Volo.CmsKit.Public.Reactions.ReactionPublicController", "interfaces": [ { - "type": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService", - "name": "IBlogPostPublicAppService", + "type": "Volo.CmsKit.Public.Reactions.IReactionPublicAppService", + "name": "IReactionPublicAppService", "methods": [ { - "name": "GetListAsync", + "name": "GetForSelectionAsync", "parametersOnMethod": [ { - "name": "blogSlug", + "name": "entityType", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -1424,24 +1414,24 @@ "defaultValue": null }, { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput", - "typeSimple": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput", + "name": "entityId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "returnValue": { - "type": "Volo.Abp.Application.Dtos.PagedResultDto", - "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + "type": "Volo.Abp.Application.Dtos.ListResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" } }, { - "name": "GetAsync", + "name": "CreateAsync", "parametersOnMethod": [ { - "name": "blogSlug", + "name": "entityType", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -1449,100 +1439,73 @@ "defaultValue": null }, { - "name": "blogPostSlug", + "name": "entityId", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null - } - ], - "returnValue": { - "type": "Volo.CmsKit.Contents.BlogPostCommonDto", - "typeSimple": "Volo.CmsKit.Contents.BlogPostCommonDto" - } - }, - { - "name": "GetAuthorsHasBlogPostsAsync", - "parametersOnMethod": [ + }, { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto", - "typeSimple": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto", + "name": "reaction", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "returnValue": { - "type": "Volo.Abp.Application.Dtos.PagedResultDto", - "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + "type": "System.Void", + "typeSimple": "System.Void" } }, { - "name": "GetAuthorHasBlogPostAsync", + "name": "DeleteAsync", "parametersOnMethod": [ { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", + "name": "entityType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null - } - ], - "returnValue": { - "type": "Volo.CmsKit.Users.CmsUserDto", - "typeSimple": "Volo.CmsKit.Users.CmsUserDto" - } - }, - { - "name": "DeleteAsync", - "parametersOnMethod": [ + }, { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", + "name": "entityId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null - } - ], - "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" - } - }, - { - "name": "GetTagNameAsync", - "parametersOnMethod": [ + }, { - "name": "tagId", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", + "name": "reaction", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "returnValue": { - "type": "System.String", - "typeSimple": "string" + "type": "System.Void", + "typeSimple": "System.Void" } } ] } ], "actions": { - "GetAsyncByBlogSlugAndBlogPostSlug": { - "uniqueName": "GetAsyncByBlogSlugAndBlogPostSlug", - "name": "GetAsync", + "GetForSelectionAsyncByEntityTypeAndEntityId": { + "uniqueName": "GetForSelectionAsyncByEntityTypeAndEntityId", + "name": "GetForSelectionAsync", "httpMethod": "GET", - "url": "api/cms-kit-public/blog-posts/{blogSlug}/{blogPostSlug}", + "url": "api/cms-kit-public/reactions/{entityType}/{entityId}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "blogSlug", + "name": "entityType", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -1550,7 +1513,7 @@ "defaultValue": null }, { - "name": "blogPostSlug", + "name": "entityId", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -1560,8 +1523,8 @@ ], "parameters": [ { - "nameOnMethod": "blogSlug", - "name": "blogSlug", + "nameOnMethod": "entityType", + "name": "entityType", "jsonName": null, "type": "System.String", "typeSimple": "string", @@ -1572,8 +1535,8 @@ "descriptorName": "" }, { - "nameOnMethod": "blogPostSlug", - "name": "blogPostSlug", + "nameOnMethod": "entityId", + "name": "entityId", "jsonName": null, "type": "System.String", "typeSimple": "string", @@ -1585,21 +1548,21 @@ } ], "returnValue": { - "type": "Volo.CmsKit.Contents.BlogPostCommonDto", - "typeSimple": "Volo.CmsKit.Contents.BlogPostCommonDto" + "type": "Volo.Abp.Application.Dtos.ListResultDto", + "typeSimple": "Volo.Abp.Application.Dtos.ListResultDto" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Reactions.IReactionPublicAppService" }, - "GetListAsyncByBlogSlugAndInput": { - "uniqueName": "GetListAsyncByBlogSlugAndInput", - "name": "GetListAsync", - "httpMethod": "GET", - "url": "api/cms-kit-public/blog-posts/{blogSlug}", + "CreateAsyncByEntityTypeAndEntityIdAndReaction": { + "uniqueName": "CreateAsyncByEntityTypeAndEntityIdAndReaction", + "name": "CreateAsync", + "httpMethod": "PUT", + "url": "api/cms-kit-public/reactions/{entityType}/{entityId}/{reaction}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "blogSlug", + "name": "entityType", "typeAsString": "System.String, System.Private.CoreLib", "type": "System.String", "typeSimple": "string", @@ -1607,18 +1570,26 @@ "defaultValue": null }, { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput", - "typeSimple": "Volo.CmsKit.Public.Blogs.BlogPostGetListInput", + "name": "entityId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + }, + { + "name": "reaction", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "parameters": [ { - "nameOnMethod": "blogSlug", - "name": "blogSlug", + "nameOnMethod": "entityType", + "name": "entityType", "jsonName": null, "type": "System.String", "typeSimple": "string", @@ -1629,157 +1600,201 @@ "descriptorName": "" }, { - "nameOnMethod": "input", - "name": "AuthorId", - "jsonName": null, - "type": "System.Guid?", - "typeSimple": "string?", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" - }, - { - "nameOnMethod": "input", - "name": "TagId", - "jsonName": null, - "type": "System.Guid?", - "typeSimple": "string?", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" - }, - { - "nameOnMethod": "input", - "name": "Sorting", + "nameOnMethod": "entityId", + "name": "entityId", "jsonName": null, "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" - }, - { - "nameOnMethod": "input", - "name": "SkipCount", - "jsonName": null, - "type": "System.Int32", - "typeSimple": "number", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" }, { - "nameOnMethod": "input", - "name": "MaxResultCount", + "nameOnMethod": "reaction", + "name": "reaction", "jsonName": null, - "type": "System.Int32", - "typeSimple": "number", + "type": "System.String", + "typeSimple": "string", "isOptional": false, "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" } ], "returnValue": { - "type": "Volo.Abp.Application.Dtos.PagedResultDto", - "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + "type": "System.Void", + "typeSimple": "System.Void" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" + "implementFrom": "Volo.CmsKit.Public.Reactions.IReactionPublicAppService" }, - "GetAuthorsHasBlogPostsAsyncByInput": { - "uniqueName": "GetAuthorsHasBlogPostsAsyncByInput", - "name": "GetAuthorsHasBlogPostsAsync", - "httpMethod": "GET", - "url": "api/cms-kit-public/blog-posts/authors", + "DeleteAsyncByEntityTypeAndEntityIdAndReaction": { + "uniqueName": "DeleteAsyncByEntityTypeAndEntityIdAndReaction", + "name": "DeleteAsync", + "httpMethod": "DELETE", + "url": "api/cms-kit-public/reactions/{entityType}/{entityId}/{reaction}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "input", - "typeAsString": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto, Volo.CmsKit.Public.Application.Contracts", - "type": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto", - "typeSimple": "Volo.CmsKit.Public.Blogs.BlogPostFilteredPagedAndSortedResultRequestDto", + "name": "entityType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + }, + { + "name": "entityId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + }, + { + "name": "reaction", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", "isOptional": false, "defaultValue": null } ], "parameters": [ { - "nameOnMethod": "input", - "name": "Filter", + "nameOnMethod": "entityType", + "name": "entityType", "jsonName": null, "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" }, { - "nameOnMethod": "input", - "name": "Sorting", + "nameOnMethod": "entityId", + "name": "entityId", "jsonName": null, "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" - }, - { - "nameOnMethod": "input", - "name": "SkipCount", - "jsonName": null, - "type": "System.Int32", - "typeSimple": "number", - "isOptional": false, - "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" }, { - "nameOnMethod": "input", - "name": "MaxResultCount", + "nameOnMethod": "reaction", + "name": "reaction", "jsonName": null, - "type": "System.Int32", - "typeSimple": "number", + "type": "System.String", + "typeSimple": "string", "isOptional": false, "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", - "descriptorName": "input" + "constraintTypes": [], + "bindingSourceId": "Path", + "descriptorName": "" } ], "returnValue": { - "type": "Volo.Abp.Application.Dtos.PagedResultDto", - "typeSimple": "Volo.Abp.Application.Dtos.PagedResultDto" + "type": "System.Void", + "typeSimple": "System.Void" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" - }, - "GetAuthorHasBlogPostAsyncById": { - "uniqueName": "GetAuthorHasBlogPostAsyncById", - "name": "GetAuthorHasBlogPostAsync", + "implementFrom": "Volo.CmsKit.Public.Reactions.IReactionPublicAppService" + } + } + }, + "Volo.CmsKit.Public.Tags.TagPublicController": { + "controllerName": "TagPublic", + "controllerGroupName": "TagPublic", + "isRemoteService": true, + "isIntegrationService": false, + "apiVersion": null, + "type": "Volo.CmsKit.Public.Tags.TagPublicController", + "interfaces": [ + { + "type": "Volo.CmsKit.Tags.ITagAppService", + "name": "ITagAppService", + "methods": [ + { + "name": "GetAllRelatedTagsAsync", + "parametersOnMethod": [ + { + "name": "entityType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + }, + { + "name": "entityId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Collections.Generic.List", + "typeSimple": "[Volo.CmsKit.Tags.TagDto]" + } + }, + { + "name": "GetPopularTagsAsync", + "parametersOnMethod": [ + { + "name": "entityType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + }, + { + "name": "maxCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "type": "System.Int32", + "typeSimple": "number", + "isOptional": false, + "defaultValue": null + } + ], + "returnValue": { + "type": "System.Collections.Generic.List", + "typeSimple": "[Volo.CmsKit.Tags.PopularTagDto]" + } + } + ] + } + ], + "actions": { + "GetAllRelatedTagsAsyncByEntityTypeAndEntityId": { + "uniqueName": "GetAllRelatedTagsAsyncByEntityTypeAndEntityId", + "name": "GetAllRelatedTagsAsync", "httpMethod": "GET", - "url": "api/cms-kit-public/blog-posts/authors/{id}", + "url": "api/cms-kit-public/tags/{entityType}/{entityId}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", + "name": "entityType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", + "typeSimple": "string", + "isOptional": false, + "defaultValue": null + }, + { + "name": "entityId", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null @@ -1787,47 +1802,22 @@ ], "parameters": [ { - "nameOnMethod": "id", - "name": "id", + "nameOnMethod": "entityType", + "name": "entityType", "jsonName": null, - "type": "System.Guid", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null, "constraintTypes": [], "bindingSourceId": "Path", "descriptorName": "" - } - ], - "returnValue": { - "type": "Volo.CmsKit.Users.CmsUserDto", - "typeSimple": "Volo.CmsKit.Users.CmsUserDto" - }, - "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" - }, - "DeleteAsyncById": { - "uniqueName": "DeleteAsyncById", - "name": "DeleteAsync", - "httpMethod": "DELETE", - "url": "api/cms-kit-public/blog-posts/{id}", - "supportedVersions": [], - "parametersOnMethod": [ - { - "name": "id", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", - "typeSimple": "string", - "isOptional": false, - "defaultValue": null - } - ], - "parameters": [ + }, { - "nameOnMethod": "id", - "name": "id", + "nameOnMethod": "entityId", + "name": "entityId", "jsonName": null, - "type": "System.Guid", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null, @@ -1837,60 +1827,70 @@ } ], "returnValue": { - "type": "System.Void", - "typeSimple": "System.Void" + "type": "System.Collections.Generic.List", + "typeSimple": "[Volo.CmsKit.Tags.TagDto]" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" + "implementFrom": "Volo.CmsKit.Tags.ITagAppService" }, - "GetTagNameAsyncByTagId": { - "uniqueName": "GetTagNameAsyncByTagId", - "name": "GetTagNameAsync", + "GetPopularTagsAsyncByEntityTypeAndMaxCount": { + "uniqueName": "GetPopularTagsAsyncByEntityTypeAndMaxCount", + "name": "GetPopularTagsAsync", "httpMethod": "GET", - "url": "api/cms-kit-public/blog-posts/tags/{id}", + "url": "api/cms-kit-public/tags/popular/{entityType}/{maxCount}", "supportedVersions": [], "parametersOnMethod": [ { - "name": "tagId", - "typeAsString": "System.Guid, System.Private.CoreLib", - "type": "System.Guid", + "name": "entityType", + "typeAsString": "System.String, System.Private.CoreLib", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null + }, + { + "name": "maxCount", + "typeAsString": "System.Int32, System.Private.CoreLib", + "type": "System.Int32", + "typeSimple": "number", + "isOptional": false, + "defaultValue": null } ], "parameters": [ { - "nameOnMethod": "tagId", - "name": "tagId", + "nameOnMethod": "entityType", + "name": "entityType", "jsonName": null, - "type": "System.Guid", + "type": "System.String", "typeSimple": "string", "isOptional": false, "defaultValue": null, - "constraintTypes": null, - "bindingSourceId": "ModelBinding", + "constraintTypes": [], + "bindingSourceId": "Path", "descriptorName": "" }, { - "nameOnMethod": "id", - "name": "id", + "nameOnMethod": "maxCount", + "name": "maxCount", "jsonName": null, - "type": null, - "typeSimple": null, + "type": "System.Int32", + "typeSimple": "number", "isOptional": false, "defaultValue": null, - "constraintTypes": [], + "constraintTypes": [ + "IntRouteConstraint" + ], "bindingSourceId": "Path", "descriptorName": "" } ], "returnValue": { - "type": "System.String", - "typeSimple": "string" + "type": "System.Collections.Generic.List", + "typeSimple": "[Volo.CmsKit.Tags.PopularTagDto]" }, "allowAnonymous": null, - "implementFrom": "Volo.CmsKit.Public.Blogs.IBlogPostPublicAppService" + "implementFrom": "Volo.CmsKit.Tags.ITagAppService" } } }