Skip to content

Commit 3f68c5c

Browse files
docs-botsaritai
andauthored
Update OpenAPI Description (#61745)
Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com>
1 parent e61026c commit 3f68c5c

18 files changed

Lines changed: 197 additions & 19 deletions

File tree

src/github-apps/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@
6060
"2022-11-28"
6161
]
6262
},
63-
"sha": "7a0a14cf24805c7efd23fef351bfab80391ec8fb"
63+
"sha": "5dc466be95bd7fefb4103d2455e47dee38365248"
6464
}

src/rest/data/fpt-2022-11-28/billing.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,17 @@
554554
{
555555
"type": "string",
556556
"name": "budget_type",
557-
"description": "<p>The type of pricing for the budget</p>"
557+
"description": "<p>The type of pricing model used by the budget. Determines how <code>budget_product_sku</code> is interpreted.</p>\n<ul>\n<li><code>BundlePricing</code>: Covers all AI credit SKUs. Set <code>budget_product_sku</code> to <code>ai_credits</code>.</li>\n<li><code>ProductPricing</code>: Covers all SKUs that belong to a product. Set <code>budget_product_sku</code> to a product such as <code>actions</code> or <code>packages</code>.</li>\n<li><code>SkuPricing</code>: Covers a single, specific SKU. Set <code>budget_product_sku</code> to a SKU such as <code>actions_linux</code>.</li>\n</ul>"
558558
},
559559
{
560560
"type": "string",
561561
"name": "budget_product_sku",
562562
"description": "<p>A single product or SKU that will be covered in the budget</p>"
563+
},
564+
{
565+
"type": "string",
566+
"name": "user",
567+
"description": "<p>The username of the user for <code>user</code> scope budgets. This field is required when <code>budget_scope</code> is <code>user</code>.</p>"
563568
}
564569
],
565570
"descriptionHTML": "<p>Creates a new budget for an organization. The authenticated user must be an\norganization admin or billing manager.</p>",
@@ -994,12 +999,17 @@
994999
{
9951000
"type": "string",
9961001
"name": "budget_type",
997-
"description": "<p>The type of pricing for the budget</p>"
1002+
"description": "<p>The type of pricing model used by the budget. Determines how <code>budget_product_sku</code> is interpreted.</p>\n<ul>\n<li><code>BundlePricing</code>: Covers all AI credit SKUs. Set <code>budget_product_sku</code> to <code>ai_credits</code>.</li>\n<li><code>ProductPricing</code>: Covers all SKUs that belong to a product. Set <code>budget_product_sku</code> to a product such as <code>actions</code> or <code>packages</code>.</li>\n<li><code>SkuPricing</code>: Covers a single, specific SKU. Set <code>budget_product_sku</code> to a SKU such as <code>actions_linux</code>.</li>\n</ul>"
9981003
},
9991004
{
10001005
"type": "string",
10011006
"name": "budget_product_sku",
10021007
"description": "<p>A single product or SKU that will be covered in the budget</p>"
1008+
},
1009+
{
1010+
"type": "string",
1011+
"name": "user",
1012+
"description": "<p>The username of the user for <code>user</code> scope budgets.</p>"
10031013
}
10041014
],
10051015
"descriptionHTML": "<p>Updates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.</p>",

src/rest/data/fpt-2022-11-28/orgs.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5605,8 +5605,11 @@
56055605
"status": "deployed",
56065606
"deployment_name": "deployment-pod",
56075607
"tags": {
5608-
"runtime-risk": "sensitive-data"
5609-
}
5608+
"owning-team": "platform"
5609+
},
5610+
"runtime_risks": [
5611+
"sensitive-data"
5612+
]
56105613
}
56115614
]
56125615
},

src/rest/data/fpt-2026-03-10/billing.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,12 +554,17 @@
554554
{
555555
"type": "string",
556556
"name": "budget_type",
557-
"description": "<p>The type of pricing for the budget</p>"
557+
"description": "<p>The type of pricing model used by the budget. Determines how <code>budget_product_sku</code> is interpreted.</p>\n<ul>\n<li><code>BundlePricing</code>: Covers all AI credit SKUs. Set <code>budget_product_sku</code> to <code>ai_credits</code>.</li>\n<li><code>ProductPricing</code>: Covers all SKUs that belong to a product. Set <code>budget_product_sku</code> to a product such as <code>actions</code> or <code>packages</code>.</li>\n<li><code>SkuPricing</code>: Covers a single, specific SKU. Set <code>budget_product_sku</code> to a SKU such as <code>actions_linux</code>.</li>\n</ul>"
558558
},
559559
{
560560
"type": "string",
561561
"name": "budget_product_sku",
562562
"description": "<p>A single product or SKU that will be covered in the budget</p>"
563+
},
564+
{
565+
"type": "string",
566+
"name": "user",
567+
"description": "<p>The username of the user for <code>user</code> scope budgets. This field is required when <code>budget_scope</code> is <code>user</code>.</p>"
563568
}
564569
],
565570
"descriptionHTML": "<p>Creates a new budget for an organization. The authenticated user must be an\norganization admin or billing manager.</p>",
@@ -994,12 +999,17 @@
994999
{
9951000
"type": "string",
9961001
"name": "budget_type",
997-
"description": "<p>The type of pricing for the budget</p>"
1002+
"description": "<p>The type of pricing model used by the budget. Determines how <code>budget_product_sku</code> is interpreted.</p>\n<ul>\n<li><code>BundlePricing</code>: Covers all AI credit SKUs. Set <code>budget_product_sku</code> to <code>ai_credits</code>.</li>\n<li><code>ProductPricing</code>: Covers all SKUs that belong to a product. Set <code>budget_product_sku</code> to a product such as <code>actions</code> or <code>packages</code>.</li>\n<li><code>SkuPricing</code>: Covers a single, specific SKU. Set <code>budget_product_sku</code> to a SKU such as <code>actions_linux</code>.</li>\n</ul>"
9981003
},
9991004
{
10001005
"type": "string",
10011006
"name": "budget_product_sku",
10021007
"description": "<p>A single product or SKU that will be covered in the budget</p>"
1008+
},
1009+
{
1010+
"type": "string",
1011+
"name": "user",
1012+
"description": "<p>The username of the user for <code>user</code> scope budgets.</p>"
10031013
}
10041014
],
10051015
"descriptionHTML": "<p>Updates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.</p>",

src/rest/data/fpt-2026-03-10/orgs.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5591,8 +5591,11 @@
55915591
"status": "deployed",
55925592
"deployment_name": "deployment-pod",
55935593
"tags": {
5594-
"runtime-risk": "sensitive-data"
5595-
}
5594+
"owning-team": "platform"
5595+
},
5596+
"runtime_risks": [
5597+
"sensitive-data"
5598+
]
55965599
}
55975600
]
55985601
},

src/rest/data/ghec-2022-11-28/billing.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,13 +739,18 @@
739739
{
740740
"type": "string",
741741
"name": "budget_type",
742-
"description": "<p>The type of pricing for the budget</p>",
742+
"description": "<p>The type of pricing model used by the budget. Determines how <code>budget_product_sku</code> is interpreted.</p>\n<ul>\n<li><code>BundlePricing</code>: Covers all AI credit SKUs. Set <code>budget_product_sku</code> to <code>ai_credits</code>.</li>\n<li><code>ProductPricing</code>: Covers all SKUs that belong to a product. Set <code>budget_product_sku</code> to a product such as <code>actions</code> or <code>packages</code>.</li>\n<li><code>SkuPricing</code>: Covers a single, specific SKU. Set <code>budget_product_sku</code> to a SKU such as <code>actions_linux</code>.</li>\n</ul>",
743743
"isRequired": true
744744
},
745745
{
746746
"type": "string",
747747
"name": "budget_product_sku",
748748
"description": "<p>A single product or SKU that will be covered in the budget</p>"
749+
},
750+
{
751+
"type": "string",
752+
"name": "user",
753+
"description": "<p>The username of the user for <code>user</code> scope budgets. This field is required when <code>budget_scope</code> is <code>user</code>.</p>"
749754
}
750755
],
751756
"descriptionHTML": "<p>Creates a new budget for an enterprise. The authenticated user must be an enterprise admin, organization admin, or billing manager of the enterprise.</p>",
@@ -1172,12 +1177,17 @@
11721177
{
11731178
"type": "string",
11741179
"name": "budget_type",
1175-
"description": "<p>The type of pricing for the budget</p>"
1180+
"description": "<p>The type of pricing model used by the budget. Determines how <code>budget_product_sku</code> is interpreted.</p>\n<ul>\n<li><code>BundlePricing</code>: Covers all AI credit SKUs. Set <code>budget_product_sku</code> to <code>ai_credits</code>.</li>\n<li><code>ProductPricing</code>: Covers all SKUs that belong to a product. Set <code>budget_product_sku</code> to a product such as <code>actions</code> or <code>packages</code>.</li>\n<li><code>SkuPricing</code>: Covers a single, specific SKU. Set <code>budget_product_sku</code> to a SKU such as <code>actions_linux</code>.</li>\n</ul>"
11761181
},
11771182
{
11781183
"type": "string",
11791184
"name": "budget_product_sku",
11801185
"description": "<p>A single product or SKU that will be covered in the budget</p>"
1186+
},
1187+
{
1188+
"type": "string",
1189+
"name": "user",
1190+
"description": "<p>The username of the user for <code>user</code> scope budgets.</p>"
11811191
}
11821192
],
11831193
"descriptionHTML": "<p>Updates an existing budget for an enterprise. The authenticated user must be an enterprise admin, organization admin, or billing manager of the enterprise.</p>",

src/rest/data/ghec-2022-11-28/orgs.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6235,8 +6235,11 @@
62356235
"status": "deployed",
62366236
"deployment_name": "deployment-pod",
62376237
"tags": {
6238-
"runtime-risk": "sensitive-data"
6239-
}
6238+
"owning-team": "platform"
6239+
},
6240+
"runtime_risks": [
6241+
"sensitive-data"
6242+
]
62406243
}
62416244
]
62426245
},

src/rest/data/ghec-2026-03-10/billing.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,13 +739,18 @@
739739
{
740740
"type": "string",
741741
"name": "budget_type",
742-
"description": "<p>The type of pricing for the budget</p>",
742+
"description": "<p>The type of pricing model used by the budget. Determines how <code>budget_product_sku</code> is interpreted.</p>\n<ul>\n<li><code>BundlePricing</code>: Covers all AI credit SKUs. Set <code>budget_product_sku</code> to <code>ai_credits</code>.</li>\n<li><code>ProductPricing</code>: Covers all SKUs that belong to a product. Set <code>budget_product_sku</code> to a product such as <code>actions</code> or <code>packages</code>.</li>\n<li><code>SkuPricing</code>: Covers a single, specific SKU. Set <code>budget_product_sku</code> to a SKU such as <code>actions_linux</code>.</li>\n</ul>",
743743
"isRequired": true
744744
},
745745
{
746746
"type": "string",
747747
"name": "budget_product_sku",
748748
"description": "<p>A single product or SKU that will be covered in the budget</p>"
749+
},
750+
{
751+
"type": "string",
752+
"name": "user",
753+
"description": "<p>The username of the user for <code>user</code> scope budgets. This field is required when <code>budget_scope</code> is <code>user</code>.</p>"
749754
}
750755
],
751756
"descriptionHTML": "<p>Creates a new budget for an enterprise. The authenticated user must be an enterprise admin, organization admin, or billing manager of the enterprise.</p>",
@@ -1172,12 +1177,17 @@
11721177
{
11731178
"type": "string",
11741179
"name": "budget_type",
1175-
"description": "<p>The type of pricing for the budget</p>"
1180+
"description": "<p>The type of pricing model used by the budget. Determines how <code>budget_product_sku</code> is interpreted.</p>\n<ul>\n<li><code>BundlePricing</code>: Covers all AI credit SKUs. Set <code>budget_product_sku</code> to <code>ai_credits</code>.</li>\n<li><code>ProductPricing</code>: Covers all SKUs that belong to a product. Set <code>budget_product_sku</code> to a product such as <code>actions</code> or <code>packages</code>.</li>\n<li><code>SkuPricing</code>: Covers a single, specific SKU. Set <code>budget_product_sku</code> to a SKU such as <code>actions_linux</code>.</li>\n</ul>"
11761181
},
11771182
{
11781183
"type": "string",
11791184
"name": "budget_product_sku",
11801185
"description": "<p>A single product or SKU that will be covered in the budget</p>"
1186+
},
1187+
{
1188+
"type": "string",
1189+
"name": "user",
1190+
"description": "<p>The username of the user for <code>user</code> scope budgets.</p>"
11811191
}
11821192
],
11831193
"descriptionHTML": "<p>Updates an existing budget for an enterprise. The authenticated user must be an enterprise admin, organization admin, or billing manager of the enterprise.</p>",

src/rest/data/ghec-2026-03-10/orgs.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6221,8 +6221,11 @@
62216221
"status": "deployed",
62226222
"deployment_name": "deployment-pod",
62236223
"tags": {
6224-
"runtime-risk": "sensitive-data"
6225-
}
6224+
"owning-team": "platform"
6225+
},
6226+
"runtime_risks": [
6227+
"sensitive-data"
6228+
]
62266229
}
62276230
]
62286231
},

src/rest/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@
4747
]
4848
}
4949
},
50-
"sha": "7a0a14cf24805c7efd23fef351bfab80391ec8fb"
50+
"sha": "5dc466be95bd7fefb4103d2455e47dee38365248"
5151
}

0 commit comments

Comments
 (0)