123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- swagger: "2.0"
- info:
- title: Common API docs of GD.
- description: This is common API docs,any developer can test each API in the page.
- version: "1.0"
- license:
- name: Apache 2.0
- url: http://www.apache.org/licenses/LICENSE-2.0.html
- basePath: /api
- paths:
- /v1/query/{code}:
- get:
- tags:
- - v1
- description: 查询车辆相关信息
- operationId: CenterController.query vehicle info
- parameters:
- - in: header
- name: appkey
- description: appkey
- type: string
- - in: header
- name: token
- description: token
- type: string
- - in: header
- name: timestamp
- description: 时间戳
- type: string
- - in: header
- name: sign
- description: 签名
- type: string
- - in: path
- name: code
- description: code
- required: true
- type: string
- responses:
- "200":
- description: '"响应信息"'
- schema:
- $ref: '#/definitions/.CommonResponse'
- "500":
- description: 服务器错误
- /v1/service/{code}:
- get:
- tags:
- - v1
- description: 查询相关信息
- operationId: CenterController.query info
- parameters:
- - in: header
- name: appkey
- description: appkey
- type: string
- - in: header
- name: token
- description: token
- type: string
- - in: header
- name: timestamp
- description: 时间戳
- type: string
- - in: header
- name: sign
- description: 签名
- type: string
- - in: path
- name: code
- description: code
- required: true
- type: string
- responses:
- "200":
- description: '"响应信息"'
- schema:
- $ref: '#/definitions/.CommonResponse'
- "500":
- description: 服务器错误
- /v1/token:
- get:
- tags:
- - v1
- description: 获取token
- operationId: CenterController.query app login
- parameters:
- - in: query
- name: user
- description: 用户名
- required: true
- type: string
- - in: query
- name: password
- description: 密码
- required: true
- type: string
- responses:
- "200":
- description: '"响应信息"'
- schema:
- $ref: '#/definitions/.VehicleLoginResponse'
- "500":
- description: 服务器错误
- definitions:
- .CommonResponse:
- type: object
- .VehicleLoginResponse:
- type: object
- tags:
- - name: v1
- description: |
- Operations about vehicle
|