Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Knative EventTypes API

Knative EventType resources maintain a catalog of event types that can be consumed from Brokers. EventTypes help consumers discover what events are available without inspecting Broker contents directly.

Knative EventTypes API is one of 13 APIs that Knative publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include EventTypes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a GitHub repository, an AsyncAPI specification, and 2 JSON Schemas.

This API exposes 2 operations across 1 path, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against a single base URL, https://kubernetes.default.svc.

2 operations 1 paths 4 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Server
https://kubernetes.default.svc
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Knative EventTypes API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Kubernetes service account token or user bearer token. RBAC policies control access to Knative Eventing resources.

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

EventTypes 2

Knative EventType resources maintain a catalog of event types that can be consumed from Brokers. EventTypes help consumers discover what events are available without inspecting Br…

GET
/apis/eventing.knative.dev/v1beta2/namespaces/{namespace}/eventtypes
Knative List EventTypes
listEventTypes 4 params → 200401
POST
/apis/eventing.knative.dev/v1beta2/namespaces/{namespace}/eventtypes
Knative Create an EventType
createEventType 1 param body → 201400401

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are ObjectMeta (8 properties), Status (6 properties), EventTypeList (4 properties), EventType (4 properties). Each schema is shown below with its type and property counts.

EventType
object
A Knative EventType that catalogs an event type available from a Broker. EventTypes help consumers discover which events are available without having to inspec…
4 properties 3 required
ObjectMeta
object
Standard Kubernetes object metadata.
8 properties 1 required
EventTypeList
object
A list of EventType resources.
4 properties 3 required
Status
object
Kubernetes API Status response.
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

knative-eventtypes-api-openapi.yml Raw ↑

Other APIs Knative publishes across the network.

Knative Functions
Knative CLI (kn)
Knative Apis API
Knative Brokers API
Knative Channels API
Knative Configurations API
Knative DomainMappings API
Knative EventSources API
Knative Revisions API
Knative Routes API
Knative Subscriptions API
Knative Triggers API