This is the repo I got from the repo list api (/api/user/repos), the namespace and name is listed,
{
"id": 24,
"uid": "19",
"user_id": 1,
"namespace": "tfr",
"name": "tfr-server",
"slug": "tfr/tfr-server",
"scm": "",
"git_http_url": "https://xxx/tfr/tfr-server.git",
"git_ssh_url": "git@xxx:tfr/tfr-server.git",
"link": "",
"default_branch": "master",
"private": false,
"visibility": "private",
"active": true,
"config_path": ".drone.yml",
"trusted": false,
"protected": false,
"ignore_forks": false,
"ignore_pull_requests": false,
"auto_cancel_pull_requests": false,
"auto_cancel_pushes": false,
"timeout": 60,
"counter": 7,
"synced": 1588996478,
"created": 1588996478,
"updated": 1588996478,
"version": 12
},
but when I want to manually build the repo via Build create api
My build request url, Authorization header is been set
https://xxx/api/repos/tfr/tfr-server/builds
Response was like
{
"message": "Not Found"
}
Is this caues by url named params not match? or any other idea how to use the build create api