Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
octokit.rest.packages.listPackagesForUser
uses correct route (…
…`GET /user/{username}/packages` -> `GET /users/{username}/packages`) (#454)
- Loading branch information
1 parent
2e41527
commit f94bb13
Showing
11 changed files
with
245 additions
and
117 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Disable Git LFS for a repository | ||
example: octokit.rest.repos.disableLfsForRepo({ owner, repo }) | ||
route: DELETE /repos/{owner}/{repo}/lfs | ||
scope: repos | ||
type: API method | ||
--- | ||
|
||
# Disable Git LFS for a repository | ||
|
||
**Note:** The Git LFS API endpoints are currently in beta and are subject to change. | ||
|
||
```js | ||
octokit.rest.repos.disableLfsForRepo({ | ||
owner, | ||
repo, | ||
}); | ||
``` | ||
|
||
## Parameters | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>name</th> | ||
<th>required</th> | ||
<th>description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr><td>owner</td><td>yes</td><td> | ||
|
||
</td></tr> | ||
<tr><td>repo</td><td>yes</td><td> | ||
|
||
</td></tr> | ||
</tbody> | ||
</table> | ||
|
||
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
name: Enable Git LFS for a repository | ||
example: octokit.rest.repos.enableLfsForRepo({ owner, repo }) | ||
route: PUT /repos/{owner}/{repo}/lfs | ||
scope: repos | ||
type: API method | ||
--- | ||
|
||
# Enable Git LFS for a repository | ||
|
||
**Note:** The Git LFS API endpoints are currently in beta and are subject to change. | ||
|
||
```js | ||
octokit.rest.repos.enableLfsForRepo({ | ||
owner, | ||
repo, | ||
}); | ||
``` | ||
|
||
## Parameters | ||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>name</th> | ||
<th>required</th> | ||
<th>description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr><td>owner</td><td>yes</td><td> | ||
|
||
</td></tr> | ||
<tr><td>repo</td><td>yes</td><td> | ||
|
||
</td></tr> | ||
</tbody> | ||
</table> | ||
|
||
See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.