openapi: 3.0.0
info:
description: 'This is the Ceramic API for working with streams and events
'
version: 0.58.0
title: Ceramic Config Version API
license:
name: MIT
url: https://mit-license.org/
servers:
- url: /ceramic
tags:
- name: Version
paths:
/version:
options:
summary: cors
responses:
'200':
description: cors
tags:
- Version
get:
summary: Get the version of the Ceramic node
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Version'
description: success
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
tags:
- Version
post:
summary: Get the version of the Ceramic node
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Version'
description: success
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
tags:
- Version
components:
schemas:
Version:
description: Version of the Ceramic node in semver format, e.g. 2.1.0
properties:
version:
type: string
description: Version of the Ceramic node
ErrorResponse:
title: Error response
description: Error response
type: object
required:
- message
properties:
message:
type: string
description: Error message