{ "openapi": "3.0.1", "info": { "title": "GDome Product Catalog API", "description": "Search and browse GDome waterproof dome housings for GoPro, iPhone, Android, and DSLR/mirrorless cameras. Products rated to 5m/15ft depth. Ships globally.", "version": "1.0.0" }, "servers": [ { "url": "https://getgdome.com" } ], "paths": { "/products.json": { "get": { "operationId": "searchProducts", "summary": "Search GDome products by camera model or keyword", "description": "Returns GDome products matching the search query. Use camera model names like 'GoPro Hero 13', 'iPhone 15', 'Sony A7', or keywords like 'dome port', 'mobile', 'XL surf'. Returns product titles, handles, prices, and availability.", "parameters": [ { "name": "q", "in": "query", "description": "Camera model or keyword (e.g. 'GoPro Hero 13', 'iPhone', 'DSLR', 'surf')", "required": false, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "description": "Number of results to return (max 250)", "required": false, "schema": { "type": "integer", "default": 10 } } ], "responses": { "200": { "description": "List of matching GDome products", "content": { "application/json": { "schema": { "type": "object", "properties": { "products": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "integer" }, "title": { "type": "string" }, "handle": { "type": "string" }, "body_html": { "type": "string" }, "product_type": { "type": "string" }, "tags": { "type": "string" }, "variants": { "type": "array", "items": { "type": "object", "properties": { "price": { "type": "string" }, "available": { "type": "boolean" }, "inventory_quantity": { "type": "integer" } } } }, "images": { "type": "array", "items": { "type": "object", "properties": { "src": { "type": "string" } } } } } } } } } } } } } } }, "/products/{handle}.json": { "get": { "operationId": "getProduct", "summary": "Get full details for a specific GDome product", "parameters": [ { "name": "handle", "in": "path", "required": true, "description": "Product URL handle (e.g. 'gdome-mobile-3-pro')", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Full product details including all variants and images" } } } } } }