Production : /api/v1
Staging : /api/v1
Key | Value |
---|---|
Apitoken | {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"} |
Content-Type | application/json |
X-Forwarded-For |
{"resume": "i'm descript"}
400
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token,Apitoken |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"error":"Key: 'APICreateTeamInput.Name' Error:Field validation for 'Name' failed on the 'required' tag"}
Key | Value |
---|---|
Apitoken | {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"} |
Content-Type | application/json |
X-Forwarded-For |
{"team_name": "ateamname","resume": "i'm descript", "users": [1]}
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token,Apitoken |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"message":"team created! Afftect row: 1, Affect refer: 1"}
Key | Value |
---|---|
Apitoken | {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"} |
X-Forwarded-For |
Key | Value |
---|---|
q | .+ |
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token,Apitoken |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
[{"id":1,"name":"a","resume":"","creator":1},{"id":2,"name":"b","resume":"g","creator":1},{"id":4,"name":"testteam","resume":"i'm test","creator":15},{"id":5,"name":"atestteam","resume":"i'm test","creator":16},{"id":107,"name":"ateamname","resume":"i'm descript","creator":1}]
Key | Value |
---|---|
Apitoken | {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"} |
X-Forwarded-For |
Key | Value |
---|---|
q | ateamname |
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token,Apitoken |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
[{"id":107,"name":"ateamname","resume":"i'm descript","creator":1}]
Key | Value |
---|---|
Apitoken | {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"} |
Content-Type | application/json |
X-Forwarded-For |
{"team_id": 107, "resume": "i'm descript update", "users": [4,5,6,7]}
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token,Apitoken |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"message":"team updated!"}
Key | Value |
---|---|
Apitoken | {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"} |
X-Forwarded-For |
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token,Apitoken |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"id":107,"name":"ateamname","resume":"i'm descript","creator":1,"users":[{"id":4,"name":"test1","cnname":"翱鶚Test","email":"root123@cepave.com","phone":"99999999999","im":"44955834958","qq":"904394234239","role":0},{"id":5,"name":"don","cnname":"","email":"","phone":"","im":"","qq":"904394234239","role":0},{"id":6,"name":"masato","cnname":"","email":"","phone":"","im":"","qq":"904394234239","role":0},{"id":7,"name":"cepave1","cnname":"","email":"","phone":"","im":"","qq":"904394234239","role":0}]}
Key | Value |
---|---|
Apitoken | {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"} |
X-Forwarded-For |
200
Key | Value |
---|---|
Access-Control-Allow-Headers | Content-Type,Token,Apitoken |
Access-Control-Allow-Origin | * |
Content-Type | application/json; charset=utf-8 |
{"message":"team 107 is deleted. Affect row: 1 / refer delete: 4"}