hooks/list 请求的 HTTP 映射接口。Authorization: Bearer ********************{
"cwds": [
"example"
]
}curl --location '/v1/yousure/hooks/list' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"cwds": [
"example"
]
}'{
"result": {
"data": [
{
"cwd": "/workspace/project",
"errors": [
{
"message": "example",
"path": "/workspace/project"
}
],
"hooks": [
{
"command": "example",
"handlerType": "command",
"async": false
}
],
"warnings": [
"example"
]
}
]
}
}