{"swaggerVersion":"1.2","apiVersion":"0.1","basePath":"\/","resourcePath":"\/accounts","apis":[{"path":"\/accounts","operations":[{"method":"GET","summary":"Get accounts","nickname":"get_accounts","parameters":[{"paramType":"query","name":"page","type":"string","description":"One-based page number. Page 1 returns the first page of results; page 2 returns the second. The number of results per page is controlled by the limit parameter."},{"paramType":"query","name":"limit","type":"string","description":"Maximum number of results to return in the response."},{"paramType":"query","name":"filter","type":"string","description":"Allowed fields: name. Use the following delimiters to build your filters params. The vertical bar (\u0027|\u0027) to separate individual filter phrases and a double colon (\u0027::\u0027) to separate the names and values. The delimiter of the double colon (\u0027:\u0027) separates the property name from the comparison value, enabling the comparison value to contain spaces. Example: www.example.com\/users?filter=\u0027name::todd|city::denver|title::grand poobah\u0027"},{"paramType":"query","name":"sort","type":"string","description":"Allowed fields: name, created. Use sort query-string parameter that contains a delimited set of property names. For each property name, sort in ascending order, and for each property prefixed with a dash (\u0027-\u0027) sort in descending order. Separate each property name with a vertical bar (\u0027|\u0027), which is consistent with the separation of the name\/value pairs in filtering, above. For example, if we want to retrieve users in order of their last name (ascending), first name (ascending) and hire date (descending), the request might look like this www.example.com\/users?sort=\u0027last_name|first_name|-hire_date\u0027"}],"responseMessages":[{"code":200,"message":"Returned when successful","responseModel":"GR.CoreBundle.Entity.ClientAccount"},{"code":401,"message":"You are not authenticated"},{"code":403,"message":"User not authorized to perform the operation"},{"code":404,"message":"Resource not found"}],"type":"GR.CoreBundle.Entity.ClientAccount"}]},{"path":"\/accounts\/{account_slug}","operations":[{"method":"GET","summary":"Get an account","nickname":"get_accounts","parameters":[{"paramType":"path","name":"account_slug","type":"string","required":true}],"responseMessages":[{"code":200,"message":"Returned when successful","responseModel":"GR.CoreBundle.Entity.ClientAccount"},{"code":401,"message":"You are not authenticated"},{"code":403,"message":"User not authorized to perform the operation"},{"code":404,"message":"Resource not found"}],"type":"GR.CoreBundle.Entity.ClientAccount"}]}],"models":{"GR.CoreBundle.Entity.ClientAccount":{"id":"GR.CoreBundle.Entity.ClientAccount","description":"","properties":{"name":{"type":"string","description":"string"},"url":{"type":"string","description":"string"},"is_active":{"type":"boolean","description":"boolean"},"_domains":{"type":"string","description":"string"},"is_live":{"type":"boolean","description":"boolean"},"created":{"type":"string","description":"DateTime","format":"date-time"},"updated":{"type":"string","description":"DateTime","format":"date-time"},"slug":{"type":"string","description":"string"},"_currencies":{"type":"string","description":"string"}},"required":[]}},"produces":[],"consumes":[],"authorizations":{"apiKey":{"type":"apiKey","passAs":"header","keyname":"X-Auth-Token"}}}