API Style Guides · Example Payload

Ms Azure Versioning

VersioningAzure

Ms Azure Versioning is an example object payload from API Style Guides, with 13 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

$schemaidguideleveltitlesummarycategoryrationaleappliesTosourceUrlexamplesrelatedRulestags

Example Payload

ms-azure-versioning.json Raw ↑
{
  "$schema": "../json-schema/style-guide-rule-schema.json",
  "id": "ms-azure-versioning",
  "guide": "style-guides:microsoft",
  "level": "MUST",
  "title": "Use Date-Based api-version Query Parameter",
  "summary": "Azure REST APIs are versioned via a required api-version query parameter using YYYY-MM-DD dates (optionally with a -preview suffix). Customers opt in to new versions; old versions remain available.",
  "category": "Versioning",
  "rationale": "Date-based versioning makes the chronological order of contracts obvious and lets services ship many small backward-compatible iterations without inflating major version numbers.",
  "appliesTo": ["REST"],
  "sourceUrl": "https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md",
  "examples": [
    {
      "kind": "good",
      "language": "http",
      "snippet": "GET /resourceGroups?api-version=2024-11-01 HTTP/1.1\nHost: management.azure.com"
    },
    {
      "kind": "bad",
      "language": "http",
      "snippet": "GET /v2/resourceGroups HTTP/1.1",
      "note": "Path-based major version is rejected by Azure guidelines in favor of api-version query."
    }
  ],
  "relatedRules": ["zalando-version", "paypal-versioning"],
  "tags": ["Versioning", "Azure"]
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/ms-azure-versioning"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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