カタログ
ディスカバリーとヘルスチェック。全エンドポイントのライブカタログと、liveness・readiness のプローブ。
あなたのアカウントでこれらのエンドポイントが使えます。各エンドポイントのページの Try it でリクエストを送れます。
- GET
https://api.testingapis.com/apiList every API endpoint, grouped by controllerList every API endpoint, grouped by controller. - GETHEAD
https://api.testingapis.com/api/healthCheck that the API is up (HEAD also supported). - GET
https://api.testingapis.com/api/health/liveReport liveness. - GET
https://api.testingapis.com/api/health/readyReport readiness with a fixed set of dependency checks.
リクエストの例
List every API endpoint, grouped by controller. 完全なリファレンスと Send ボタン(英語).
cURL
curl -X GET "https://api.testingapis.com/api"レスポンス · 200 OK
{
"name": "TestingAPIs",
"description": "Hardcoded dummy APIs for testing HTTP clients. Add ?delay=N or ?error=CODE to any request.",
"graphql": "/graphql",
"websockets": ["/ws/echo", "/ws/ticker"],
"totalEndpoints": 428,
"groups": [
{"group": "Admin", "endpoints": [{"method": "GET", "path": "/api/Admin/authorize"}]},
{
"group": "Albums",
"endpoints": [
{"method": "GET", "path": "/api/Albums"},
{"method": "POST", "path": "/api/Albums"},
"… 9 more items"
… (5 more lines)サインインして詳細を見る
これらのエンドポイントのパラメータ、リクエストとレスポンスの例、ライブの Try it パネルは、サインインしたメンバー向けです。アカウントは無料で、数秒で作成できます。