{ "opencollection": "1.0.0", "info": { "name": "Otreeba Seed API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Seed", "type": "folder" }, "items": [ { "info": { "name": "Get a list of all current seed companies.", "type": "http" }, "http": { "method": "GET", "url": "https://api.otreeba.com/v1/seed-companies", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page to be returned." }, { "name": "count", "value": "", "type": "query", "description": "The number of items to return. Default 10. Max 50." }, { "name": "sort", "value": "", "type": "query", "description": "How to sort the items." } ] }, "docs": "Returns a paginated list of seed companies." }, { "info": { "name": "Find seed company by Open Cannabis Product Code (OCPC).", "type": "http" }, "http": { "method": "GET", "url": "https://api.otreeba.com/v1/seed-companies/:ocpc", "params": [ { "name": "ocpc", "value": "", "type": "path", "description": "OCPC of the seed company to return." } ] }, "docs": "Returns a single seed company." }, { "info": { "name": "Find strains for a seed company by Open Cannabis Product Code (OCPC).", "type": "http" }, "http": { "method": "GET", "url": "https://api.otreeba.com/v1/seed-companies/:ocpc/strains", "params": [ { "name": "ocpc", "value": "", "type": "path", "description": "OCPC of the seed company to return strains for." }, { "name": "page", "value": "", "type": "query", "description": "Page to be returned." }, { "name": "count", "value": "", "type": "query", "description": "The number of items to return. Default 10. Max 50." } ] }, "docs": "Returns a paginated list of strains for a single seed company." } ] } ], "bundled": true }