Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
description: The change feed
license:
name: ''
title: Wenmar Events API
version: 0.1.0
tags:
- description: The change feed
name: Events
paths:
/events:
get:
operationId: events_index
parameters:
- description: resume after this seq
in: query
name: after
required: false
schema:
format: int64
type: integer
- description: resume after this seq (wins over after)
in: header
name: Last-Event-ID
required: false
schema:
format: int64
type:
- integer
- 'null'
responses:
'200':
content:
text/event-stream: {}
description: 'server-sent events of the caller''s shop: `event: change` with data {seq, kind, id, version, actor {kind, id}, summary, at, op, work_order_id, location_id} (pointers only, never record content; a user scoped to one location gets that location''s and the location-less ones); `event: reset` with data {seq} when the cursor is no longer held (reload everything). Ends after 15 minutes; reconnect with the last seq'
'401':
description: unauthenticated
'406':
description: 'not_acceptable: send Accept: text/event-stream'
security:
- bearer: []
tags:
- Events
summary: Events index
x-summary-source: derived
components:
securitySchemes:
bearer:
scheme: bearer
type: http