REST API
HTTPリクエストを使用してデータにアクセス・使用する設計スタイル。
ウェブやモバイルアプリからサーバーの機能を呼び出すのに使われます。
graph LR
Center["REST API"]:::main
Rel_apache_http_server["apache-http-server"]:::related -.-> Center
click Rel_apache_http_server "/terms/apache-http-server"
Rel_microservices["microservices"]:::related -.-> Center
click Rel_microservices "/terms/microservices"
classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
linkStyle default stroke:#4b5563,stroke-width:2px;
🧒 5歳でもわかるように説明
🔌 レストランのメニューのようなもので、何を注文(リクエスト)すれば何が返ってくるか決まっています。
🤓 Expert Deep Dive
ステートレス性、キャッシュ可能性、階層化システムなどの制約があります。