{"name":"questlog api","organization":{"key":"poole-solutions"},"application":{"key":"questlog-api"},"namespace":"solutions.poole.questlog.api.v0","version":"0.0.1-dev","info":{"license":{"name":"MIT","url":"http://opensource.org/licenses/MIT"},"contact":{"name":"Alexander Poole","url":"https://github.com/owodunni/questlog","email":"alexander@poole.solutions"}},"headers":[],"imports":[],"enums":[{"name":"item_type","plural":"item_types","values":[{"name":"Food","attributes":[],"description":"Required to keep going"},{"name":"Clothes","attributes":[],"description":"Required to fend of nature"},{"name":"Camp","attributes":[],"description":"Required for sleep"},{"name":"Utensils","attributes":[],"description":"Required for eating"},{"name":"Gear","attributes":[],"description":"Required to perform the given activity"}],"attributes":[]}],"interfaces":[{"name":"database_record","plural":"database_records","fields":[{"name":"guid","type":"uuid","required":true,"attributes":[],"annotations":[],"description":"primary key"}],"attributes":[]},{"name":"person","plural":"people","fields":[{"name":"email","type":"string","required":false,"attributes":[],"annotations":[]},{"name":"name","type":"string","required":false,"attributes":[],"annotations":[]}],"attributes":[]}],"unions":[{"name":"person","plural":"people","types":[{"type":"guest","attributes":[],"discriminator_value":"guest"},{"type":"user","attributes":[],"discriminator_value":"user"}],"attributes":[],"interfaces":["person"],"discriminator":"discriminator"}],"models":[{"name":"adventure","plural":"adventures","fields":[{"name":"guid","type":"uuid","required":true,"attributes":[],"annotations":[]},{"name":"name","type":"string","required":true,"attributes":[],"annotations":[]},{"name":"description","type":"string","required":false,"attributes":[],"annotations":[]},{"name":"location","type":"string","required":false,"attributes":[],"annotations":[]},{"name":"participants","type":"[participant]","required":false,"attributes":[],"annotations":[]},{"name":"pack_lists","type":"[item]","required":false,"attributes":[],"annotations":[]}],"attributes":[],"interfaces":["database_record"],"description":"Represents an adventure."},{"name":"error","plural":"errors","fields":[{"name":"code","type":"string","required":true,"attributes":[],"annotations":[]},{"name":"message","type":"string","required":true,"attributes":[],"annotations":[]}],"attributes":[],"interfaces":[],"description":"Represents a validation error from the application."},{"name":"guest","plural":"guests","fields":[{"name":"email","type":"string","required":false,"attributes":[],"annotations":[]},{"name":"name","type":"string","required":false,"attributes":[],"annotations":[]}],"attributes":[],"interfaces":[]},{"name":"item","plural":"items","fields":[{"name":"name","type":"string","required":true,"attributes":[],"annotations":[]},{"name":"size","type":"double","required":false,"attributes":[],"annotations":[]},{"name":"description","type":"string","required":false,"attributes":[],"annotations":[]},{"name":"type","type":"item_type","required":false,"attributes":[],"annotations":[]}],"attributes":[],"interfaces":[]},{"name":"participant","plural":"participants","fields":[{"name":"person","type":"person","required":true,"attributes":[],"annotations":[]},{"name":"items","type":"[item]","required":false,"attributes":[],"annotations":[]}],"attributes":[],"interfaces":[],"description":"Represents a adventure participant and what items they will bring."},{"name":"user","plural":"users","fields":[{"name":"guid","type":"uuid","required":true,"attributes":[],"annotations":[]},{"name":"email","type":"string","required":false,"attributes":[],"annotations":[]},{"name":"name","type":"string","required":false,"attributes":[],"annotations":[]}],"attributes":[],"interfaces":["database_record"]}],"resources":[{"type":"adventure","plural":"adventures","operations":[{"method":"POST","path":"/adventures","parameters":[{"name":"adventure","type":"adventure","location":"Form","required":true}],"responses":[{"code":{"integer":{"value":201}},"type":"adventure","attributes":[]},{"code":{"integer":{"value":409}},"type":"[error]","attributes":[]}],"attributes":[]},{"method":"GET","path":"/adventures","parameters":[{"name":"guid","type":"uuid","location":"Query","required":false},{"name":"name","type":"string","location":"Query","required":false}],"responses":[{"code":{"integer":{"value":200}},"type":"[adventure]","attributes":[]}],"attributes":[]},{"method":"GET","path":"/adventures/:guid","parameters":[{"name":"guid","type":"uuid","location":"Path","required":true}],"responses":[{"code":{"integer":{"value":200}},"type":"adventure","attributes":[]}],"attributes":[]}],"attributes":[],"path":"/adventures"}],"attributes":[],"annotations":[],"apidoc":{"version":"0.0.1-dev"},"base_url":"https://api.questlog.io","description":"Adventure planing tool."}