questiondetail_api.yml
897 字节
name: 查看提问详情:/v2/question/details
base_url: ${ENV(base_url)}
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $access_token)}
teardown_hooks:
- ${teardown_hook_get_serialNo($response)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '0'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 0.12.0
json:
# commentLastId: 0
# commentPageSize: 20
qid: $qid
method: POST
url: /v2/question/details
validate:
- eq:
- content.code
- 0
- eq:
- content.msg
- 获取问题详情成功