{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"servers":[{"url":"/fdsnws/event/1"}],"paths":{"/metrics":{"get":{"summary":"Metrics","description":"Endpoint that serves Prometheus metrics.","operationId":"metrics_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/catalogs":{"get":{"summary":"Catalogs","operationId":"catalogs_catalogs_get","responses":{"200":{"description":"Successful Response","content":{"application/xml":{"schema":{"type":"string"}}}}}}},"/contributors":{"get":{"summary":"Contributors","operationId":"contributors_contributors_get","responses":{"200":{"description":"Successful Response","content":{"application/xml":{"schema":{"type":"string"}}}}}}},"/version":{"get":{"summary":"Version","operationId":"version_version_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/application.wadl":{"get":{"summary":"Wadl","operationId":"wadl_application_wadl_get","responses":{"200":{"description":"Successful Response","content":{"application/xml":{"schema":{"type":"string"}}}}}}},"/query":{"get":{"summary":"Query","operationId":"query_query_get","parameters":[{"name":"starttime","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Starttime"},"description":"limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"(alias of starttime) limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Start"},"description":"(alias of starttime) limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"endtime","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Endtime"},"description":"limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"(alias of endtime) limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"End"},"description":"(alias of endtime) limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"eventid","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific event by ID (catalog specific)","title":"Eventid"},"description":"Select a specific event by ID (catalog specific)"},{"name":"evid","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific event by EMSC Event ID (EMSC specific) (alias of source_id)","title":"Evid"},"description":"Select a specific event by EMSC Event ID (EMSC specific) (alias of source_id)"},{"name":"minlatitude","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"Limit to events with a latitude (degrees) larger than or equal to the specified minumum","default":-90.0,"title":"Minlatitude"},"description":"Limit to events with a latitude (degrees) larger than or equal to the specified minumum"},{"name":"minlat","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"(alias of minlatitude) Limit to events with a latitude (degrees) larger than or equal to the specified minumum","default":-90.0,"title":"Minlat"},"description":"(alias of minlatitude) Limit to events with a latitude (degrees) larger than or equal to the specified minumum"},{"name":"maxlatitude","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"Limit to events with a latitude (degrees) smaller than or equal to the specified maximum","default":90.0,"title":"Maxlatitude"},"description":"Limit to events with a latitude (degrees) smaller than or equal to the specified maximum"},{"name":"maxlat","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"(alias of maxlatitude) Limit to events with a latitude (degrees) smaller than or equal to the specified maximum","default":90.0,"title":"Maxlat"},"description":"(alias of maxlatitude) Limit to events with a latitude (degrees) smaller than or equal to the specified maximum"},{"name":"minlongitude","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"Limit to events with a longitude (degrees) larger than or equal to the specified minumum","default":-180.0,"title":"Minlongitude"},"description":"Limit to events with a longitude (degrees) larger than or equal to the specified minumum"},{"name":"minlon","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"(alias of minlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified minumum","default":-180.0,"title":"Minlon"},"description":"(alias of minlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified minumum"},{"name":"maxlongitude","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"Limit to events with a longitude (degrees) larger than or equal to the specified maximums","default":180.0,"title":"Maxlongitude"},"description":"Limit to events with a longitude (degrees) larger than or equal to the specified maximums"},{"name":"maxlon","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"(alias of maxlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified maximum","default":180.0,"title":"Maxlon"},"description":"(alias of maxlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified maximum"},{"name":"latitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Specify the latitude (degrees) to be used for a radius search","title":"Latitude"},"description":"Specify the latitude (degrees) to be used for a radius search"},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of latitude) Specify the latitude (degrees) to be used for a radius search","title":"Lat"},"description":"(alias of latitude) Specify the latitude (degrees) to be used for a radius search"},{"name":"longitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Specify the longitude (degrees) to be used for a radius search","title":"Longitude"},"description":"Specify the longitude (degrees) to be used for a radius search"},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of longitude) Specify the longitude (degrees) to be used for a radius search","title":"Lon"},"description":"(alias of longitude) Specify the longitude (degrees) to be used for a radius search"},{"name":"minradius","in":"query","required":false,"schema":{"type":"number","maximum":180.0,"minimum":0.0,"description":"Limit to events within the specified minimum number of degrees from the geographic point designed by the latitude and longitude parameters","default":0.0,"title":"Minradius"},"description":"Limit to events within the specified minimum number of degrees from the geographic point designed by the latitude and longitude parameters"},{"name":"maxradius","in":"query","required":false,"schema":{"type":"number","maximum":180.0,"minimum":0.0,"description":"Limit to events within the specified maximum number of degrees from the geographic point designed by the latitude and longitude parameters","default":180.0,"title":"Maxradius"},"description":"Limit to events within the specified maximum number of degrees from the geographic point designed by the latitude and longitude parameters"},{"name":"mindepth","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with depth (km) equal or more than the specified minimum","title":"Mindepth"},"description":"Limit to events with depth (km) equal or more than the specified minimum"},{"name":"maxdepth","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with depth (km) less than the specified maximium","title":"Maxdepth"},"description":"Limit to events with depth (km) less than the specified maximium"},{"name":"minmagnitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with a magnitude larger than the specified minimum","title":"Minmagnitude"},"description":"Limit to events with a magnitude larger than the specified minimum"},{"name":"minmag","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of minmagnitude) Limit to events with a magnitude equal or larger than the specified minimum","title":"Minmag"},"description":"(alias of minmagnitude) Limit to events with a magnitude equal or larger than the specified minimum"},{"name":"maxmagnitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with a magnitude smaller than the specified maximum","title":"Maxmagnitude"},"description":"Limit to events with a magnitude smaller than the specified maximum"},{"name":"maxmag","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of maxmagnitude) Limit to events with a magnitude smaller than the specified maximum","title":"Maxmag"},"description":"(alias of maxmagnitude) Limit to events with a magnitude smaller than the specified maximum"},{"name":"magnitudetype","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"Specify a magnitude type to use for testing the minimum and maximum limits","title":"Magnitudetype"},"description":"Specify a magnitude type to use for testing the minimum and maximum limits"},{"name":"magtype","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"(alias of magnitudetype) Specify a magnitude type to use for testing the minimum and maximum limits","title":"Magtype"},"description":"(alias of magnitudetype) Specify a magnitude type to use for testing the minimum and maximum limits"},{"name":"catalog","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"EMSC-RTS|EMSC-EMB"},{"type":"null"}],"description":"Limit to events from a specified catalog. Note that since 2012, only the EMSC-RTS catalog is in use.","title":"Catalog"},"description":"Limit to events from a specified catalog. Note that since 2012, only the EMSC-RTS catalog is in use."},{"name":"contributor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"description":"Limit to events contributed by a specified contributor","title":"Contributor"},"description":"Limit to events contributed by a specified contributor"},{"name":"updatedafter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Limit to events updated after the specified time","title":"Updatedafter"},"description":"Limit to events updated after the specified time"},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"Limit the results to the specified number of events","title":"Limit"},"description":"Limit the results to the specified number of events"},{"name":"offset","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"Return results starting at the event count specified, starting at 1","title":"Offset"},"description":"Return results starting at the event count specified, starting at 1"},{"name":"orderby","in":"query","required":false,"schema":{"type":"string","pattern":"time|time-asc|magnitude|magnitude-asc","description":"Order the result by time of magnitude","default":"time","title":"Orderby"},"description":"Order the result by time of magnitude"},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"xml|text|json|xml-gz|text-gz|json-gz|jsonp|jsonp-gz","description":"Specify format of result, either xml (QuakeML) (default) or text or json. Add -gz to receive a compressed response.","default":"xml","title":"Format"},"description":"Specify format of result, either xml (QuakeML) (default) or text or json. Add -gz to receive a compressed response."},{"name":"includeallorigins","in":"query","required":false,"schema":{"type":"boolean","description":"Specify if all origins for the event should be included (only prefered origin is returned by default) (format=text ignores this parameter)","default":false,"title":"Includeallorigins"},"description":"Specify if all origins for the event should be included (only prefered origin is returned by default) (format=text ignores this parameter)"},{"name":"includearrivals","in":"query","required":false,"schema":{"type":"boolean","description":"Specify if phase arrivals should be included (format=text ignores this parameter)","default":false,"title":"Includearrivals"},"description":"Specify if phase arrivals should be included (format=text ignores this parameter)"},{"name":"nodata","in":"query","required":false,"schema":{"type":"string","pattern":"204|404","description":"Select status code for \"no data\", either 204 or 404","default":"204","title":"Nodata"},"description":"Select status code for \"no data\", either 204 or 404"}],"responses":{"200":{"description":"Successful Response","content":{"application/xml":{"schema":{"type":"string"}},"application/json":{"example":{"type":"FeatureCollection","metadata":{"totalCount":100},"features":[{"EventID":"","Time":"","Latitude":"","Longitude":"","Depth":"","Author":"","Catalog":"","Contributor":"","ContributorID":"","MagType":"","Magnitude":"","MagAuthor":"","EventLocationName":"","EventType":""}]}},"text/plain":{"example":"#EventID|Time|Latitude|Longitude|Depth/km|Author|Catalog|Contributor|ContributorID|MagType|Magnitude|MagAuthor|EventLocationName\n..."},"application/gzip":{}}},"204":{"description":"Request was properly formatted and submitted but no data matches the selection."},"400":{"description":"Bad request due to improper specification, unrecognized parameter, parameter value out of range, etc."},"404":{"description":"Alternative to 204 (set via the 'nodata' parameter), normally used for results returned to a web browser."},"413":{"description":"Request would result in too much data being returned or the request itself is too large, returned error message should include the service limitations in the detailed description. Service limits should also be documented in the service WADL."},"422":{"description":"Bad request due to improper specification, unrecognized parameter, parameter value out of range, etc."},"500":{"description":"Internal server error"},"503":{"description":"Service temporarily unavailable, used in maintenance and error conditions."}}}},"/count":{"get":{"summary":"Query","operationId":"query_count_get","parameters":[{"name":"starttime","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Starttime"},"description":"limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"(alias of starttime) limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Start"},"description":"(alias of starttime) limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"endtime","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Endtime"},"description":"limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"(alias of endtime) limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"End"},"description":"(alias of endtime) limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"eventid","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific event by ID (catalog specific)","title":"Eventid"},"description":"Select a specific event by ID (catalog specific)"},{"name":"evid","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific event by EMSC Event ID (EMSC specific) (alias of source_id)","title":"Evid"},"description":"Select a specific event by EMSC Event ID (EMSC specific) (alias of source_id)"},{"name":"minlatitude","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"Limit to events with a latitude (degrees) larger than or equal to the specified minumum","default":-90.0,"title":"Minlatitude"},"description":"Limit to events with a latitude (degrees) larger than or equal to the specified minumum"},{"name":"minlat","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"(alias of minlatitude) Limit to events with a latitude (degrees) larger than or equal to the specified minumum","default":-90.0,"title":"Minlat"},"description":"(alias of minlatitude) Limit to events with a latitude (degrees) larger than or equal to the specified minumum"},{"name":"maxlatitude","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"Limit to events with a latitude (degrees) smaller than or equal to the specified maximum","default":90.0,"title":"Maxlatitude"},"description":"Limit to events with a latitude (degrees) smaller than or equal to the specified maximum"},{"name":"maxlat","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"(alias of maxlatitude) Limit to events with a latitude (degrees) smaller than or equal to the specified maximum","default":90.0,"title":"Maxlat"},"description":"(alias of maxlatitude) Limit to events with a latitude (degrees) smaller than or equal to the specified maximum"},{"name":"minlongitude","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"Limit to events with a longitude (degrees) larger than or equal to the specified minumum","default":-180.0,"title":"Minlongitude"},"description":"Limit to events with a longitude (degrees) larger than or equal to the specified minumum"},{"name":"minlon","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"(alias of minlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified minumum","default":-180.0,"title":"Minlon"},"description":"(alias of minlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified minumum"},{"name":"maxlongitude","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"Limit to events with a longitude (degrees) larger than or equal to the specified maximums","default":180.0,"title":"Maxlongitude"},"description":"Limit to events with a longitude (degrees) larger than or equal to the specified maximums"},{"name":"maxlon","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"(alias of maxlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified maximum","default":180.0,"title":"Maxlon"},"description":"(alias of maxlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified maximum"},{"name":"latitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Specify the latitude (degrees) to be used for a radius search","title":"Latitude"},"description":"Specify the latitude (degrees) to be used for a radius search"},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of latitude) Specify the latitude (degrees) to be used for a radius search","title":"Lat"},"description":"(alias of latitude) Specify the latitude (degrees) to be used for a radius search"},{"name":"longitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Specify the longitude (degrees) to be used for a radius search","title":"Longitude"},"description":"Specify the longitude (degrees) to be used for a radius search"},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of longitude) Specify the longitude (degrees) to be used for a radius search","title":"Lon"},"description":"(alias of longitude) Specify the longitude (degrees) to be used for a radius search"},{"name":"minradius","in":"query","required":false,"schema":{"type":"number","maximum":180.0,"minimum":0.0,"description":"Limit to events within the specified minimum number of degrees from the geographic point designed by the latitude and longitude parameters","default":0.0,"title":"Minradius"},"description":"Limit to events within the specified minimum number of degrees from the geographic point designed by the latitude and longitude parameters"},{"name":"maxradius","in":"query","required":false,"schema":{"type":"number","maximum":180.0,"minimum":0.0,"description":"Limit to events within the specified maximum number of degrees from the geographic point designed by the latitude and longitude parameters","default":180.0,"title":"Maxradius"},"description":"Limit to events within the specified maximum number of degrees from the geographic point designed by the latitude and longitude parameters"},{"name":"mindepth","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with depth (km) equal or more than the specified minimum","title":"Mindepth"},"description":"Limit to events with depth (km) equal or more than the specified minimum"},{"name":"maxdepth","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with depth (km) less than the specified maximium","title":"Maxdepth"},"description":"Limit to events with depth (km) less than the specified maximium"},{"name":"minmagnitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with a magnitude larger than the specified minimum","title":"Minmagnitude"},"description":"Limit to events with a magnitude larger than the specified minimum"},{"name":"minmag","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of minmagnitude) Limit to events with a magnitude equal or larger than the specified minimum","title":"Minmag"},"description":"(alias of minmagnitude) Limit to events with a magnitude equal or larger than the specified minimum"},{"name":"maxmagnitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with a magnitude smaller than the specified maximum","title":"Maxmagnitude"},"description":"Limit to events with a magnitude smaller than the specified maximum"},{"name":"maxmag","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of maxmagnitude) Limit to events with a magnitude smaller than the specified maximum","title":"Maxmag"},"description":"(alias of maxmagnitude) Limit to events with a magnitude smaller than the specified maximum"},{"name":"magnitudetype","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"Specify a magnitude type to use for testing the minimum and maximum limits","title":"Magnitudetype"},"description":"Specify a magnitude type to use for testing the minimum and maximum limits"},{"name":"magtype","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"(alias of magnitudetype) Specify a magnitude type to use for testing the minimum and maximum limits","title":"Magtype"},"description":"(alias of magnitudetype) Specify a magnitude type to use for testing the minimum and maximum limits"},{"name":"catalog","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"EMSC-RTS|EMSC-EMB"},{"type":"null"}],"description":"Limit to events from a specified catalog. Note that since 2012, only the EMSC-RTS catalog is in use.","title":"Catalog"},"description":"Limit to events from a specified catalog. Note that since 2012, only the EMSC-RTS catalog is in use."},{"name":"contributor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"description":"Limit to events contributed by a specified contributor","title":"Contributor"},"description":"Limit to events contributed by a specified contributor"},{"name":"updatedafter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Limit to events updated after the specified time","title":"Updatedafter"},"description":"Limit to events updated after the specified time"},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"Limit the results to the specified number of events","title":"Limit"},"description":"Limit the results to the specified number of events"},{"name":"offset","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"Return results starting at the event count specified, starting at 1","title":"Offset"},"description":"Return results starting at the event count specified, starting at 1"},{"name":"orderby","in":"query","required":false,"schema":{"type":"string","pattern":"time|time-asc|magnitude|magnitude-asc","description":"Order the result by time of magnitude","default":"time","title":"Orderby"},"description":"Order the result by time of magnitude"},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"xml|text|json|xml-gz|text-gz|json-gz|jsonp|jsonp-gz","description":"Specify format of result, either xml (QuakeML) (default) or text or json. Add -gz to receive a compressed response.","default":"xml","title":"Format"},"description":"Specify format of result, either xml (QuakeML) (default) or text or json. Add -gz to receive a compressed response."},{"name":"includeallorigins","in":"query","required":false,"schema":{"type":"boolean","description":"Specify if all origins for the event should be included (only prefered origin is returned by default) (format=text ignores this parameter)","default":false,"title":"Includeallorigins"},"description":"Specify if all origins for the event should be included (only prefered origin is returned by default) (format=text ignores this parameter)"},{"name":"includearrivals","in":"query","required":false,"schema":{"type":"boolean","description":"Specify if phase arrivals should be included (format=text ignores this parameter)","default":false,"title":"Includearrivals"},"description":"Specify if phase arrivals should be included (format=text ignores this parameter)"},{"name":"nodata","in":"query","required":false,"schema":{"type":"string","pattern":"204|404","description":"Select status code for \"no data\", either 204 or 404","default":"204","title":"Nodata"},"description":"Select status code for \"no data\", either 204 or 404"}],"responses":{"200":{"description":"Successful Response","content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\"?>\n<Counts>\n<Events>\n10\n</Events>\n</Counts>\n"},"application/json":{"example":{"count":10}},"text/plain":{"example":"10"},"application/gzip":{}}},"204":{"description":"Request was properly formatted and submitted but no data matches the selection."},"400":{"description":"Bad request due to improper specification, unrecognized parameter, parameter value out of range, etc."},"404":{"description":"Alternative to 204 (set via the 'nodata' parameter), normally used for results returned to a web browser."},"413":{"description":"Request would result in too much data being returned or the request itself is too large, returned error message should include the service limitations in the detailed description. Service limits should also be documented in the service WADL."},"422":{"description":"Bad request due to improper specification, unrecognized parameter, parameter value out of range, etc."},"500":{"description":"Internal server error"},"503":{"description":"Service temporarily unavailable, used in maintenance and error conditions."}}}},"/counts":{"get":{"summary":"Query","operationId":"query_counts_get","parameters":[{"name":"starttime","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Starttime"},"description":"limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"start","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"(alias of starttime) limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Start"},"description":"(alias of starttime) limit to events on or after the specified start time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"endtime","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"Endtime"},"description":"limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"end","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"(alias of endtime) limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)","title":"End"},"description":"(alias of endtime) limit to events on or before the specified end time: YYYY-MM-DD[T][HH:MM:SS][.sssss] (UTC by default)"},{"name":"eventid","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific event by ID (catalog specific)","title":"Eventid"},"description":"Select a specific event by ID (catalog specific)"},{"name":"evid","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Select a specific event by EMSC Event ID (EMSC specific) (alias of source_id)","title":"Evid"},"description":"Select a specific event by EMSC Event ID (EMSC specific) (alias of source_id)"},{"name":"minlatitude","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"Limit to events with a latitude (degrees) larger than or equal to the specified minumum","default":-90.0,"title":"Minlatitude"},"description":"Limit to events with a latitude (degrees) larger than or equal to the specified minumum"},{"name":"minlat","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"(alias of minlatitude) Limit to events with a latitude (degrees) larger than or equal to the specified minumum","default":-90.0,"title":"Minlat"},"description":"(alias of minlatitude) Limit to events with a latitude (degrees) larger than or equal to the specified minumum"},{"name":"maxlatitude","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"Limit to events with a latitude (degrees) smaller than or equal to the specified maximum","default":90.0,"title":"Maxlatitude"},"description":"Limit to events with a latitude (degrees) smaller than or equal to the specified maximum"},{"name":"maxlat","in":"query","required":false,"schema":{"type":"number","maximum":90.0,"minimum":-90.0,"description":"(alias of maxlatitude) Limit to events with a latitude (degrees) smaller than or equal to the specified maximum","default":90.0,"title":"Maxlat"},"description":"(alias of maxlatitude) Limit to events with a latitude (degrees) smaller than or equal to the specified maximum"},{"name":"minlongitude","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"Limit to events with a longitude (degrees) larger than or equal to the specified minumum","default":-180.0,"title":"Minlongitude"},"description":"Limit to events with a longitude (degrees) larger than or equal to the specified minumum"},{"name":"minlon","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"(alias of minlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified minumum","default":-180.0,"title":"Minlon"},"description":"(alias of minlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified minumum"},{"name":"maxlongitude","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"Limit to events with a longitude (degrees) larger than or equal to the specified maximums","default":180.0,"title":"Maxlongitude"},"description":"Limit to events with a longitude (degrees) larger than or equal to the specified maximums"},{"name":"maxlon","in":"query","required":false,"schema":{"type":"number","maximum":360.0,"minimum":-360.0,"description":"(alias of maxlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified maximum","default":180.0,"title":"Maxlon"},"description":"(alias of maxlongitude) Limit to events with a longitude (degrees) larger than or equal to the specified maximum"},{"name":"latitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Specify the latitude (degrees) to be used for a radius search","title":"Latitude"},"description":"Specify the latitude (degrees) to be used for a radius search"},{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of latitude) Specify the latitude (degrees) to be used for a radius search","title":"Lat"},"description":"(alias of latitude) Specify the latitude (degrees) to be used for a radius search"},{"name":"longitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Specify the longitude (degrees) to be used for a radius search","title":"Longitude"},"description":"Specify the longitude (degrees) to be used for a radius search"},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of longitude) Specify the longitude (degrees) to be used for a radius search","title":"Lon"},"description":"(alias of longitude) Specify the longitude (degrees) to be used for a radius search"},{"name":"minradius","in":"query","required":false,"schema":{"type":"number","maximum":180.0,"minimum":0.0,"description":"Limit to events within the specified minimum number of degrees from the geographic point designed by the latitude and longitude parameters","default":0.0,"title":"Minradius"},"description":"Limit to events within the specified minimum number of degrees from the geographic point designed by the latitude and longitude parameters"},{"name":"maxradius","in":"query","required":false,"schema":{"type":"number","maximum":180.0,"minimum":0.0,"description":"Limit to events within the specified maximum number of degrees from the geographic point designed by the latitude and longitude parameters","default":180.0,"title":"Maxradius"},"description":"Limit to events within the specified maximum number of degrees from the geographic point designed by the latitude and longitude parameters"},{"name":"mindepth","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with depth (km) equal or more than the specified minimum","title":"Mindepth"},"description":"Limit to events with depth (km) equal or more than the specified minimum"},{"name":"maxdepth","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with depth (km) less than the specified maximium","title":"Maxdepth"},"description":"Limit to events with depth (km) less than the specified maximium"},{"name":"minmagnitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with a magnitude larger than the specified minimum","title":"Minmagnitude"},"description":"Limit to events with a magnitude larger than the specified minimum"},{"name":"minmag","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of minmagnitude) Limit to events with a magnitude equal or larger than the specified minimum","title":"Minmag"},"description":"(alias of minmagnitude) Limit to events with a magnitude equal or larger than the specified minimum"},{"name":"maxmagnitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Limit to events with a magnitude smaller than the specified maximum","title":"Maxmagnitude"},"description":"Limit to events with a magnitude smaller than the specified maximum"},{"name":"maxmag","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"(alias of maxmagnitude) Limit to events with a magnitude smaller than the specified maximum","title":"Maxmag"},"description":"(alias of maxmagnitude) Limit to events with a magnitude smaller than the specified maximum"},{"name":"magnitudetype","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"Specify a magnitude type to use for testing the minimum and maximum limits","title":"Magnitudetype"},"description":"Specify a magnitude type to use for testing the minimum and maximum limits"},{"name":"magtype","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":10},{"type":"null"}],"description":"(alias of magnitudetype) Specify a magnitude type to use for testing the minimum and maximum limits","title":"Magtype"},"description":"(alias of magnitudetype) Specify a magnitude type to use for testing the minimum and maximum limits"},{"name":"catalog","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"EMSC-RTS|EMSC-EMB"},{"type":"null"}],"description":"Limit to events from a specified catalog. Note that since 2012, only the EMSC-RTS catalog is in use.","title":"Catalog"},"description":"Limit to events from a specified catalog. Note that since 2012, only the EMSC-RTS catalog is in use."},{"name":"contributor","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":5},{"type":"null"}],"description":"Limit to events contributed by a specified contributor","title":"Contributor"},"description":"Limit to events contributed by a specified contributor"},{"name":"updatedafter","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Limit to events updated after the specified time","title":"Updatedafter"},"description":"Limit to events updated after the specified time"},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"Limit the results to the specified number of events","title":"Limit"},"description":"Limit the results to the specified number of events"},{"name":"offset","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":1},{"type":"null"}],"description":"Return results starting at the event count specified, starting at 1","title":"Offset"},"description":"Return results starting at the event count specified, starting at 1"},{"name":"orderby","in":"query","required":false,"schema":{"type":"string","pattern":"time|time-asc|magnitude|magnitude-asc","description":"Order the result by time of magnitude","default":"time","title":"Orderby"},"description":"Order the result by time of magnitude"},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"xml|text|json|xml-gz|text-gz|json-gz|jsonp|jsonp-gz","description":"Specify format of result, either xml (QuakeML) (default) or text or json. Add -gz to receive a compressed response.","default":"xml","title":"Format"},"description":"Specify format of result, either xml (QuakeML) (default) or text or json. Add -gz to receive a compressed response."},{"name":"includeallorigins","in":"query","required":false,"schema":{"type":"boolean","description":"Specify if all origins for the event should be included (only prefered origin is returned by default) (format=text ignores this parameter)","default":false,"title":"Includeallorigins"},"description":"Specify if all origins for the event should be included (only prefered origin is returned by default) (format=text ignores this parameter)"},{"name":"includearrivals","in":"query","required":false,"schema":{"type":"boolean","description":"Specify if phase arrivals should be included (format=text ignores this parameter)","default":false,"title":"Includearrivals"},"description":"Specify if phase arrivals should be included (format=text ignores this parameter)"},{"name":"nodata","in":"query","required":false,"schema":{"type":"string","pattern":"204|404","description":"Select status code for \"no data\", either 204 or 404","default":"204","title":"Nodata"},"description":"Select status code for \"no data\", either 204 or 404"}],"responses":{"200":{"description":"Successful Response","content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\"?>\n<Counts>\n<Events>\n10\n</Events>\n</Counts>\n"},"application/json":{"example":{"count":10}},"text/plain":{"example":"10"},"application/gzip":{}}},"204":{"description":"Request was properly formatted and submitted but no data matches the selection."},"400":{"description":"Bad request due to improper specification, unrecognized parameter, parameter value out of range, etc."},"404":{"description":"Alternative to 204 (set via the 'nodata' parameter), normally used for results returned to a web browser."},"413":{"description":"Request would result in too much data being returned or the request itself is too large, returned error message should include the service limitations in the detailed description. Service limits should also be documented in the service WADL."},"422":{"description":"Bad request due to improper specification, unrecognized parameter, parameter value out of range, etc."},"500":{"description":"Internal server error"},"503":{"description":"Service temporarily unavailable, used in maintenance and error conditions."}}}}}}