Authorization: Bearer <token>
key |
类型 |
说明 |
备注 |
_id |
string |
工程 ID |
|
bundle_id |
string |
是 |
应用标识符 |
name |
string |
工程名称 |
|
introduction |
string |
工程介绍 |
|
members |
member array |
工程成员列表 |
详细说明 |
[
{
"_id": "FDSF32423",
"bundle_id": "com.greedlab.greedpatch",
"name": "project name",
"Introduction": "project Introduction",
"members": [
]
}
]
状态码 |
说明 |
备注 |
401 |
token 失效 |
|
403 |
无权限访问工程 |
|
500 |
服务器内部错误 |
|
curl -H "Accept: application/vnd.greedlab+json" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE0NzIxNzkzOTI4MTgsImV4cCI6MTQ3NDc3MTM5MjgxOCwiaWQiOiI1N2JmYTljZDUwMWMzOTE5YTI1YTdkNGMiLCJzY29wZSI6ImRlZmF1bHQifQ.z1Mm55-ItrO2KZj3Fakvt22JNmqjf2jBMeP-UVA2i7M" -X GET localhost:4002/projects