View Source
Class ByIdsContentApiController
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Delivery.dll
Syntax
public class ByIdsContentApiController : ContentApiItemControllerBase
Constructors
View Source
ByIdsContentApiController(IApiPublishedContentCache, IApiContentResponseBuilder, IPublicAccessService)
Declaration
public ByIdsContentApiController(IApiPublishedContentCache apiPublishedContentCache, IApiContentResponseBuilder apiContentResponseBuilder, IPublicAccessService publicAccessService)
Parameters
Type |
Name |
Description |
IApiPublishedContentCache |
apiPublishedContentCache |
|
IApiContentResponseBuilder |
apiContentResponseBuilder |
|
IPublicAccessService |
publicAccessService |
|
View Source
ByIdsContentApiController(IApiPublishedContentCache, IApiContentResponseBuilder, IPublicAccessService, IRequestMemberAccessService)
Declaration
public ByIdsContentApiController(IApiPublishedContentCache apiPublishedContentCache, IApiContentResponseBuilder apiContentResponseBuilder, IPublicAccessService publicAccessService, IRequestMemberAccessService requestMemberAccessService)
Parameters
Type |
Name |
Description |
IApiPublishedContentCache |
apiPublishedContentCache |
|
IApiContentResponseBuilder |
apiContentResponseBuilder |
|
IPublicAccessService |
publicAccessService |
|
IRequestMemberAccessService |
requestMemberAccessService |
|
View Source
ByIdsContentApiController(IApiPublishedContentCache, IApiContentResponseBuilder, IRequestMemberAccessService)
Declaration
public ByIdsContentApiController(IApiPublishedContentCache apiPublishedContentCache, IApiContentResponseBuilder apiContentResponseBuilder, IRequestMemberAccessService requestMemberAccessService)
Parameters
Type |
Name |
Description |
IApiPublishedContentCache |
apiPublishedContentCache |
|
IApiContentResponseBuilder |
apiContentResponseBuilder |
|
IRequestMemberAccessService |
requestMemberAccessService |
|
Methods
View Source
Item(HashSet<Guid>)
Gets content items by ids.
Declaration
public async Task<IActionResult> Item(HashSet<Guid> ids)
Parameters
Type |
Name |
Description |
HashSet<Guid> |
ids |
The unique identifiers of the content items to retrieve.
|
Returns
Type |
Description |
Task<IActionResult> |
The content items.
|