DELETE | /devops/api/caches/{location} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
location | path | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | CacheClearResult | No | |
BeforeStatistics | form | CacheStatResult | No | |
AfterStatistics | form | CacheStatResult | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IsCleared | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | CacheResult | No | |
Location | form | CacheLocation | No | |
Key | form | CacheKey | No |
Name | Value | |
---|---|---|
None | 0 | |
Miss | 1 | |
Hit | 2 | |
Put | 4 | |
Deleted | 8 | |
Cleared | 16 | |
Added | 32 | |
Updated | 64 | |
Unavailable | 128 | |
Expired | 256 |
Name | Value | |
---|---|---|
None | 0 | |
OutOfProcess | 1 | |
InProcess | 2 | |
InContext | 3 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Region | form | string | No | |
BaseKey | form | string | No | |
Key | form | string | No | |
ExpirationSeconds | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Statistics | form | List<CacheStat> | No | |
IsHit | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Name | form | string | No | |
Value | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /devops/api/caches/{location} HTTP/1.1 Host: devapi.billhighway.com Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Result: { IsCleared: False, Result: 0, Location: 0 }, BeforeStatistics: { Statistics: [ { Name: String, Value: String } ], IsHit: False, Result: 0, Location: 0 }, AfterStatistics: { Statistics: [ { Name: String, Value: String } ], IsHit: False, Result: 0, Location: 0 } }