Class DeliveryApiSettings.MediaSettings
Typed configuration options for the Media APIs of the Delivery API.
Inheritance
Namespace: Umbraco.Cms.Core.Configuration.Models
Assembly: Umbraco.Core.dll
Syntax
public class MediaSettings
Remarks
The Delivery API settings (as configured in Delivery
Properties
View SourceEnabled
Gets or sets a value indicating whether the Media APIs of the Delivery API should be enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System. |
|
Remarks
Setting this to true
will have no effect if the Delivery API itself is disabled through Delivery
PublicAccess
Gets or sets a value indicating whether the Media APIs of the Delivery API (if enabled) should be publicly available or should require an API key for access.
Declaration
public bool PublicAccess { get; set; }
Property Value
Type | Description |
---|---|
System. |
|
Remarks
Setting this to true
will have no effect if the Delivery API itself has public access disabled through Delivery