wacli/example/.well-known/git.0ut0f.space/wacli.json

40 lines
1.1 KiB
JSON

{
"api": "https://git.0ut0f.space/swagger.v1.json",
"settings": {
"auth": {
"scheme": "bearer",
"tokenName": "AuthorizationHeaderToken"
},
"aliases": [
{
"alias": "issues",
"type": "path",
"content": "/repos/{owner}/{repo}/issues"
},
{
"alias": ["c","create"],
"type": "method",
"content": "POST"
},
{
"alias": ["d","delete"],
"type": "method",
"content": "DELETE"
},
{
"alias": "tea",
"type": "bin",
"content": "tea"
}
]
},
"bin": {
"linux": [{"x86": "https://dl.gitea.com/tea/main/tea-main-linux-amd64.xz"}],
"windows": [{"x86": "https://dl.gitea.com/tea/main/tea-main-windows-amd64.xz"}],
"darwin": [
{"arm64": "https://dl.gitea.com/tea/main/tea-main-darwin-arm64"},
{"x86": "https://dl.gitea.com/tea/main/tea-main-darwin-amd64.xz"}
]
}
}