{ "opencollection": "1.0.0", "info": { "name": "Brickwork Admin Appointments Admin Events API", "version": "v3" }, "items": [ { "info": { "name": "Admin Events", "type": "folder" }, "items": [ { "info": { "name": "List company events", "type": "http" }, "http": { "method": "GET", "url": "https://production.brickworksoftware.com/:locale/api/v3/admin/events", "params": [ { "name": "locale", "value": "", "type": "path" }, { "name": "query", "value": "", "type": "query", "description": "Query parameters for all company events" }, { "name": "query[start_date]", "value": "", "type": "query", "description": "Store events select start date \"YYYY-MM-DD\", defaults to 30 days back" }, { "name": "query[end_date]", "value": "", "type": "query", "description": "Store events select end date \"YYYY-MM-DD\", defaults to today" }, { "name": "query[published]", "value": "", "type": "query", "description": "Filter store events that are published" } ], "auth": { "type": "apikey", "key": "api_key", "value": "{{api_key}}", "placement": "query" } }, "docs": "Example: `http://company.com/api/v3/admin/events?query[published]=true`" }, { "info": { "name": "Create Company Event", "type": "http" }, "http": { "method": "POST", "url": "https://production.brickworksoftware.com/:locale/api/v3/admin/events", "params": [ { "name": "locale", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "api_key", "value": "{{api_key}}", "placement": "query" } }, "docs": "Create Company Event" }, { "info": { "name": "Show Company Event", "type": "http" }, "http": { "method": "GET", "url": "https://production.brickworksoftware.com/:locale/api/v3/admin/events/:id", "params": [ { "name": "locale", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path", "description": "Event ID" } ], "auth": { "type": "apikey", "key": "api_key", "value": "{{api_key}}", "placement": "query" } }, "docs": "Show Company Event" }, { "info": { "name": "Update a Company Event", "type": "http" }, "http": { "method": "PUT", "url": "https://production.brickworksoftware.com/:locale/api/v3/admin/events/:id", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "locale", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "api_key", "value": "{{api_key}}", "placement": "query" } }, "docs": "Update a Company Event" } ] } ], "bundled": true }