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. Processes this cache API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| listKey |
The list key. |
string |
Required |
| timeToLive |
The time to live. |
time interval |
None. |
Body Parameters
The item to prepend.
Collection of ObjectNone.
Request Formats
application/x-www-form-urlencoded, application/json, text/json
Sample:
Sample not available.
Response Information
Resource Description
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |