1
0
mirror of synced 2026-01-08 12:01:53 -05:00
Commit Graph

99 Commits

Author SHA1 Message Date
Sarah Edwards
3dcef750f0 version previews (#26571) 2022-03-31 16:42:04 +00:00
Gijs van Dam
6947c0964c Add -I parameter to curl command
When checking the rate limit while using your app's client ID and secret, you need to supply the `-I` argument to show the header of the response, containing `x-ratelimit-limit` and `x-ratelimit-remaining`
2022-03-25 11:35:59 +08:00
Lucas Costi
cfba19d927 Add cache section for Actions REST API (#24924)
* Add cache section for Actions REST API

* Add permissions entries, cache section

* Add new cache directory after REST reactify changes

* Update content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md

Co-authored-by: Martin Lopes <martin389@github.com>

* Add versioning for GHES/AE

Co-authored-by: Martin Lopes <martin389@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
2022-03-16 10:37:19 +00:00
Robert Sese
79c48070c4 Deprecate 3.0 (#25646)
* Deprecate 3.0

* 3.0 deprecation: remove 3.0 markup (#25647)

* Remove liquid conditionals and content for 3.0 deprecation

* Remove manually, no longer versioned in a supported version

* Remove translations manually, no longer versioned in a supported version

* Remove 'if', now in all supported versions

* Remove dangling 'elseif', now in all supported versions

* Remove dangling 'elseif' and 3.0 screenshot reference, now in all supported versions

* Nudge to latest supported GHES version

* Nudge to latest supported release GHES version

* Bump all the version for the liquid tests

* Bump first deprecated version for linting tests

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Prefer double quotes

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove extra newline

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* One reusable per line

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Stray whitespace ✂️

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Version check not needed anymore

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Just 'ghes' since we're deprecating 3.0

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Don't depend on hardcoded versions

Co-authored-by: Laura Coursen <lecoursen@github.com>

* Remove static files for 3.0 deprecation (#25649)

Co-authored-by: Laura Coursen <lecoursen@github.com>
2022-03-03 13:08:24 -06:00
Peter Bengtsson
693fb35bc6 links on /rest/overview/endpoints (#25771)
* links on /rest/overview/endpoints-available-for-github-apps

* tests

* remove unused code
2022-03-03 17:45:37 +00:00
Rachael Sewell
2ade7d8489 reactify rest pages (#25005) 2022-02-28 18:30:54 +00:00
alpn
74e6dc4514 Set all x-ratelimit-* header names to loweracse
Currently x-ratelimit-* headers are in CamelCase (in the docs), but in practice the API returns them in lower case.
Although HTTP header names are (not case sensitive)[https://www.w3.org/Protocols/rfc2616/rfc2616.html],  this could still be confusing for some, therefor I propose to change it.
2022-02-01 08:32:02 -06:00
Matt Pollard
5af07647ef Centralize, update, and restructure some information about rate limits for REST API requests (#23685) 2022-01-25 15:04:24 +00:00
Peter Bengtsson
825e41ac61 cleaning up trailing slash redirects (part 10 (last one)) (#23818) 2021-12-17 13:48:46 +01:00
Rachael Sewell
daafb8cb9d break up large rest pages (#23652) 2021-12-14 20:39:25 +00:00
Sarah Edwards
52893a6bce Sunset content attachments (#23285) 2021-12-03 00:28:55 +00:00
Yoann Chaudet
172e3796da Add back preview headers for Pages APIs in GHAE (#22270) 2021-11-22 20:23:31 +00:00
Ramya Parimi
04cd2ddfdf Merge branch 'main' into 10839-fix-link 2021-11-03 03:56:57 -05:00
Steve Guntrip
717da87149 Update content/rest/overview/other-authentication-methods.md 2021-10-25 13:21:56 +01:00
Steve Guntrip
27eff65e5c Merge branch 'main' into 10839-fix-link 2021-10-25 12:44:03 +01:00
Kevin Heis
3b092b4cb8 Deprecate 2.22 b (#22366)
* Update enterprise-server-releases.js

* Run deprecation script

* Remove finding / managing security vulnerabilities

* remove vuln from translations

* remove more dead pages

* Restore heavily used files

* Remove 2.22 refs in tests

* Update working-with-the-npm-registry.md
2021-10-22 13:23:16 -07:00
Sarah Edwards
73e3647779 Graduate cloak, baptiste, zzzax, mercy previews (#22182) 2021-10-16 00:00:03 +00:00
Ivan Žužak
b797375c33 Mention that API timestamps are in UTC time (#22082)
* Mention that API timestamps are in UTC time

* Update content/rest/overview/resources-in-the-rest-api.md

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2021-10-15 22:42:57 +00:00
Laura Coursen
8f964ea2cb GHEC version (#20947)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-15 15:41:33 -05:00
Tanner
7cc98c6aa3 Update link for oauth-auth 2021-10-08 14:28:29 -07:00
Jo
caa3eb0f52 Update troubleshooting.md (#21901)
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
2021-10-07 07:50:32 +00:00
Lucas Costi
1a694d9e06 Graduate pages_toggle (switcheroo) API preview (#21882) 2021-10-06 00:03:27 +00:00
Sarah Edwards
013ca6a20c Graduate previews: flash, ant-man, squirrel-girl, mockingbird, lydian, surtur, nebula (#21835)
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2021-10-04 22:06:43 +00:00
Sarah Edwards
9f81677dfc version scarlet witch preview for ghes < 3.3 only (#21608) 2021-09-29 23:16:27 +00:00
Sarah Edwards
426ddcd509 version luke cage preview (#21759) 2021-09-28 14:47:29 +00:00
Sarah Edwards
42ae11b318 delete dorian preview (#21629) 2021-09-28 14:16:14 +00:00
Lucas Costi
625a556202 Graduate migrations, projects, security fix API previews (#21704) 2021-09-27 01:14:50 +00:00
Sarah Edwards
7f9a1b55f1 version starfox preview for <3.3 only (#21627) 2021-09-22 20:11:36 +00:00
Sarah Edwards
8d75e5edde version groot preview for <3.3 only (#21628) 2021-09-22 20:06:20 +00:00
Steve Guntrip
3c8149e217 New article on expiring tokens (#21285)
Co-authored-by: Jules Parker <19994093+jules-p@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2021-09-10 08:50:31 +00:00
Rachael Sewell
7398c30364 remove 2.21 markup (#20954) 2021-08-19 18:18:00 +00:00
Keith McHugh
5bbd485bb3 Don't use the word 'abuse' when notifying customers that they hit a rate limit (#20635)
* Don't use the word 'abuse' when notifying customers that they hit a rate limit

* Remove screenshot for now

* New (unmasked) versions of screenshots

Uploading these screenshots first, so that I can mask them
and then upload the final versions.

* Add masked version of s/shots

* Add GHES versioning around GHES UI

* Match ALT text with UI

* Add deleted file back from main

* Duplicate image file in new GHES version paths

Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: Jessica Canepa <jmarlena@github.com>
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
2021-08-04 17:46:09 -07:00
rob-baldwin
3e4320ac16 Updated RFC links 2021-08-03 11:00:35 +10:00
Grace Park
48f97187d1 update tables for crowdin (#20531) 2021-07-28 14:29:11 -07:00
Laura Coursen
690914e815 Remove library that no longer exists (#20379) 2021-07-20 07:54:18 +00:00
Paul DelRe
feed6f4279 Remove yiiext/github-api (#7695) 2021-06-28 21:01:54 +00:00
Rachael Sewell
52cf583bdd add short titles to frontmatter (#20131) 2021-06-24 11:02:53 -07:00
Sarah Schneider
cb12455649 ran script/content-migrations/use-short-versions.js 2021-06-24 10:21:07 -04:00
Sarah Schneider
8d3375d75c remove deprecated content 2021-06-15 13:39:19 -04:00
Grace Park
6f7e4f50dc updating content files 2021-06-14 12:06:52 -07:00
Sarah Schneider
083002e829 fix liquid version conditionals 2021-06-10 17:26:14 -04:00
Graham Campbell
737d485c7a Removed broken/low quality/dead/archived PHP libraries 2021-05-23 11:55:25 +01:00
Sarah Schneider
f7e848e0c4 ran script/content-migrations/remove-map-topics.js && script/content-migrations/update-tocs.js 2021-05-19 10:12:38 -04:00
Gregor Martynus
4b8cbf923b Libraries: replace octokit/rest.js with octokit/octokit.js
https://github.com/octokit/octokit.js/ is the new all-batteries included JavaScript SDK for GitHub. https://github.com/octokit/rest.js continues to exist, but mostly for legacy reasons.
2021-05-12 13:08:36 -07:00
Lucas Alves
df1ae6420c Updates REST API examples to HTTP/2 (#6002) 2021-05-06 21:30:50 +00:00
Rachael Sewell
a926da8b08 Update topics to sentence case (#19069) 2021-04-30 19:30:36 -07:00
Dirkjan Bussink
eb875d212e Remove the non standard Status header from example responses (#5791) 2021-04-29 10:50:01 -07:00
Rachael Sewell
b1b8cb8e84 add topic frontmatter to articles (#18245) 2021-03-17 12:31:29 -07:00
Sascha Mann
9daf441520 Update repo of Julia library (#4408)
The library has been moved to the `JuliaWeb` org. The previous link redirected to the new location.

Co-authored-by: Lee Dohm <1038121+lee-dohm@users.noreply.github.com>
2021-03-09 19:21:44 +00:00
Janice
f142238284 Merge branch 'main' into patch-1 2021-03-05 16:54:58 -07:00