Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
harupiyo edited this pageJan 2, 2021 ·48 revisions

The GitBucket api/webhook is designed for compatibility withGitHub's implementation.

The API endpoints are reachable under:http(s)://yourgitbucket/api/v3

GitBucket does not fully implement the GitHub API/webhook and respects only a subset of parameters. If you find some behavior different from GitHub, it can be a GitBucket bug or a feature not yet implemented :).

Authentication

API

Example

With a default local installation, having created a token for theroot user, calling

curl -H "Authorization: token 6b690aa9e528c54835619b2cb717f61035e9a013" http://localhost:8080/api/v3/user

answers

{"login":"root","email":"root@localhost","type":"User","site_admin":true,"created_at":"2016-04-01T13:27:12Z","url":"http://localhost:8080/api/v3/users/root","html_url":"http://localhost:8080/root"}

WebHook Events

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp