nakadi-client-0.4.1.0: Client library for the Nakadi Event Broker

Copyright(c) Moritz Schulte 2017
LicenseBSD3
Maintainermtesseract@silverratio.net
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Network.Nakadi.EventTypes.Schemas

Description

This module implements the /event-types/EVENT-TYPE/schemas/SCHEMA API.

Synopsis

Documentation

eventTypeSchemasGet Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> EventTypeName

Name of Event Type

-> Maybe Offset 
-> Maybe Limit 
-> m EventTypeSchemasResponse 

Retrieves schemas for the given EventTypeName using low-level paging interface. GET to /event-types/NAME/schemas.

eventTypeSchemasGetR Source #

Arguments

:: MonadNakadiEnv r m 
=> EventTypeName

Name of Event Type

-> Maybe Offset 
-> Maybe Limit 
-> m EventTypeSchemasResponse 

GET to /event-types/NAME/schemas. Uses the configuration contained in the environment.

eventTypeSchema :: MonadNakadi m => Config -> EventTypeName -> SchemaVersion -> m EventTypeSchema Source #

Look up the schema of an event type given its EventTypeName and SchemaVersion. GET to /event-types/EVENT-TYPE/schemas/SCHEMA.

eventTypeSchemaR :: MonadNakadiEnv r m => EventTypeName -> SchemaVersion -> m EventTypeSchema Source #

Look up the schema of an event type given its EventTypeName and SchemaVersion, using the configuration found in the environment. GET to /event-types/EVENT-TYPE/schemas/SCHEMA.