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.

98 lines
2.2 KiB

@tall = https://www.tall.wiki/gateway/tall/v1.0
@tall_ht = https://sd.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 {{tall_ht}}/users/signin
POST https://test.tall.wiki/gateway/tall-ht/v1.0/users/signin
{{type}}
{
"client": 1,
"data": {
"credential": "123456",
"identifier": "doctorli"
},
"scene": 0,
"type": 3
}
### POST
POST {{localhost}}/projects/1205016950191820800/tasks
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"endTime": 1623945599999,
"id": "1205016950191820800",
"imitation": 0,
"page": 1,
"priority": 0,
"process": 0,
"roleId": "1205016953639538688",
"startTime": 1623859200000
}
### get
GET {{localhost}}/projects/1205016950191820800/tasks?roleId=1205016953639538688&page=-1&startTime=1623859200000&endTime=1623945599999&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":"1205016959893245952",
"patientId":"1405333385794162688"
}
###
POST {{tall_ht}}/tasks
{{type}}
Authorization: Bearer {{login.response.body.$.data.token}}
{
"projectId":"1205016950191820800",
"parentTaskId":1205016959608033280,
"taskName":"",
"description":"",
"executorId":1205016953639538688,
"beginTime":"1609430300003",
"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}}