1
0
mirror of synced 2025-12-25 02:17:36 -05:00

Delete "Resources in the REST API" and move content elsewhere (#47726)

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
Co-authored-by: Sarah Edwards <skedwards88@github.com>
This commit is contained in:
Jess Hosman
2023-12-13 17:23:17 -07:00
committed by GitHub
parent edb3cb7384
commit f7e2ad57ba
8 changed files with 202 additions and 201 deletions

View File

@@ -11,7 +11,7 @@
- /admin/enterprise-support/overview/about-github-premium-support-for-github-enterprise
# FPT versioning was removed as part of github/docs-content#5166
/rest/using-the-rest-api/resources-in-the-rest-api
/rest/using-the-rest-api/getting-started-with-the-rest-api
- /rest/overview/api-previews
/enterprise-server@latest/search-github/getting-started-with-searching-on-github/enabling-githubcom-repository-search-from-your-private-enterprise-environment
@@ -39,4 +39,4 @@
- /github-ae@latest/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning-for-a-repository
/billing/managing-your-github-billing-settings/redeeming-a-coupon
- /enterprise-cloud@latest/billing/managing-your-github-billing-settings/redeeming-a-coupon
- /enterprise-cloud@latest/billing/managing-your-github-billing-settings/redeeming-a-coupon

View File

@@ -22,7 +22,7 @@ describe('redirect exceptions', () => {
`/enterprise-server@${latest}`,
)}`
const { statusCode, headers } = await get(oldPath, { followRedirects: false })
expect(statusCode).toBe(302)
expect(statusCode, `Did not get a 302 from loading ${oldPath}`).toBe(302)
expect(headers.location).toBe(englishNewPath)
})
})