You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.7 KiB

@tall = https://www.tall.wiki/gateway/tall/v1.0
@test = https://test.tall.wiki/gateway/tall/v1.0
@localhost = http://localhost:7030/v1.0
@type = content-type: application/json;charset=utf-8
### login
# @name login
POST {{test}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "whj"
},
"scene": 0,
"type": 3
}
### get
GET {{localhost}}/v1.0/projects/1205016950191820800/tasks?roleId=1205016953639538688&page=-1&process=0
# GET http://192.168.31.13/gateway/tall-ht/v1.0/projects/1205016950191820800/tasks?roleId=1205016953639538688&page=-1&process=0
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
###
POST {{test}}/tasks/change
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"id":"1205016960845352960",
"beginTime":"1609430300021",
"endTime":"1672329600000",
"cycle":""
}
###
POST {{test}}/tasks
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"projectId":"1205016950191820800",
"parentTaskId":1205016959608033280,
"taskName":"",
"description":"",
"executorId":1205016953639538688,
"beginTime":"1609430400000",
"endTime":"1672329600000"
}
### id
POST {{localhost}}/projects/1267343073726304256/tasks
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"roleId":"1267343074305118209",
"startTime":1617638400000,
"endTime":1617724799999,
"imitation":-1
}
### id
GET {{localhost}}/tasks/key?projectId=1364782799835500544&key=
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}