{"base_path":"/","components":null,"consumes":"","definitions":{"DsmData":{"properties":{"DsmId":{"description":"只有对接中国移动服务时的DSM标识,调用《中国移动NFV分布式块存储管理接口规范》指标订阅接口时的返回值","maxLength":512,"minLength":0,"type":"string"}}}},"description":null,"group_id":"a58bba086da947389167b8c3715f7155","host":"hcs.cn-north-4.myhuaweicloud.com","id":"5463aea3eeb142c3a0ef39481e8725b6","info_version":"v1","method":"post","name":"CreateToken","parameters":{},"paths":{"/rest/logaccessservice/v1/action/token":{"post":{"consumes":["application/json"],"description":"获取token信息","operationId":"CreateToken","parameters":[{"description":"获取token的账号名,内置用户必须为vdc_admin","in":"header","maxLength":255,"minLength":1,"name":"X-Auth-Username","required":true,"type":"string"},{"description":"上述用户对应的密码,vdc_admin密码可以通过账号一览表查询","in":"header","maxLength":512,"minLength":1,"name":"X-Auth-Password","required":true,"type":"string"},{"description":"对接系统标识参数","in":"body","name":"conditions","required":false,"schema":{"$ref":"#/definitions/DsmData"}}],"produces":["application/json"],"responses":{"201":{"description":"接口调用成功","examples":{"application/json":{"CallBackUris":[{"CallBackUri":"https://{endpoint}/dsmLog","UriType":"dsmLog"}],"ExpiresAt":"2016-05-30T01:00:00.000Z","IssuedAt":"2016-05-30T00:00:00.000Z","Token":"*******************************"}}},"401":{"description":"认证失败"},"403":{"description":"无权限"},"404":{"description":"rest接口未找到"},"500":{"description":"服务器内部错误"},"503":{"description":"服务不可用"},"504":{"description":"表示时间超时。"}},"summary":"获取token信息","tags":["统一日志"],"x-auth-mode":"NONE","x-filter":"ManageOne,openapi","x-opseverity":"Minor","x-plane":"OM","x-request-examples-1":{"DsmId":"81f1d9d0-ca13-4eea-a4ce-9bd89a50c9d1"},"x-request-examples-description-1":"","x-request-examples-url-1":"POST https://{endpoint}/rest/logaccessservice/v1/action/token","x-resource":"获取token信息息","x-support-sdk":"N"}}},"product_short":"ManageOneOCHCS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取token信息","tags":"统一日志","uri":null,"version":"2.0"}