{
  "id": "bbg-p0411-api-gateways-and-contracts-api",
  "title": "REST API Constraint Map",
  "chapter": "api-gateways-and-contracts",
  "batch": "16",
  "rank": 156,
  "sourcePage": 411,
  "sourcePointer": "p. 411",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "comparison",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "source page render inspected",
      "preserve REST constraints: client-server, stateless, cacheable, uniform interface, layered system, and optional code on demand",
      "omit source branding, icon grid styling, and copied prose"
    ],
    "publicBoundary": [
      "original vector output",
      "no source pixels",
      "no source mark or long wording"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: REST API",
      "concept: client-server",
      "concept: stateless",
      "concept: cacheable",
      "concept: uniform interface"
    ],
    "labelSource": "curated",
    "semanticStatus": "reviewed"
  },
  "groups": [
    {
      "id": "constraints",
      "label": "REST constraints",
      "x": 58,
      "y": 122,
      "w": 844,
      "h": 346
    }
  ],
  "shapes": [
    {
      "id": "client",
      "kind": "rect",
      "label": "Client server",
      "detail": "separate concerns",
      "x": 96,
      "y": 166,
      "w": 134,
      "h": 64,
      "tone": "blue"
    },
    {
      "id": "stateless",
      "kind": "rect",
      "label": "Stateless",
      "detail": "self-contained",
      "x": 294,
      "y": 166,
      "w": 134,
      "h": 64,
      "tone": "green"
    },
    {
      "id": "cache",
      "kind": "rect",
      "label": "Cacheable",
      "detail": "reuse response",
      "x": 492,
      "y": 166,
      "w": 134,
      "h": 64,
      "tone": "teal"
    },
    {
      "id": "uniform",
      "kind": "rect",
      "label": "Uniform interface",
      "detail": "standard verbs",
      "x": 690,
      "y": 166,
      "w": 134,
      "h": 64,
      "tone": "orange"
    },
    {
      "id": "layered",
      "kind": "rect",
      "label": "Layered system",
      "detail": "intermediaries",
      "x": 234,
      "y": 328,
      "w": 134,
      "h": 64,
      "tone": "purple"
    },
    {
      "id": "code",
      "kind": "rect",
      "label": "Code on demand",
      "detail": "optional",
      "x": 592,
      "y": 328,
      "w": 134,
      "h": 64,
      "tone": "gray"
    },
    {
      "id": "rest",
      "kind": "diamond",
      "label": "RESTful API",
      "detail": "constraint fit",
      "x": 416,
      "y": 302,
      "w": 128,
      "h": 86,
      "tone": "red"
    }
  ],
  "connectors": [
    {
      "from": "client",
      "to": "rest",
      "label": "separate",
      "flow": "main"
    },
    {
      "from": "stateless",
      "to": "rest",
      "label": "state",
      "flow": "data"
    },
    {
      "from": "cache",
      "to": "rest",
      "label": "cache",
      "flow": "data"
    },
    {
      "from": "uniform",
      "to": "rest",
      "label": "contract",
      "flow": "control"
    },
    {
      "from": "layered",
      "to": "rest",
      "label": "layer",
      "flow": "control"
    },
    {
      "from": "code",
      "to": "rest",
      "label": "optional",
      "flow": "async"
    }
  ]
}
