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/json, text/json, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.