PUT api/cache/List/{listKey}/Prepend?timeToLive={timeToLive}

Adds to the head of an existing list, or creates a new list with the object in it.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
listKey

The list key.

string

Required

timeToLive

The time to live.

time interval

None.

Body Parameters

The item to prepend.

Collection of Object

None.

Request Formats

application/x-www-form-urlencoded, application/json, text/json

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.