1+ openapi : ' 3.0.2'
2+ info :
3+ title : gitploy.
4+ version : ' 1.0'
5+ servers :
6+ - url : http://localhost/api/v1
7+ - url : https://gitploy.jp.ngrok.io/api/v1
8+ paths :
9+ /license :
10+ $ref : ' ./paths/license/index.yaml'
11+ /repos :
12+ $ref : ' ./paths/repos/index.yaml'
13+ /repos/{namespace}/{name} :
14+ $ref : ' ./paths/repos/repo.yaml'
15+ /repos/{namespace}/{name}/commits :
16+ $ref : ' ./paths/repos/commits.yaml'
17+ /repos/{namespace}/{name}/commits/{sha} :
18+ $ref : ' ./paths/repos/commit.yaml'
19+ /repos/{namespace}/{name}/commits/{sha}/statuses :
20+ $ref : ' ./paths/repos/commit_statuses.yaml'
21+ /repos/{namespace}/{name}/branches :
22+ $ref : ' ./paths/repos/branches.yaml'
23+ /repos/{namespace}/{name}/branches/{branch} :
24+ $ref : ' ./paths/repos/branch.yaml'
25+ /repos/{namespace}/{name}/tags :
26+ $ref : ' ./paths/repos/tags.yaml'
27+ /repos/{namespace}/{name}/tags/{tag} :
28+ $ref : ' ./paths/repos/tag.yaml'
29+ /repos/{namespace}/{name}/deployments :
30+ $ref : ' ./paths/repos/deployments.yaml'
31+ /repos/{namespace}/{name}/deployment :
32+ $ref : ' ./paths/repos/deployment.yaml'
33+ /repos/{namespace}/{name}/deployments/{number}/changes :
34+ $ref : ' ./paths/repos/deployment_changes.yaml'
35+ /repos/{namespace}/{name}/deployments/{number}/rollback :
36+ $ref : ' ./paths/repos/deployment_rollback.yaml'
37+ /repos/{namespace}/{name}/deployments/{number}/reviews :
38+ $ref : ' ./paths/repos/deployment_reviews.yaml'
39+ /repos/{namespace}/{name}/deployments/{number}/review :
40+ $ref : ' ./paths/repos/deployment_review.yaml'
41+ /repos/{namespace}/{name}/deployments/{number}/statuses :
42+ $ref : ' ./paths/repos/deployment_statuses.yaml'
43+ /repos/{namespace}/{name}/deployments/{number}/remote-statuses :
44+ $ref : ' ./paths/repos/deployment_statuses.yaml'
45+ /repos/{namespace}/{name}/locks :
46+ $ref : ' ./paths/repos/locks.yaml'
47+ /repos/{namespace}/{name}/locks/{lockId} :
48+ $ref : ' ./paths/repos/lock.yaml'
49+ /repos/{namespace}/{name}/perms :
50+ $ref : ' ./paths/repos/perms.yaml'
51+ /repos/{namespace}/{name}/config :
52+ $ref : ' ./paths/repos/config.yaml'
53+ /users :
54+ $ref : ' ./paths/users/index.yaml'
55+ /users/{id} :
56+ $ref : ' ./paths/users/user.yaml'
57+ /user :
58+ $ref : ' ./paths/users/me.yaml'
59+ /user/rate-limit :
60+ $ref : ' ./paths/users/ratelimit.yaml'
61+ /search/deployments :
62+ $ref : ' ./paths/search/deployments.yaml'
63+ /search/reviews :
64+ $ref : ' ./paths/search/deployments.yaml'
65+ /stream/events :
66+ $ref : ' ./paths/stream/events.yaml'
67+ /sync :
68+ $ref : ' ./paths/sync/index.yaml'
69+
70+ components :
71+ securitySchemes :
72+ BearerAuth :
73+ type : http
74+ scheme : bearer
75+ description : Hash key of user
76+ OAuth2 :
77+ type : oauth2
78+ flows :
79+ authorizationCode :
80+ authorizationUrl : https://github.com/oauth/authorize
81+ tokenUrl : https://github.com/oauth/token
82+ scopes :
83+ read : Grants read access
84+ write : Grants write access
85+ admin : Grants access to admin operations
0 commit comments