{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/business:greenpeace/get-events":{"get":{"operationId":"business_greenpeace_get_events","summary":"Return the upcoming events (e.g. start date >= today). Gets an array of `Event` object. Mandatory query…","description":"GET /events","tags":["business"],"parameters":[{"name":"domain","in":"query","required":true,"description":"the site the groups belongs to, example: netherlands","schema":{"type":"string","description":"the site the groups belongs to, example: netherlands"}},{"name":"limit","in":"query","required":false,"description":"the number of desired records","schema":{"type":"string","description":"the number of desired records"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/business:greenpeace/get-events-uuid":{"get":{"operationId":"business_greenpeace_get_events_uuid","summary":"Get one `Event` object by specifying its UUID in the url path.","description":"GET /events/{UUID}","tags":["business"],"parameters":[{"name":"UUID","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/business:greenpeace/get-groups":{"get":{"operationId":"business_greenpeace_get_groups","summary":"Gets an array of `Group` object. Mandatory query param of **domain** determines the site / country the group…","description":"GET /groups","tags":["business"],"parameters":[{"name":"domain","in":"query","required":true,"description":"the site the groups belongs to, example: netherlands","schema":{"type":"string","description":"the site the groups belongs to, example: netherlands"}},{"name":"limit","in":"query","required":false,"description":"the number of desired records","schema":{"type":"string","description":"the number of desired records"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/business:greenpeace/get-groups-uuid":{"get":{"operationId":"business_greenpeace_get_groups_uuid","summary":"Get one `Group` object by specifying its UUID in the url path.","description":"GET /groups/{UUID}","tags":["business"],"parameters":[{"name":"UUID","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/business:greenpeace/get-volunteers":{"get":{"operationId":"business_greenpeace_get_volunteers","summary":"Gets an array of `Volunteer` object. Mandatory query param of **domain** determines the site / country the…","description":"GET /volunteers","tags":["business"],"parameters":[{"name":"domain","in":"query","required":true,"description":"the site the users are registered on, example: netherlands","schema":{"type":"string","description":"the site the users are registered on, example: netherlands"}},{"name":"limit","in":"query","required":false,"description":"the number of desired records. Default is 5.","schema":{"type":"string","description":"the number of desired records. Default is 5."}},{"name":"must_have_default_avatar","in":"query","required":false,"description":"1 or 0. filter on people that have the default avatar or not.","schema":{"type":"boolean","description":"1 or 0. filter on people that have the default avatar or not."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/business:greenpeace/get-volunteers-uuid":{"get":{"operationId":"business_greenpeace_get_volunteers_uuid","summary":"Get one specific `Volunteer` object by specifying its UUID in the url path.","description":"GET /volunteers/{UUID}","tags":["business"],"parameters":[{"name":"UUID","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}