Skip to content

Commit 1edd350

Browse files
committed
Add v1 zone
1 parent b8590fb commit 1edd350

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

articles/azure-app-configuration/rest-api-key-value.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.date: 07/23/2024
99
zone_pivot_groups: data-plane-api-version
1010

1111
---
12+
:::zone target="docs" pivot="v1,v23-10,v23-11"
1213

1314
# Key-values
1415

@@ -109,7 +110,9 @@ HTTP/1.1 200 OK
109110
Optional: ``key`` (If not specified, it implies any key.)
110111
Optional: ``label`` (If not specified, it implies any label.)
111112

113+
:::zone-end
112114
:::zone target="docs" pivot="v23-11"
115+
113116
Optional: ``tags`` (If not specified, it implies any tags.)
114117

115118
```http
@@ -123,7 +126,7 @@ HTTP/1.1 200 OK
123126
Content-Type: application/vnd.microsoft.appconfig.kvset+json; charset=utf-8
124127
```
125128
:::zone-end
126-
129+
:::zone target="docs" pivot="v1,v23-10,v23-11"
127130

128131
```http
129132
GET /kv?label=*&api-version={api-version} HTTP/1.1
@@ -138,7 +141,7 @@ Content-Type: application/vnd.microsoft.appconfig.kvset+json; charset=utf-8
138141

139142
For additional options, see the "Filtering" section later in this article.
140143

141-
144+
:::zone-end
142145
:::zone target="docs" pivot="v23-10,v23-11"
143146

144147
## List key-values (conditionally)
@@ -185,6 +188,7 @@ HTTP/1.1 200 OK
185188
```
186189

187190
:::zone-end
191+
:::zone target="docs" pivot="v1,v23-10,v23-11"
188192

189193
## Pagination
190194

@@ -217,6 +221,7 @@ Link: <{relative uri}>; rel="next"
217221
A combination of `key` and `label` filtering is supported.
218222
Use the optional `key` and `label` query string parameters.
219223

224+
:::zone-end
220225
:::zone target="docs" pivot="v23-11"
221226

222227
For API Versions greater than `2023-11-01`, filtering by`tags` is also supported. Multiple tag filters can be provided as query string parameters in the `tagName=tagValue` format. Tag filters must be an exact match.
@@ -226,6 +231,7 @@ GET /kv?key={key}&label={label}&tags={tagFilter1}&tags={tagFilter2}&api-version=
226231
```
227232

228233
:::zone-end
234+
:::zone target="docs" pivot="v1,v23-10,v23-11"
229235

230236
```http
231237
GET /kv?key={key}&label={label}&api-version={api-version}
@@ -248,6 +254,7 @@ GET /kv?key={key}&label={label}&api-version={api-version}
248254
|`label=prod*`|Matches labels that start with **prod**|
249255
|`label=prod,test`|Matches labels **prod** or **test** (limited to 5 CSV)|
250256

257+
:::zone-end
251258
:::zone target="docs" pivot="v23-11"
252259

253260
|Tags filter|Effect|
@@ -259,7 +266,7 @@ GET /kv?key={key}&label={label}&api-version={api-version}
259266
|`tags=tag1=`|Matches KV where the tag name is `tag1` and tag value is empty|
260267

261268
:::zone-end
262-
269+
:::zone target="docs" pivot="v1,v23-10,v23-11"
263270

264271
***Reserved characters***
265272

@@ -480,3 +487,5 @@ HTTP/1.1 204 No Content
480487
## Delete key (conditionally)
481488

482489
This is similar to the "Set key (conditionally)" section earlier in this article.
490+
491+
:::zone-end

articles/zone-pivot-groups.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2919,6 +2919,8 @@ groups:
29192919
title: API version pivots
29202920
prompt: Choose an API version
29212921
pivots:
2922+
- id: v1
2923+
title: "1.0"
29222924
- id: v23-10
29232925
title: "2023-10-01"
29242926
- id: v23-11

0 commit comments

Comments
 (0)