Skip to content

Commit f51b05b

Browse files
Code block cleanup (#1187)
1 parent 6875e0c commit f51b05b

File tree

116 files changed

+995
-703
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

116 files changed

+995
-703
lines changed

apis/collections-apis/category-complement.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Use the following request to query the complement costs of a category, which inc
88

99
### Request
1010

11-
```
11+
```http
1212
GET /model/collections/query/complement?category=<string>&window=<string>
1313
```
1414

1515
### Examples
1616

17-
```
17+
```http
1818
GET /model/collections/query/complement?category=Team&window=30d
1919
```
2020

@@ -48,13 +48,13 @@ Use the following request to query the complement cloud costs of a category, whi
4848

4949
### Request
5050

51-
```
51+
```http
5252
GET /model/collections/query/complement/cloud?category=<string>&window=<string>(&aggregate=<string>&filter=<string>&limit=<number>&offset=<number>)
5353
```
5454

5555
### Examples
5656

57-
```
57+
```http
5858
GET /model/collections/query/complement/cloud?category=Team&window=30d
5959
```
6060

@@ -77,7 +77,7 @@ GET /model/collections/query/complement/cloud?category=Team&window=30d
7777
}
7878
```
7979

80-
```
80+
```http
8181
GET /model/collections/query/complement/cloud?category=Team&window=30d&aggregate=service
8282
```
8383

@@ -116,7 +116,7 @@ GET /model/collections/query/complement/cloud?category=Team&window=30d&aggregate
116116
}
117117
```
118118

119-
```
119+
```http
120120
GET /model/collections/query/complement/cloud?category=Team&window=30d&aggregate=providerID&filter=service:"AmazonEC2"
121121
```
122122

@@ -156,13 +156,13 @@ Use the following request to query the complement Kubernetes costs of a category
156156

157157
### Request
158158

159-
```
159+
```http
160160
GET /model/collections/query/complement/kubernetes?category=<string>&window=<string>(&aggregate=<string>&filter=<string>&limit=<number>&offset=<number>)
161161
```
162162

163163
### Examples
164164

165-
```
165+
```http
166166
GET /model/collection/query/complement/kubernetes?category=Team&window=30d
167167
```
168168

@@ -187,7 +187,7 @@ GET /model/collection/query/complement/kubernetes?category=Team&window=30d
187187
}
188188
```
189189

190-
```
190+
```http
191191
GET /model/collections/query/complement/kubernetes?category=Team&window=30d&aggregate=namespace
192192
```
193193

@@ -228,7 +228,7 @@ GET /model/collections/query/complement/kubernetes?category=Team&window=30d&aggr
228228
}
229229
```
230230

231-
```
231+
```http
232232
GET /model/collections/query/complement/kubernetes?category=Team&window=30d&aggregate=controller&filter=namespace:"kubecost"
233233
```
234234

apis/collections-apis/category-timeseries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Use the following request to query the time series costs of a category, which in
88

99
### Request
1010

11-
```
11+
```http
1212
GET /model/collections/query/timeseries?category=<string>&window=<string>(&collections=<true>)
1313
```
1414

1515
### Examples
1616

17-
```
17+
```http
1818
GET /model/collections/query/timeseries?category=Team&window=30d
1919
```
2020

@@ -105,7 +105,7 @@ GET /model/collections/query/timeseries?category=Team&window=30d
105105

106106
```
107107

108-
```
108+
```http
109109
GET /model/collections/query/timeseries?category=Team&window=30d&collections=true
110110
```
111111

apis/collections-apis/category-total.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Use the following request to query the total costs of a category, which includes
88

99
### Request
1010

11-
```
11+
```http
1212
GET /model/collections/query/total?category=<string>&window=<string>(&collections=<true>)
1313
```
1414

1515
### Examples
1616

17-
```
17+
```http
1818
GET /model/collections/query/total?category=Team&window=30d
1919
```
2020

@@ -57,7 +57,7 @@ GET /model/collections/query/total?category=Team&window=30d
5757
}
5858
```
5959

60-
```
60+
```http
6161
GET /model/collections/query/total?category=Team&window=30d&collections=true
6262
```
6363

apis/collections-apis/collection-complement.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Use the following request to query the complement costs of a collection, which i
88

99
### Request
1010

11-
```
11+
```http
1212
GET /model/collections/query/complement?id=<string>&window=<string>
1313
```
1414

1515
### Examples
1616

17-
```
17+
```http
1818
GET /model/collections/query/complement?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d
1919
```
2020

@@ -48,13 +48,13 @@ Use the following request to query the complement cloud costs of a collection, w
4848

4949
### Request
5050

51-
```
51+
```http
5252
GET /model/collection/query/complement/cloud?id=<string>&window=<string>(&aggregate=<string>&filter=<string>&limit=<number>&offset=<number>)
5353
```
5454

5555
### Examples
5656

57-
```
57+
```http
5858
GET /model/collection/query/complement/cloud?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d
5959
```
6060

@@ -77,7 +77,7 @@ GET /model/collection/query/complement/cloud?id=8a939ba1-ff15-4600-b711-2cb10911
7777
}
7878
```
7979

80-
```
80+
```http
8181
GET /model/collection/query/complement/cloud?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d&aggregate=service
8282
```
8383

@@ -115,7 +115,7 @@ GET /model/collection/query/complement/cloud?id=8a939ba1-ff15-4600-b711-2cb10911
115115
}
116116
```
117117

118-
```
118+
```http
119119
GET /model/collection/query/complement/cloud?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d&aggregate=providerID&filter=service:"AmazonEC2"
120120
```
121121

@@ -154,13 +154,13 @@ Use the following request to query the complement Kubernetes costs of a collecti
154154

155155
### Request
156156

157-
```
157+
```http
158158
GET /model/collection/query/complement/kubernetes?id=<string>&window=<string>(&aggregate=<string>&filter=<string>&limit=<number>&offset=<number>)
159159
```
160160

161161
### Examples
162162

163-
```
163+
```http
164164
GET /model/collection/query/complement/kubernetes?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d
165165
```
166166

@@ -185,7 +185,7 @@ GET /model/collection/query/complement/kubernetes?id=8a939ba1-ff15-4600-b711-2cb
185185
}
186186
```
187187

188-
```
188+
```http
189189
GET /model/collection/query/complement/kubernetes?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d&aggregate=namespace
190190
```
191191

@@ -225,7 +225,7 @@ GET /model/collection/query/complement/kubernetes?id=8a939ba1-ff15-4600-b711-2cb
225225
}
226226
```
227227

228-
```
228+
```http
229229
GET /model/collection/query/complement/kubernetes?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d&aggregate=controller&filter=namespace:"kubecost"
230230
```
231231

apis/collections-apis/collection-timeseries.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ Use the following request to query the time series costs of a collection, which
88

99
### Request
1010

11-
```
11+
```http
1212
GET /model/collection/query/timeseries?id=<string>&window=<string>(&groups=<true>)
1313
```
1414

1515
### Examples
1616

17-
```
17+
```http
1818
GET /model/collection/query/timeseries?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d
1919
```
2020

2121
```json
2222
{
2323
"id": "8a939ba1-ff15-4600-b711-2cb109114914",
24-
"name": "Infrastructure",
25-
"category": "Team",
24+
"name": "Infrastructure",
25+
"category": "Team",
2626
"window": {
2727
"start": "2023-01-01T00:00:00Z",
2828
"end": "2023-02-01T00:00:00Z"
@@ -92,15 +92,15 @@ GET /model/collection/query/timeseries?id=8a939ba1-ff15-4600-b711-2cb109114914&w
9292
}
9393
```
9494

95-
```
95+
```http
9696
GET /model/collection/query/timeseries?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d&groups=true
9797
```
9898

9999
```json
100100
{
101101
"id": "8a939ba1-ff15-4600-b711-2cb109114914",
102102
"name": "Infrastructure",
103-
"category": "Team",
103+
"category": "Team",
104104
"window": {
105105
"start": "2023-01-01T00:00:00Z",
106106
"end": "2023-02-01T00:00:00Z"

apis/collections-apis/collection-total.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ Use the following request to query the total costs of a collection, which includ
88

99
### Request
1010

11-
```
11+
```http
1212
GET /model/collection/query/total?id=<string>&window=<string>(&groups=<true>)
1313
```
1414

1515
### Examples
1616

17-
```
17+
```http
1818
GET /model/collection/query/total?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d
1919
```
2020

2121
```json
2222
{
2323
"id": "8a939ba1-ff15-4600-b711-2cb109114914",
2424
"name": "Infrastructure",
25-
"category": "Team",
25+
"category": "Team",
2626
"window": {
2727
"start": "2023-01-01T00:00:00Z",
2828
"end": "2023-02-01T00:00:00Z"
@@ -45,15 +45,15 @@ GET /model/collection/query/total?id=8a939ba1-ff15-4600-b711-2cb109114914&window
4545
}
4646
```
4747

48-
```
48+
```http
4949
GET /model/collection/query/total?id=8a939ba1-ff15-4600-b711-2cb109114914&window=30d&groups=true
5050
```
5151

5252
```json
5353
{
5454
"id": "8a939ba1-ff15-4600-b711-2cb109114914",
5555
"name": "Infrastructure",
56-
"category": "Team",
56+
"category": "Team",
5757
"window": {
5858
"start": "2023-01-01T00:00:00Z",
5959
"end": "2023-02-01T00:00:00Z"

apis/collections-apis/create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Use the following request to create a new collection by providing a collection s
66

77
### Request
88

9-
```
9+
```http
1010
POST /model/collections
1111
```
1212

1313
### Example
1414

15-
```
15+
```http
1616
POST /model/collections
1717
```
1818

apis/collections-apis/delete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ Use the following request to delete a collection by providing the collection ID.
66

77
### Request
88

9-
```
9+
```http
1010
DELETE /model/collection?id=<string>
1111
```
1212

1313
### Example
1414

15-
```
15+
```http
1616
DELETE /model/collection?id=8a939ba1-ff15-4600-b711-2cb109114914
1717
```

apis/collections-apis/list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Use the following request to list all collections. Optionally, provide a categor
66

77
### Request
88

9-
```
9+
```http
1010
GET /model/collections?(category=<string>)
1111
```
1212

1313
### Examples
1414

15-
```
15+
```http
1616
GET /model/collections
1717
```
1818

@@ -99,7 +99,7 @@ GET /model/collections
9999
}
100100
```
101101

102-
```
102+
```http
103103
GET /model/collections?kind=Team
104104
```
105105

apis/collections-apis/update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Use the following request to update an existing collection by providing the coll
66

77
### Request
88

9-
```
9+
```http
1010
PUT /model/collection?id=<string>
1111
```
1212

1313
### Example
1414

15-
```
15+
```http
1616
PUT /model/collection?id=8a939ba1-ff15-4600-b711-2cb109114914
1717
```
1818

0 commit comments

Comments
 (0)