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 : ObjectFields
ApiKey
The key name for request API key.
Declaration
RequestResponse
public const string ApiKey = "sc_apikey"Field Value
| Type | Description |
|---|---|
| System.String |
AuthHeaderKey
The key name for request authentication header.
Declaration
RequestResponse
public const string AuthHeaderKey = "sc_auth_header_key"Field Value
| Type | Description |
|---|---|
| System.String |
Device
The key name for device ID.
Declaration
RequestResponse
public const string Device = "sc_device"Field Value
| Type | Description |
|---|---|
| System.String |
ItemID
The key name for request item ID.
Declaration
RequestResponse
public const string ItemID = "sc_itemid"Field Value
| Type | Description |
|---|---|
| System.String |
Language
The key name for request language.
Declaration
RequestResponse
public const string Language = "sc_lang"Field Value
| Type | Description |
|---|---|
| System.String |
Mode
The key name for request mode.
Declaration
RequestResponse
public const string Mode = "sc_mode"Field Value
| Type | Description |
|---|---|
| System.String |
Path
The key name for request path.
Declaration
RequestResponse
public const string Path = "item"Field Value
| Type | Description |
|---|---|
| System.String |
PreviewDate
The key name for request preview date.
Declaration
RequestResponse
public const string PreviewDate = "sc_date"Field Value
| Type | Description |
|---|---|
| System.String |
SiteName
The key name for request site name.
Declaration
RequestResponse
public const string SiteName = "sc_site"Field Value
| Type | Description |
|---|---|
| System.String |