DEV Community · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Forem API V1 Segments API

8 actions 8 updates phrasing extends openapi/dev-to-segments-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/segments'].get
$.paths['/api/segments'].post
$.paths['/api/segments/{id}'].get
$.paths['/api/segments/{id}'].delete
$.paths['/api/segments/{id}/users'].get
$.paths['/api/segments/{id}/add_users'].put
$.paths['/api/segments/{id}/remove_users'].put

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 Segments API
  version: 1.0.0
extends: openapi/dev-to-segments-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/segments'].get
  update:
    x-apievangelist-phrasing:
      intent: List manually managed audience segments
      effect: read
      questions:
      - Which user segments have site admins created for targeting announcements?
      - Can I see all manual audience segments on the site?
      instructions:
      - text: List all manually managed audience segments.
      - text: Show {per_page} audience segments per page.
        slots:
          per_page: query.per_page
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/segments'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a manually managed audience segment
      effect: write
      questions:
      - How do I create a new target cohort for announcements?
      - Can I define a manual audience segment for a campaign?
      instructions:
      - text: Create a new manually managed audience segment.
      - text: Define a new target cohort for announcements.
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/segments/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a manually managed audience segment
      effect: read
      questions:
      - What type and configuration does a specific manual segment have?
      - Can I look up one audience segment by ID?
      instructions:
      - text: Show audience segment {id}.
        slots:
          id: path.id
      - text: Get the configuration of manual segment {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/segments/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a manually managed audience segment
      effect: destructive
      questions:
      - How do I delete an audience segment?
      - Why can't I delete a segment that's assigned to a billboard?
      instructions:
      - text: Delete audience segment {id}.
        slots:
          id: path.id
      - text: Remove manual segment {id} from the site.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/segments/{id}/users'].get
  update:
    x-apievangelist-phrasing:
      intent: List users in a manually managed segment
      effect: read
      questions:
      - Which users are enrolled in a particular manual segment?
      - Can I page through the members of a target cohort?
      instructions:
      - text: List users in audience segment {id}.
        slots:
          id: path.id
      - text: Show {per_page} members of manual segment {id}.
        slots:
          id: path.id
          per_page: query.per_page
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/segments/{id}/add_users'].put
  update:
    x-apievangelist-phrasing:
      intent: Add users to a manually managed segment
      effect: write
      questions:
      - How do I add users to a manual audience segment in bulk?
      - Can I include users who are already in the segment?
      instructions:
      - text: Add users {user_ids} to audience segment {id}.
        slots:
          id: path.id
          user_ids: requestBody.user_ids
      - text: Enroll {user_ids} in manual segment {id}.
        slots:
          id: path.id
          user_ids: requestBody.user_ids
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api/segments/{id}/remove_users'].put
  update:
    x-apievangelist-phrasing:
      intent: Remove users from a manually managed segment
      effect: write
      questions:
      - How do I take users out of a manual audience segment?
      - What happens to users already not in the segment when I remove them?
      instructions:
      - text: Remove users {user_ids} from audience segment {id}.
        slots:
          id: path.id
          user_ids: requestBody.user_ids
      - text: Drop {user_ids} out of manual segment {id}.
        slots:
          id: path.id
          user_ids: requestBody.user_ids
      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-segments-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.