Skip to content

Commit 04f86d1

Browse files
fix: remove incorrect ?{page,per_page} parameters (#72)
Co-authored-by: Octokit Bot <33075676+octokitbot@users.noreply.github.com>
1 parent a653ed8 commit 04f86d1

File tree

7 files changed

+43
-155
lines changed

7 files changed

+43
-155
lines changed

docs/orgs/list.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ octokit.orgs.list();
2323

2424
The integer ID of the last organization that you've seen.
2525

26-
</td></tr>
27-
<tr><td>per_page</td><td>no</td><td>
28-
29-
Results per page (max 100)
30-
31-
</td></tr>
32-
<tr><td>page</td><td>no</td><td>
33-
34-
Page number of the results to fetch.
35-
3626
</td></tr>
3727
</tbody>
3828
</table>

docs/repos/listPublic.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ octokit.repos.listPublic();
2323

2424
The integer ID of the last repository that you've seen.
2525

26-
</td></tr>
27-
<tr><td>per_page</td><td>no</td><td>
28-
29-
Results per page (max 100)
30-
31-
</td></tr>
32-
<tr><td>page</td><td>no</td><td>
33-
34-
Page number of the results to fetch.
35-
3626
</td></tr>
3727
</tbody>
3828
</table>

docs/users/list.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ octokit.users.list();
2323

2424
The integer ID of the last User that you've seen.
2525

26-
</td></tr>
27-
<tr><td>per_page</td><td>no</td><td>
28-
29-
Results per page (max 100)
30-
31-
</td></tr>
32-
<tr><td>page</td><td>no</td><td>
33-
34-
Page number of the results to fetch.
35-
3626
</td></tr>
3727
</tbody>
3828
</table>

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"author": "Gregor Martynus (https://twitter.com/gr2m)",
2525
"license": "MIT",
2626
"dependencies": {
27-
"@octokit/types": "^2.11.1",
27+
"@octokit/types": "^2.12.1",
2828
"deprecation": "^2.3.1"
2929
},
3030
"devDependencies": {

scripts/update-endpoints/generated/endpoints.json

Lines changed: 38 additions & 116 deletions
Large diffs are not rendered by default.

src/generated/method-types.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { EndpointInterface, RequestInterface } from "@octokit/types";
2-
import { RestEndpointMethodTypes } from "./method-types";
2+
import { RestEndpointMethodTypes } from "./parameters-and-response-types";
33

44
export type RestEndpointMethods = {
55
actions: {
@@ -45,8 +45,6 @@ export type RestEndpointMethods = {
4545
* Returns a token that you can pass to the `config` script. The token expires after one hour. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration:write` repository permission to use this endpoint.
4646
*
4747
* Configure your self-hosted runner, replacing TOKEN with the registration token provided by this endpoint.
48-
*
49-
*
5048
* @deprecated octokit.actions.createRegistrationToken() has been renamed to octokit.actions.createRegistrationTokenForRepo() (2020-04-22)
5149
*/
5250
createRegistrationToken: {
@@ -92,8 +90,6 @@ export type RestEndpointMethods = {
9290
* Returns a token that you can pass to remove a self-hosted runner from a repository. The token expires after one hour. Anyone with admin access to the repository can use this endpoint. GitHub Apps must have the `administration:write` repository permission to use this endpoint.
9391
*
9492
* Remove your self-hosted runner from a repository, replacing TOKEN with the remove token provided by this endpoint.
95-
*
96-
*
9793
* @deprecated octokit.actions.createRemoveToken() has been renamed to octokit.actions.createRemoveTokenForRepo() (2020-04-22)
9894
*/
9995
createRemoveToken: {

0 commit comments

Comments
 (0)