# 获取配置信息

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/namespaces/{namespace}/configs/{configId}:
    get:
      summary: 获取配置信息
      deprecated: false
      description: ''
      operationId: getConfig
      tags:
        - 配置中心
        - config-controller
      parameters:
        - name: namespace
          in: path
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: configId
          in: path
          description: ''
          required: true
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Config'
          headers: {}
          x-apifox-name: OK
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          headers: {}
          x-apifox-name: Bad Request
      security:
        - bearer: []
      x-apifox-folder: 配置中心
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/3525375/apis/api-121737364-run
components:
  schemas:
    Config:
      required:
        - data
        - hash
        - createTime
        - version
        - configId
      type: object
      properties:
        data:
          type: string
        hash:
          type: string
        createTime:
          type: integer
          format: int64
        version:
          type: integer
          format: int32
        configId:
          type: string
      x-apifox-orders:
        - data
        - hash
        - createTime
        - version
        - configId
      x--orders:
        - data
        - hash
        - createTime
        - version
        - configId
      x--ignore-properties: []
      x-apifox-folder: ''
    ErrorResponse:
      required:
        - code
        - msg
      type: object
      properties:
        code:
          type: string
        msg:
          type: string
      x-apifox-orders:
        - code
        - msg
      x--orders:
        - code
        - msg
      x--ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: http://dev-cn.your-api-server.com
    description: 开发环境
security:
  - bearer: []

```
