Skip to content

Commit 1b893a1

Browse files
docs-botsubatoigmondello
authored
Update OpenAPI Description (#58526)
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Co-authored-by: Greg Mondello <72952982+gmondello@users.noreply.github.com>
1 parent 2bd736c commit 1b893a1

Some content is hidden

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

46 files changed

+2207
-6770
lines changed

content/rest/billing/billing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ intro: Use the REST API to get billing information.
66
topics:
77
- API
88
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
9-
fpt: '*'
109
ghec: '*'
1110
ghes: '*'
1211
redirect_from:
1312
- /rest/reference/billing
13+
- /rest/enterprise-admin/billing
1414
autogenerated: rest
1515
---
1616

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
---
2-
title: Enhanced billing platform
3-
intro: Use the REST API to get billing usage information from the enhanced billing platform.
2+
title: Budgets
3+
intro: Use the REST API to get budget information.
44
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
55
fpt: '*'
66
ghec: '*'
77
topics:
88
- API
99
autogenerated: rest
10+
redirect_from:
11+
- /rest/billing/enhanced-billing
1012
allowTitleToDifferFromFilename: true
1113
---
1214

13-
{% data reusables.billing.usage-reports-api-limitation %}
14-
1515
<!-- Content after this section is automatically generated -->
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Cost centers
3+
intro: Use the REST API to get cost center information.
4+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
5+
ghec: '*'
6+
topics:
7+
- API
8+
autogenerated: rest
9+
allowTitleToDifferFromFilename: true
10+
---
11+
12+
<!-- Content after this section is automatically generated -->

content/rest/billing/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ versions:
1111
ghes: '*'
1212
children:
1313
- /billing
14-
- /enhanced-billing
14+
- /budgets
15+
- /cost-centers
16+
- /usage
1517
autogenerated: rest
1618
---
1719

content/rest/billing/usage.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Billing usage
3+
intro: Use the REST API to get billing usage information.
4+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
5+
fpt: '*'
6+
ghec: '*'
7+
topics:
8+
- API
9+
autogenerated: rest
10+
allowTitleToDifferFromFilename: true
11+
---
12+
13+
<!-- Content after this section is automatically generated -->

content/rest/enterprise-admin/billing.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

content/rest/enterprise-admin/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ children:
1616
- /admin-stats
1717
- /announcement
1818
- /audit-log
19-
- /billing
2019
- /bypass-requests
2120
- /code-security-and-analysis
2221
- /custom-properties
@@ -25,7 +24,7 @@ children:
2524
- /enterprises
2625
- /global-webhooks
2726
- /ldap
28-
- /license
27+
- /licensing
2928
- /manage-ghes
3029
- /management-console
3130
- /network-configurations

content/rest/enterprise-admin/license.md

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Licensing
3+
intro: Use the REST API to get licensing information.
4+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
5+
ghec: '*'
6+
ghes: '*'
7+
topics:
8+
- API
9+
autogenerated: rest
10+
redirect_from:
11+
- /rest/enterprise-admin/license
12+
allowTitleToDifferFromFilename: true
13+
---
14+
15+
<!-- Content after this section is automatically generated -->

src/fixtures/fixtures/rest-redirects.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@
417417
"/v3/enterprise-admin/admin_stats": "/en/enterprise-server/rest/enterprise-admin/admin-stats",
418418
"/v3/enterprise-admin/global_webhooks": "/en/enterprise-server/rest/enterprise-admin/global-webhooks",
419419
"/v3/enterprise-admin/ldap": "/en/enterprise-server/rest/enterprise-admin/ldap",
420-
"/v3/enterprise-admin/license": "/en/enterprise-server/rest/enterprise-admin/license",
420+
"/v3/enterprise-admin/license": "/en/enterprise-server/rest/enterprise-admin/licensing",
421421
"/v3/enterprise-admin/management_console": "/en/enterprise-server/rest/enterprise-admin/manage-ghes",
422422
"/v3/enterprise-admin/orgs": "/en/enterprise-server/rest/enterprise-admin/orgs",
423423
"/v3/enterprise-admin/pre_receive_environments": "/en/enterprise-server/rest/enterprise-admin/pre-receive-environments",

0 commit comments

Comments
 (0)