# 获取Token

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /openAPI/token:
    get:
      summary: 获取Token
      deprecated: false
      description: 获取Token
      tags:
        - 系统操作
      parameters:
        - name: Authorization
          in: header
          description: Basic SecretID:SecretKey
          required: false
          example: ''
          schema:
            type: string
        - name: SecretID
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - name: SecretKey
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  data:
                    type: object
                    properties:
                      token:
                        type: string
                    required:
                      - token
                    x-apifox-orders:
                      - token
                  msg:
                    type: string
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - data
                  - msg
              example:
                code: 200
                data:
                  token: 20K86nfDiOy0DVQ87bfuMnhpw7JBkMqKh
                msg: success
          headers: {}
          x-apifox-name: 成功
        x-200:Internal Server Error:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: 状态码
                  data:
                    type: 'null'
                    description: 数据
                  msg:
                    type: string
                    description: 信息
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - data
                  - msg
              example:
                code: 500
                data: null
                msg: internal server error
          headers: {}
          x-apifox-name: Internal Server Error
        x-200:Permission Denied:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: 状态码
                  data:
                    type: 'null'
                    description: 数据
                  msg:
                    type: string
                    description: 信息
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - data
                  - msg
              example:
                code: 801
                data: null
                msg: permission denied
          headers: {}
          x-apifox-name: Permission Denied
        x-200:Too Many Requests:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: 状态码
                  data:
                    type: 'null'
                    description: 数据
                  msg:
                    type: string
                    description: 信息
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - data
                  - msg
              example:
                code: 429
                data: null
                msg: too many requests
          headers: {}
          x-apifox-name: Too Many Requests
        x-200:No Package Available:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: 状态码
                  data:
                    type: 'null'
                    description: 数据
                  msg:
                    type: string
                    description: 信息
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - data
                  - msg
              example:
                code: 802
                data: null
                msg: no package available
          headers: {}
          x-apifox-name: No Package Available
        x-200:Application Not Found:
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    description: 状态码
                  data:
                    type: 'null'
                    description: 数据
                  msg:
                    type: string
                    description: 信息
                required:
                  - code
                  - data
                  - msg
                x-apifox-orders:
                  - code
                  - data
                  - msg
              example:
                code: 803
                data: null
                msg: application not found
          headers: {}
          x-apifox-name: Application Not Found
      security: []
      x-apifox-folder: 系统操作
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6547178/apis/api-366785585-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.gh.ink/v3
    description: 正式环境
security: []

```
