Polkadot version API

API version

OpenAPI Specification

polkadot-version-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Polkadot REST Account version API
  description: High-performance Rust REST API for Substrate/Polkadot blockchain data. Drop-in replacement for substrate-api-sidecar.
  contact:
    url: https://github.com/paritytech/polkadot-rest-api
  license:
    name: GPL-3.0-or-later
  version: 0.1.3
servers:
- url: http://localhost:8080/v1
  description: Localhost
tags:
- name: version
  description: API version
paths:
  /v1/version:
    get:
      tags:
      - version
      summary: API version
      description: Returns the current version of the Polkadot REST API.
      operationId: get_version
      responses:
        '200':
          description: API version
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionResponse'
components:
  schemas:
    VersionResponse:
      type: object
      required:
      - version
      properties:
        version:
          type: string