Request Headers

Key Value
Apitoken {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"}
Content-Type application/json
X-Forwarded-For

Request Body

{"resume": "i'm descript"}

Response Code

400

Response Headers

Key Value
Access-Control-Allow-Headers Content-Type,Token,Apitoken
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8

Response Body

{"error":"Key: 'APICreateTeamInput.Name' Error:Field validation for 'Name' failed on the 'required' tag"}

Request Headers

Key Value
Apitoken {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"}
Content-Type application/json
X-Forwarded-For

Request Body

{"team_name": "ateamname","resume": "i'm descript", "users": [1]}

Response Code

200

Response Headers

Key Value
Access-Control-Allow-Headers Content-Type,Token,Apitoken
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8

Response Body

{"message":"team created! Afftect row: 1, Affect refer: 1"}

Request Headers

Key Value
Apitoken {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"}
X-Forwarded-For

URL Params

Key Value
q .+

Response Code

200

Response Headers

Key Value
Access-Control-Allow-Headers Content-Type,Token,Apitoken
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8

Response Body

[{"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}]

Request Headers

Key Value
Apitoken {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"}
X-Forwarded-For

URL Params

Key Value
q ateamname

Response Code

200

Response Headers

Key Value
Access-Control-Allow-Headers Content-Type,Token,Apitoken
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8

Response Body

[{"id":107,"name":"ateamname","resume":"i'm descript","creator":1}]

Request Headers

Key Value
Apitoken {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"}
Content-Type application/json
X-Forwarded-For

Request Body

{"team_id": 107, "resume": "i'm descript update", "users": [4,5,6,7]}

Response Code

200

Response Headers

Key Value
Access-Control-Allow-Headers Content-Type,Token,Apitoken
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8

Response Body

{"message":"team updated!"}

Request Headers

Key Value
Apitoken {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"}
X-Forwarded-For

Response Code

200

Response Headers

Key Value
Access-Control-Allow-Headers Content-Type,Token,Apitoken
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8

Response Body

{"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}]}

Request Headers

Key Value
Apitoken {"name": "root", "sig": "dd81ea033c2d11e6a95d0242ac11000c"}
X-Forwarded-For

Response Code

200

Response Headers

Key Value
Access-Control-Allow-Headers Content-Type,Token,Apitoken
Access-Control-Allow-Origin *
Content-Type application/json; charset=utf-8

Response Body

{"message":"team 107 is deleted. Affect row: 1 / refer delete: 4"}