openapi: 3.0.0 info: description: 'This is the Ceramic API for working with streams and events ' version: 0.58.0 title: Ceramic Config Streams API license: name: MIT url: https://mit-license.org/ servers: - url: /ceramic tags: - name: Streams paths: /streams/{stream_id}: options: summary: cors parameters: - name: stream_id in: path required: true description: Multibase encoded stream ID schema: type: string responses: '200': description: cors tags: - Streams get: summary: Get stream state parameters: - name: stream_id in: path description: Multibase encoded stream ID schema: type: string required: true responses: '200': description: success content: application/json: schema: $ref: '#/components/schemas/StreamState' '400': description: bad request content: application/json: schema: $ref: '#/components/schemas/BadRequestResponse' '404': description: Stream not found content: text/plain: schema: type: string '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' tags: - Streams components: schemas: ErrorResponse: title: Error response description: Error response type: object required: - message properties: message: type: string description: Error message BadRequestResponse: title: Response to a bad request (400) description: Bad request (input error) type: object required: - message properties: message: type: string description: Message describing the error StreamState: title: State of a Ceramic stream description: The state of a Ceramic stream as defined by the stream type aggregation and conflict resolution rules. type: object required: - id - event_cid - controller - dimensions - data properties: id: type: string description: Multibase encoding of the stream id event_cid: type: string description: CID of the event that produced this state controller: type: string description: Controller of the stream dimensions: type: object description: Dimensions of the stream, each value is multibase encoded. data: type: string description: Multibase encoding of the data of the stream. Content is stream type specific.