Copyright | (c) Moritz Schulte 2017 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module implements the
/event-types/EVENT-TYPE/schemas/SCHEMA
API.
- eventTypeSchemasGet :: MonadNakadi m => Config -> EventTypeName -> Maybe Offset -> Maybe Limit -> m EventTypeSchemasResponse
- eventTypeSchemasGetR :: MonadNakadiEnv r m => EventTypeName -> Maybe Offset -> Maybe Limit -> m EventTypeSchemasResponse
- eventTypeSchema :: MonadNakadi m => Config -> EventTypeName -> SchemaVersion -> m EventTypeSchema
- eventTypeSchemaR :: MonadNakadiEnv r m => EventTypeName -> SchemaVersion -> m EventTypeSchema
Documentation
:: 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
.
:: 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
.