API Style Guides · Example Payload

Cisco Api Only

GovernanceAPI FirstCisco

Cisco Api Only is an example object payload from API Style Guides, with 11 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

$schemaidguideleveltitlesummarycategoryrationaleappliesTosourceUrltags

Example Payload

cisco-api-only.json Raw ↑
{
  "$schema": "../json-schema/style-guide-rule-schema.json",
  "id": "cisco-api-only",
  "guide": "style-guides:cisco",
  "level": "MUST",
  "title": "Communicate Between Services Only Through Documented APIs",
  "summary": "Cisco services must communicate with each other (and with partners) exclusively through their documented public APIs; no internal or undocumented pathways may be relied on.",
  "category": "Governance",
  "rationale": "Verbatim from the Cisco guide: 'Creating an internal set of APIs (de facto or explicitly) and a second set of partner APIs is a recipe for weak partner products, bugs in third-party integrations, and wasted effort developing and testing multiple pathways.'",
  "appliesTo": ["REST"],
  "sourceUrl": "https://github.com/CiscoDevNet/api-design-guide",
  "tags": ["Governance", "API First", "Cisco"]
}