Class RequestKeys

Version: 21.x

Defines the keys that may be included in the Sitecore layout service request.

Inheritance
System.Object
RequestKeys
Namespace: Sitecore.LayoutService.Client
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public static class RequestKeys : Object

Fields

ApiKey

The key name for request API key.

Declaration
RequestResponse
public const string ApiKey = "sc_apikey"
Field Value
TypeDescription
System.String

AuthHeaderKey

The key name for request authentication header.

Declaration
RequestResponse
public const string AuthHeaderKey = "sc_auth_header_key"
Field Value
TypeDescription
System.String

Device

The key name for device ID.

Declaration
RequestResponse
public const string Device = "sc_device"
Field Value
TypeDescription
System.String

ItemID

The key name for request item ID.

Declaration
RequestResponse
public const string ItemID = "sc_itemid"
Field Value
TypeDescription
System.String

Language

The key name for request language.

Declaration
RequestResponse
public const string Language = "sc_lang"
Field Value
TypeDescription
System.String

Mode

The key name for request mode.

Declaration
RequestResponse
public const string Mode = "sc_mode"
Field Value
TypeDescription
System.String

Path

The key name for request path.

Declaration
RequestResponse
public const string Path = "item"
Field Value
TypeDescription
System.String

PreviewDate

The key name for request preview date.

Declaration
RequestResponse
public const string PreviewDate = "sc_date"
Field Value
TypeDescription
System.String

SiteName

The key name for request site name.

Declaration
RequestResponse
public const string SiteName = "sc_site"
Field Value
TypeDescription
System.String

Do you have some feedback for us?

If you have suggestions for improving this article,