DEV Community · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Forem API V1 Surveys API

8 actions 8 updates phrasing extends openapi/dev-to-surveys-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for DEV Community's API. It is a proposal applied on top of the contract, not a document DEV Community publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/api/surveys'].get
$.paths['/api/surveys'].post
$.paths['/api/surveys/{id_or_slug}'].get
$.paths['/api/surveys/{id_or_slug}'].delete
$.paths['/api/surveys/{id_or_slug}'].patch
$.paths['/api/surveys/{id_or_slug}/poll_votes'].get
$.paths['/api/surveys/{id_or_slug}/poll_text_responses'].get

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 Forem API V1 Surveys API
  version: 1.0.0
extends: openapi/dev-to-surveys-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: 7
- target: $.paths['/api/surveys'].get
  update:
    x-apievangelist-phrasing:
      intent: List surveys
      effect: read
      questions:
      - Which surveys are configured on the platform?
      - Can I list only the active surveys?
      instructions:
      - text: List all surveys.
      - text: List surveys where active is {active}.
        slots:
          active: query.active
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/surveys'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a survey
      effect: write
      questions:
      - How do I create a new survey with polls?
      - Can I create a survey through the API?
      instructions:
      - text: Create a survey {survey}.
        slots:
          survey: requestBody.survey
      - text: Add a new survey with its polls and options.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/surveys/{id_or_slug}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a survey with its polls
      effect: read
      questions:
      - What questions and options does a survey contain?
      - Can I fetch a survey by its slug?
      instructions:
      - text: Show survey {id_or_slug}.
        slots:
          id_or_slug: path.id_or_slug
      - text: Get the full survey {id_or_slug} with its nested polls.
        slots:
          id_or_slug: path.id_or_slug
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/surveys/{id_or_slug}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a survey
      effect: destructive
      questions:
      - How do I delete a survey?
      - Can I remove a survey by its slug?
      instructions:
      - text: Delete survey {id_or_slug}.
        slots:
          id_or_slug: path.id_or_slug
      - text: Remove the survey {id_or_slug}.
        slots:
          id_or_slug: path.id_or_slug
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/surveys/{id_or_slug}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a survey
      effect: write
      questions:
      - How do I edit an existing survey?
      - Can I change a survey's questions or options?
      instructions:
      - text: Update survey {id_or_slug} with {survey}.
        slots:
          id_or_slug: path.id_or_slug
          survey: requestBody.survey
      - text: Edit the existing survey {id_or_slug}.
        slots:
          id_or_slug: path.id_or_slug
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/surveys/{id_or_slug}/poll_votes'].get
  update:
    x-apievangelist-phrasing:
      intent: List poll votes for a survey
      effect: read
      questions:
      - What did users vote in each multiple-choice poll?
      - Can I page through a survey's poll votes?
      instructions:
      - text: List poll votes for survey {id_or_slug}.
        slots:
          id_or_slug: path.id_or_slug
      - text: Show {per_page} poll votes for survey {id_or_slug} after {after}.
        slots:
          per_page: query.per_page
          id_or_slug: path.id_or_slug
          after: query.after
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/surveys/{id_or_slug}/poll_text_responses'].get
  update:
    x-apievangelist-phrasing:
      intent: List text responses for a survey
      effect: read
      questions:
      - What did users write in the text-input questions?
      - Can I stream a survey's written responses?
      instructions:
      - text: List text responses for survey {id_or_slug}.
        slots:
          id_or_slug: path.id_or_slug
      - text: Show {per_page} text responses for survey {id_or_slug} after {after}.
        slots:
          per_page: query.per_page
          id_or_slug: path.id_or_slug
          after: query.after
      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/dev-to-surveys-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.