Skip to main content
Glama
petstore.json2.69 kB
{ "openapi": "3.0.0", "info": { "title": "Petstore API", "version": "1.0.0", "description": "A simple API for managing pets" }, "servers": [ { "url": "https://petstore3.swagger.io/api/v3" } ], "paths": { "/pet/{petId}": { "get": { "operationId": "getPetById", "summary": "Find pet by ID", "description": "Returns a single pet", "parameters": [ { "name": "petId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" }, "description": "ID of pet to return" } ], "responses": { "200": { "description": "successful operation" }, "400": { "description": "Invalid ID supplied" }, "404": { "description": "Pet not found" } } } }, "/pet": { "post": { "operationId": "addPet", "summary": "Add a new pet to the store", "description": "Add a new pet to the store", "requestBody": { "description": "Create a new pet in the store", "content": { "application/json": { "schema": { "type": "object", "required": ["name", "photoUrls"], "properties": { "name": { "type": "string", "example": "doggie" }, "photoUrls": { "type": "array", "items": { "type": "string" } }, "status": { "type": "string", "description": "pet status in the store", "enum": ["available", "pending", "sold"] } } } } }, "required": true }, "responses": { "200": { "description": "Successful operation" }, "405": { "description": "Invalid input" } } } }, "/store/inventory": { "get": { "operationId": "getInventory", "summary": "Returns pet inventories by status", "description": "Returns a map of status codes to quantities", "responses": { "200": { "description": "successful operation" } } } } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TBosak/specbridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server