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.

96 lines
2.1 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
@localhost_tall_ht = http://localhost:7031/v1.0
@type = content-type: application/json;charset=utf-8
### login
# @name login
POST {{test}}/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "zy11"
},
"scene": 0,
"type": 3
}
### POST
POST {{localhost}}/projects/1386946484263587840/tasks
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"endTime": 1576836000000,
"id": "1386946484263587840",
"imitation": 0,
"page": 1,
"priority": 0,
"process": 0,
"roleId": "1386946485492518912",
"startTime": 1570496400000
}
### get
GET {{localhost}}/projects/1205016950191820800/tasks?roleId=1205016953639538688&page=-1&startTime=1619539200000&endTime=1619625599999&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":"1205016959306043392",
"beginTime":"1574125200000",
"endTime":"1767110400000",
"cycle":""
}
###
POST {{test}}/tasks
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"projectId":"1205016950191820800",
"parentTaskId":1205016959608033280,
"taskName":"CDR",
"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}}