When I Work · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for When I Work API Documentation Annotations API

6 actions 6 updates phrasing extends openapi/when-i-work-annotations-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for When I Work's API. It is a proposal applied on top of the contract, not a document When I Work publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/2/annotations'].get
$.paths['/2/annotations'].post
$.paths['/2/annotations/{id}'].get
$.paths['/2/annotations/{id}'].put
$.paths['/2/annotations/{id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for When I Work API Documentation Annotations API
  version: 1.0.0
extends: openapi/when-i-work-annotations-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/2/annotations'].get
  update:
    x-apievangelist-phrasing:
      intent: List shift annotations
      effect: read
      questions:
      - How do I list the business closed and announcement annotations on my schedule?
      - Can I list annotations for just one location in a date range?
      instructions:
      - text: List annotations between {start_date} and {end_date}.
        slots:
          start_date: query.start_date
          end_date: query.end_date
      - text: Show annotations at locations {locations} from {start_date} to {end_date}.
        slots:
          locations: query.locations
          start_date: query.start_date
          end_date: query.end_date
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/annotations'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a shift annotation
      effect: write
      questions:
      - How do I add a business-closed or announcement annotation to the schedule?
      - Can I make an announcement visible across all locations?
      instructions:
      - text: Create an announcement annotation titled {title} saying {message}.
        slots:
          title: requestBody.title
          message: requestBody.message
      - text: Mark the business closed on {start_date} with message {message}.
        slots:
          start_date: requestBody.start_date
          message: requestBody.message
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/annotations/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a shift annotation
      effect: read
      questions:
      - What title and message does a specific annotation have?
      - Can I look up one shift annotation by ID?
      instructions:
      - text: Get annotation {id}.
        slots:
          id: path.id
      - text: Show the title and message of annotation {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/annotations/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a shift annotation
      effect: write
      questions:
      - How do I change the message on an existing announcement annotation?
      - Can I edit a business-closed annotation after creating it?
      instructions:
      - text: Change the message of annotation {id} to {message}.
        slots:
          id: path.id
          message: requestBody.message
      - text: Update the title of existing annotation {id} to {title}.
        slots:
          id: path.id
          title: requestBody.title
      method: generated
      generated: '2026-11-22'
- target: $.paths['/2/annotations/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a shift annotation
      effect: destructive
      questions:
      - How do I remove an old announcement annotation?
      - Is deleting a shift annotation permanent?
      instructions:
      - text: Delete annotation {id}.
        slots:
          id: path.id
      - text: Remove the outdated announcement {id} from the schedule.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/when-i-work-annotations-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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.

A second provider on the same verified email joins the account you already have.