From 60a07393149c3f05deca75510dbbea87a8439850 Mon Sep 17 00:00:00 2001 From: John Waller Date: Thu, 2 May 2024 13:58:19 +0200 Subject: [PATCH] updating requests_cache requirments to 1.0.0 #147 --- requirements.txt | 2 +- test/test-occurrences-download_request.py | 23 +++---- test/test-occurrences-get.py | 8 +-- test/test-registry-networks.py | 2 +- test/vcr_cassettes/test_get.yaml | 29 ++++----- test/vcr_cassettes/test_get_fragment.yaml | 8 +-- test/vcr_cassettes/test_get_verbatim.yaml | 24 +++----- test/vcr_cassettes/test_networks.yaml | 45 +++++++++----- test/vcr_cassettes/test_networks_limit.yaml | 68 ++++++++++++--------- test/vcr_cassettes/test_networks_uuid.yaml | 12 ++-- 10 files changed, 120 insertions(+), 101 deletions(-) diff --git a/requirements.txt b/requirements.txt index 797e554..2c8c919 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ geomet appdirs>=1.4.3 matplotlib sphinx_issues -requests-cache +requests-cache>=1.0.0 shapely>=1.5.13 # The commit introducing the following line and the version for vcrpy can be reverted # once https://github.com/kevin1024/vcrpy/issues/688 is fixed diff --git a/test/test-occurrences-download_request.py b/test/test-occurrences-download_request.py index 16b9b5b..4bfd929 100644 --- a/test/test-occurrences-download_request.py +++ b/test/test-occurrences-download_request.py @@ -52,17 +52,18 @@ def test_alternative_main_type(self): } ) - def test_add_predicate(self): - """test the predicate addition""" - req = GbifDownload("name", "email") - req.add_predicate("COUNTRY", "BE", "equals") - self.assertIsInstance(req.payload["predicate"]["predicates"], list) - self.assertEqual(len(req.payload["predicate"]["predicates"]), 1) - self.assertIsInstance(req.payload["predicate"]["predicates"][0], dict) - self.assertDictEqual( - req.payload["predicate"]["predicates"][0], - {"key": "COUNTRY", "type": "equals", "value": "BE"}, - ) + # deprecated method - to be removed + # def test_add_predicate(self): + # """test the predicate addition""" + # req = GbifDownload("name", "email") + # req.add_predicate("COUNTRY", "BE", "equals") + # self.assertIsInstance(req.payload["predicate"]["predicates"], list) + # self.assertEqual(len(req.payload["predicate"]["predicates"]), 1) + # self.assertIsInstance(req.payload["predicate"]["predicates"][0], dict) + # self.assertDictEqual( + # req.payload["predicate"]["predicates"][0], + # {"key": "COUNTRY", "type": "equals", "value": "BE"}, + # ) def test_add_iterative_predicate(self): """the the predicate addition of an iterative sequence""" diff --git a/test/test-occurrences-get.py b/test/test-occurrences-get.py index 1353846..a8e72da 100644 --- a/test/test-occurrences-get.py +++ b/test/test-occurrences-get.py @@ -6,19 +6,19 @@ @vcr.use_cassette("test/vcr_cassettes/test_get.yaml") def test_get(): "occurrences.get - basic test" - res = occurrences.get(key=1986620884) + res = occurrences.get(key=142316497) assert "dict" == res.__class__.__name__ assert len(res) > 30 - assert 1986620884 == res["key"] + assert 142316497 == res["key"] @vcr.use_cassette("test/vcr_cassettes/test_get_verbatim.yaml") def test_get_verbatim(): "occurrences.get_verbatim - basic test" - res = occurrences.get_verbatim(key=1986620884) + res = occurrences.get_verbatim(key=142316497) assert "dict" == res.__class__.__name__ assert len(res) > 20 - assert 1986620884 == res["key"] + assert 142316497 == res["key"] @vcr.use_cassette("test/vcr_cassettes/test_get_fragment.yaml") diff --git a/test/test-registry-networks.py b/test/test-registry-networks.py index a99f4de..96d7042 100644 --- a/test/test-registry-networks.py +++ b/test/test-registry-networks.py @@ -9,7 +9,7 @@ def test_networks(): res = registry.networks() assert dict == res.__class__ assert 2 == len(res) - assert 12 == len(res["data"]) + assert 13 == len(res["data"]) assert ["data", "meta"] == sorted(res.keys()) diff --git a/test/vcr_cassettes/test_get.yaml b/test/vcr_cassettes/test_get.yaml index d1a0a94..6a584ed 100644 --- a/test/vcr_cassettes/test_get.yaml +++ b/test/vcr_cassettes/test_get.yaml @@ -9,38 +9,31 @@ interactions: Connection: - keep-alive user-agent: - - python-requests/2.31.0,pygbif/0.6.3 + - python-requests/2.31.0,pygbif/0.6.4 method: GET - uri: https://api.gbif.org/v1/occurrence/1986620884 + uri: https://api.gbif.org/v1/occurrence/142316497 response: body: - string: '{"key":1986620884,"datasetKey":"50c9509d-22c7-4a22-a47d-8c48425ef4a7","publishingOrgKey":"28eb1a3f-1c15-4a95-931a-4af90ecb574d","installationKey":"997448a8-f762-11e1-a439-00145eb45e9a","hostingOrganizationKey":"28eb1a3f-1c15-4a95-931a-4af90ecb574d","publishingCountry":"US","protocol":"DWC_ARCHIVE","lastCrawled":"2024-02-23T05:16:29.968+00:00","lastParsed":"2024-02-23T14:29:43.197+00:00","crawlId":437,"extensions":{"http://rs.gbif.org/terms/1.0/Multimedia":[{"http://rs.tdwg.org/dwc/terms/catalogNumber":"30065447","http://purl.org/dc/terms/format":"image/jpeg","http://purl.org/dc/terms/identifier":"https://inaturalist-open-data.s3.amazonaws.com/photos/30065447/original.jpg","http://purl.org/dc/terms/rightsHolder":"John - Waller","http://purl.org/dc/terms/creator":"John Waller","http://purl.org/dc/terms/created":"2019-01-09T16:06:54Z","http://purl.org/dc/terms/publisher":"iNaturalist","http://purl.org/dc/terms/type":"StillImage","http://purl.org/dc/terms/references":"https://www.inaturalist.org/photos/30065447","http://purl.org/dc/terms/license":"http://creativecommons.org/licenses/by-nc/4.0/"}]},"basisOfRecord":"HUMAN_OBSERVATION","occurrenceStatus":"PRESENT","lifeStage":"Adult","taxonKey":4264680,"kingdomKey":1,"phylumKey":44,"classKey":359,"orderKey":1459,"familyKey":3240572,"genusKey":3240573,"speciesKey":4264680,"acceptedTaxonKey":4264680,"scientificName":"Myocastor - coypus (Molina, 1782)","acceptedScientificName":"Myocastor coypus (Molina, - 1782)","kingdom":"Animalia","phylum":"Chordata","order":"Rodentia","family":"Myocastoridae","genus":"Myocastor","species":"Myocastor - coypus","genericName":"Myocastor","specificEpithet":"coypus","taxonRank":"SPECIES","taxonomicStatus":"ACCEPTED","iucnRedListCategory":"LC","dateIdentified":"2019-01-09T18:12:11","decimalLatitude":48.755169,"decimalLongitude":25.102155,"coordinateUncertaintyInMeters":19.0,"continent":"EUROPE","stateProvince":"Ivano-Frankivs''k","gadm":{"level0":{"gid":"UKR","name":"Ukraine"},"level1":{"gid":"UKR.7_1","name":"Ivano-Frankivs''k"},"level2":{"gid":"UKR.7.14_1","name":"Tlumats''kyi"}},"year":2019,"month":1,"day":9,"eventDate":"2019-01-09T18:06:54","startDayOfYear":9,"endDayOfYear":9,"issues":["COORDINATE_ROUNDED","CONTINENT_DERIVED_FROM_COORDINATES","TAXON_MATCH_TAXON_ID_IGNORED"],"modified":"2023-02-10T01:24:27.000+00:00","lastInterpreted":"2024-02-23T14:29:43.197+00:00","references":"https://www.inaturalist.org/observations/19535428","license":"http://creativecommons.org/publicdomain/zero/1.0/legalcode","isSequenced":false,"identifiers":[{"identifier":"19535428"}],"media":[{"type":"StillImage","format":"image/jpeg","references":"https://www.inaturalist.org/photos/30065447","created":"2019-01-09T16:06:54.000+00:00","creator":"John - Waller","publisher":"iNaturalist","license":"http://creativecommons.org/licenses/by-nc/4.0/","rightsHolder":"John - Waller","identifier":"https://inaturalist-open-data.s3.amazonaws.com/photos/30065447/original.jpg"}],"facts":[],"relations":[],"isInCluster":false,"datasetName":"iNaturalist - research-grade observations","recordedBy":"John Waller","identifiedBy":"John - Waller","geodeticDatum":"WGS84","class":"Mammalia","countryCode":"UA","recordedByIDs":[],"identifiedByIDs":[],"gbifRegion":"EUROPE","country":"Ukraine","publishedByGbifRegion":"NORTH_AMERICA","rightsHolder":"John - Waller","identifier":"19535428","http://unknown.org/nick":"pigeonspotters1888","verbatimEventDate":"Wed - Jan 09 2019 20:06:54 GMT+0200 (GMT+2)","verbatimLocality":"Khotymyr, Khotymyr, - Ivano-Frankivsk Oblast, UA","collectionCode":"Observations","gbifID":"1986620884","occurrenceID":"https://www.inaturalist.org/observations/19535428","taxonID":"43997","catalogNumber":"19535428","institutionCode":"iNaturalist","eventTime":"18:06:54+02:00","http://unknown.org/captive":"wild","identificationID":"42848020"}' + string: "{\"key\":142316497,\"datasetKey\":\"8575f23e-f762-11e1-a439-00145eb45e9a\",\"publishingOrgKey\":\"57254bd0-8256-11d8-b7ed-b8a03c50a862\",\"networkKeys\":[\"17abcf75-2f1e-46dd-bf75-a5b21dd02655\"],\"installationKey\":\"60454014-f762-11e1-a439-00145eb45e9a\",\"hostingOrganizationKey\":\"57254bd0-8256-11d8-b7ed-b8a03c50a862\",\"publishingCountry\":\"DE\",\"protocol\":\"BIOCASE\",\"lastCrawled\":\"2024-04-28T21:25:35.174+00:00\",\"lastParsed\":\"2024-04-28T21:31:42.450+00:00\",\"crawlId\":275,\"extensions\":{},\"basisOfRecord\":\"PRESERVED_SPECIMEN\",\"occurrenceStatus\":\"PRESENT\",\"taxonKey\":3883382,\"kingdomKey\":6,\"phylumKey\":7707728,\"classKey\":220,\"orderKey\":408,\"familyKey\":2497,\"genusKey\":5428512,\"speciesKey\":10846508,\"acceptedTaxonKey\":10846508,\"scientificName\":\"Ballota + acetabulosa (L.) Benth.\",\"acceptedScientificName\":\"Pseudodictamnus acetabulosus + (L.) Salmaki & Siadati\",\"kingdom\":\"Plantae\",\"phylum\":\"Tracheophyta\",\"order\":\"Lamiales\",\"family\":\"Lamiaceae\",\"genus\":\"Pseudodictamnus\",\"species\":\"Pseudodictamnus + acetabulosus\",\"genericName\":\"Ballota\",\"specificEpithet\":\"acetabulosa\",\"taxonRank\":\"SPECIES\",\"taxonomicStatus\":\"SYNONYM\",\"iucnRedListCategory\":\"NE\",\"decimalLatitude\":38.10695,\"decimalLongitude\":26.85083,\"elevation\":0.0,\"continent\":\"ASIA\",\"gadm\":{\"level0\":{\"gid\":\"TUR\",\"name\":\"Turkey\"},\"level1\":{\"gid\":\"TUR.41_1\",\"name\":\"Izmir\"},\"level2\":{\"gid\":\"TUR.41.24_1\",\"name\":\"Seferihisar\"}},\"year\":1999,\"month\":6,\"day\":18,\"eventDate\":\"1999-06-18T00:00\",\"startDayOfYear\":169,\"endDayOfYear\":169,\"issues\":[\"GEODETIC_DATUM_ASSUMED_WGS84\",\"CONTINENT_DERIVED_FROM_COORDINATES\",\"COLLECTION_MATCH_NONE\",\"INSTITUTION_MATCH_FUZZY\"],\"lastInterpreted\":\"2024-04-28T21:31:42.450+00:00\",\"license\":\"http://creativecommons.org/licenses/by/4.0/legalcode\",\"isSequenced\":false,\"identifiers\":[{\"identifier\":\"urn:catalog:BGBM:Pontaurus:1\"}],\"media\":[],\"facts\":[],\"relations\":[],\"institutionKey\":\"4cf93dd2-06c8-4f49-89bc-a5d0805c6747\",\"isInCluster\":false,\"recordedBy\":\"Markus + D\xF6ring\",\"identifiedBy\":\"Markus D\xF6ring\",\"geodeticDatum\":\"WGS84\",\"class\":\"Magnoliopsida\",\"countryCode\":\"TR\",\"recordedByIDs\":[],\"identifiedByIDs\":[],\"gbifRegion\":\"EUROPE\",\"country\":\"T\xFCrkiye\",\"publishedByGbifRegion\":\"EUROPE\",\"catalogNumber\":\"1\",\"institutionCode\":\"BGBM\",\"gbifID\":\"142316497\",\"collectionCode\":\"Pontaurus\"}" headers: Accept-Ranges: - bytes Age: - - '0' + - '312' Cache-Control: - public, max-age=3601 Connection: - keep-alive Content-Length: - - '3820' + - '2234' Content-Type: - application/json Date: - - Fri, 01 Mar 2024 08:32:20 GMT + - Thu, 02 May 2024 09:55:30 GMT Expires: - '0' Pragma: @@ -54,7 +47,7 @@ interactions: X-Frame-Options: - DENY X-Varnish: - - '725189778' + - 619577756 617153489 X-XSS-Protection: - 1; mode=block status: diff --git a/test/vcr_cassettes/test_get_fragment.yaml b/test/vcr_cassettes/test_get_fragment.yaml index ba6bfaf..6bd3012 100644 --- a/test/vcr_cassettes/test_get_fragment.yaml +++ b/test/vcr_cassettes/test_get_fragment.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive user-agent: - - python-requests/2.31.0,pygbif/0.6.3 + - python-requests/2.31.0,pygbif/0.6.4 method: GET uri: https://api.gbif.org/v1/occurrence/1986620884/fragment response: @@ -27,7 +27,7 @@ interactions: Accept-Ranges: - bytes Age: - - '0' + - '59' Cache-Control: - public, max-age=3601 Connection: @@ -37,7 +37,7 @@ interactions: Content-Type: - application/json Date: - - Fri, 01 Mar 2024 08:32:21 GMT + - Thu, 02 May 2024 10:15:20 GMT Expires: - '0' Pragma: @@ -51,7 +51,7 @@ interactions: X-Frame-Options: - DENY X-Varnish: - - '705464058' + - 521640760 615810878 X-XSS-Protection: - 1; mode=block status: diff --git a/test/vcr_cassettes/test_get_verbatim.yaml b/test/vcr_cassettes/test_get_verbatim.yaml index 298a225..68c7405 100644 --- a/test/vcr_cassettes/test_get_verbatim.yaml +++ b/test/vcr_cassettes/test_get_verbatim.yaml @@ -9,34 +9,30 @@ interactions: Connection: - keep-alive user-agent: - - python-requests/2.31.0,pygbif/0.6.3 + - python-requests/2.31.0,pygbif/0.6.4 method: GET - uri: https://api.gbif.org/v1/occurrence/1986620884/verbatim + uri: https://api.gbif.org/v1/occurrence/142316497/verbatim response: body: - string: '{"key":1986620884,"datasetKey":"50c9509d-22c7-4a22-a47d-8c48425ef4a7","publishingOrgKey":"28eb1a3f-1c15-4a95-931a-4af90ecb574d","installationKey":"997448a8-f762-11e1-a439-00145eb45e9a","publishingCountry":"US","protocol":"DWC_ARCHIVE","lastCrawled":"2024-02-23T05:16:29.968+00:00","lastParsed":"2024-02-23T14:29:43.197+00:00","crawlId":437,"extensions":{"http://rs.gbif.org/terms/1.0/Multimedia":[{"http://rs.tdwg.org/dwc/terms/catalogNumber":"30065447","http://purl.org/dc/terms/format":"image/jpeg","http://purl.org/dc/terms/identifier":"https://inaturalist-open-data.s3.amazonaws.com/photos/30065447/original.jpg","http://purl.org/dc/terms/rightsHolder":"John - Waller","http://purl.org/dc/terms/creator":"John Waller","http://purl.org/dc/terms/created":"2019-01-09T16:06:54Z","http://purl.org/dc/terms/publisher":"iNaturalist","http://purl.org/dc/terms/type":"StillImage","http://purl.org/dc/terms/references":"https://www.inaturalist.org/photos/30065447","http://purl.org/dc/terms/license":"http://creativecommons.org/licenses/by-nc/4.0/"}]},"publishedByGbifRegion":"NORTH_AMERICA","http://rs.tdwg.org/dwc/terms/verbatimEventDate":"Wed - Jan 09 2019 20:06:54 GMT+0200 (GMT+2)","http://rs.tdwg.org/dwc/terms/collectionCode":"Observations","http://rs.tdwg.org/dwc/terms/taxonID":"43997","http://rs.tdwg.org/dwc/terms/order":"Rodentia","http://rs.tdwg.org/dwc/terms/verbatimLocality":"Khotymyr, - Khotymyr, Ivano-Frankivsk Oblast, UA","http://rs.tdwg.org/dwc/terms/taxonRank":"species","http://rs.tdwg.org/dwc/terms/lifeStage":"adult","http://rs.tdwg.org/dwc/terms/basisOfRecord":"HumanObservation","http://purl.org/dc/terms/rightsHolder":"John - Waller","http://rs.tdwg.org/dwc/terms/identificationID":"42848020","http://rs.tdwg.org/dwc/terms/family":"Echimyidae","http://purl.org/dc/terms/modified":"2023-02-10T01:24:27Z","http://rs.tdwg.org/dwc/terms/decimalLatitude":"48.7551693647","http://rs.tdwg.org/dwc/terms/eventTime":"18:06:54+02:00","http://rs.tdwg.org/dwc/terms/stateProvince":"Ivano-Frankivs''k","http://rs.tdwg.org/dwc/terms/scientificName":"Myocastor - coypus","http://rs.tdwg.org/dwc/terms/recordedBy":"John Waller","http://rs.tdwg.org/dwc/terms/phylum":"Chordata","http://purl.org/dc/terms/license":"http://creativecommons.org/publicdomain/zero/1.0/","http://rs.gbif.org/terms/1.0/gbifID":"1986620884","http://rs.tdwg.org/dwc/terms/datasetName":"iNaturalist - research-grade observations","http://rs.tdwg.org/dwc/terms/genus":"Myocastor","http://rs.tdwg.org/dwc/terms/kingdom":"Animalia","http://rs.tdwg.org/dwc/terms/coordinateUncertaintyInMeters":"19","http://purl.org/dc/terms/identifier":"19535428","https://www.inaturalist.org/schema/terms/captive":"wild","http://rs.tdwg.org/dwc/terms/class":"Mammalia","http://rs.tdwg.org/dwc/terms/occurrenceID":"https://www.inaturalist.org/observations/19535428","http://rs.tdwg.org/dwc/terms/identifiedBy":"John - Waller","http://rs.tdwg.org/dwc/terms/eventDate":"2019-01-09T18:06:54+02:00","http://rs.tdwg.org/dwc/terms/catalogNumber":"19535428","http://purl.org/dc/terms/references":"https://www.inaturalist.org/observations/19535428","http://rs.tdwg.org/dwc/terms/decimalLongitude":"25.1021547229","http://rs.tdwg.org/dwc/terms/countryCode":"UA","http://rs.tdwg.org/dwc/terms/institutionCode":"iNaturalist","http://xmlns.com/foaf/0.1/nick":"pigeonspotters1888","http://rs.tdwg.org/dwc/terms/geodeticDatum":"EPSG:4326","http://rs.tdwg.org/dwc/terms/dateIdentified":"2019-01-09T18:12:11Z"}' + string: "{\"key\":142316497,\"datasetKey\":\"8575f23e-f762-11e1-a439-00145eb45e9a\",\"publishingOrgKey\":\"57254bd0-8256-11d8-b7ed-b8a03c50a862\",\"networkKeys\":[\"17abcf75-2f1e-46dd-bf75-a5b21dd02655\"],\"installationKey\":\"60454014-f762-11e1-a439-00145eb45e9a\",\"publishingCountry\":\"DE\",\"protocol\":\"BIOCASE\",\"lastCrawled\":\"2024-04-28T21:25:35.174+00:00\",\"lastParsed\":\"2024-04-28T21:31:42.450+00:00\",\"crawlId\":275,\"extensions\":{},\"publishedByGbifRegion\":\"EUROPE\",\"http://rs.gbif.org/terms/1.0/gbifID\":\"142316497\",\"http://rs.tdwg.org/dwc/terms/kingdom\":\"Plantae\",\"http://purl.org/dc/terms/identifier\":\"urn:catalog:BGBM:Pontaurus:1\",\"http://rs.tdwg.org/dwc/terms/country\":\"Turkey\",\"http://rs.tdwg.org/dwc/terms/class\":\"Magnoliopsida\",\"http://rs.tdwg.org/dwc/terms/collectionCode\":\"Pontaurus\",\"http://rs.tdwg.org/dwc/terms/order\":\"Lamiales\",\"http://rs.tdwg.org/dwc/terms/minimumElevationInMeters\":\"0\",\"http://rs.tdwg.org/dwc/terms/identifiedBy\":\"Markus + D\xF6ring\",\"http://rs.tdwg.org/dwc/terms/basisOfRecord\":\"specimen\",\"http://rs.tdwg.org/dwc/terms/eventDate\":\"1999-06-18T00:00:00\",\"http://rs.tdwg.org/dwc/terms/catalogNumber\":\"1\",\"http://rs.tdwg.org/dwc/terms/family\":\"Lamiaceae\",\"http://rs.tdwg.org/dwc/terms/decimalLongitude\":\"26.85083\",\"http://rs.tdwg.org/dwc/terms/decimalLatitude\":\"38.10695\",\"http://rs.tdwg.org/dwc/terms/institutionCode\":\"BGBM\",\"http://rs.tdwg.org/dwc/terms/scientificName\":\"Ballota + acetabulosa (L.) Benth.\",\"http://rs.tdwg.org/dwc/terms/recordedBy\":\"Markus + D\xF6ring\",\"http://rs.tdwg.org/dwc/terms/phylum\":\"Magnoliophyta\"}" headers: Accept-Ranges: - bytes Age: - - '0' + - '372' Cache-Control: - public, max-age=3601 Connection: - keep-alive Content-Length: - - '3438' + - '1517' Content-Type: - application/json Date: - - Fri, 01 Mar 2024 08:32:21 GMT + - Thu, 02 May 2024 09:55:28 GMT Expires: - '0' Pragma: @@ -50,7 +46,7 @@ interactions: X-Frame-Options: - DENY X-Varnish: - - '709396787' + - 293846355 581601578 X-XSS-Protection: - 1; mode=block status: diff --git a/test/vcr_cassettes/test_networks.yaml b/test/vcr_cassettes/test_networks.yaml index a7f3a1d..30cee76 100644 --- a/test/vcr_cassettes/test_networks.yaml +++ b/test/vcr_cassettes/test_networks.yaml @@ -9,12 +9,29 @@ interactions: Connection: - keep-alive user-agent: - - python-requests/2.31.0,pygbif/0.6.3 + - python-requests/2.31.0,pygbif/0.6.4 method: GET uri: https://api.gbif.org/v1/network?limit=100 response: body: - string: "{\"offset\":0,\"limit\":100,\"endOfRecords\":true,\"count\":12,\"results\":[{\"key\":\"0b00b924-016b-4954-96a7-2d9264b5d0ba\",\"title\":\"SwissBIF + string: "{\"offset\":0,\"limit\":100,\"endOfRecords\":true,\"count\":13,\"results\":[{\"key\":\"a6cdb5d1-d358-4ac0-b75c-2c33cf6c8936\",\"title\":\"Long-term + Ecological Research Program - PELD/CNPq, Brazil\",\"description\":\"The PELD + program, held for 23 years by the National Council for Scientific and Technological + Development (CNPq) is maintained by ongoing Public Calls. The PELD network + currently has 34 reference sites distributed in all biomes from Brazil, operating + in dozens of protected areas and areas subject to anthropic impacts. The Program + has a well-established and active management structure, in which the Management + and Scientific Committees act in an integrated manner for strategic decisions + in order to improve the Program. It is a member of the International Network + for Long Term Ecological Research - ILTER, which brings together 44 member + countries and their networks of long-term research sites. The program has + been pooling efforts to foster a national culture devoted to long-term ecological + research that can address environmental issues and point to solutions and + practices for sustainable use of natural resources and ecosystem services, + with important contributions to the proposition of public policies, promoting + biodiversity conservation and human welfare.\\n\\nhttps://www.gov.br/cnpq/pt-br/acesso-a-informacao/acoes-e-programas/programas/peld\",\"language\":\"eng\",\"numConstituents\":17,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-11T14:48:10.451+00:00\",\"modified\":\"2024-03-11T14:54:56.037+00:00\",\"contacts\":[{\"key\":5179449,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Conselho + Nacional de Desenvolvimento Cient\xEDfico e Tecnol\xF3gico (CNPq/MCTI)\",\"position\":[],\"email\":[\"peld@cnpq.br\"],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-11T14:48:56.732+00:00\",\"modified\":\"2024-03-11T14:53:54.442+00:00\"},{\"key\":5179450,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Sistema + de Informa\xE7\xE3o sobre a biodiversidade Brasileira (SiBBr)\",\"position\":[],\"email\":[\"atendimento_sibbr@rnp.br\"],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-11T14:49:36.777+00:00\",\"modified\":\"2024-03-11T14:54:04.531+00:00\"}],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"0b00b924-016b-4954-96a7-2d9264b5d0ba\",\"title\":\"SwissBIF (swissbif.ch) : Swiss Biodiversity Information Facility [Daten Biodiversit\xE4t Schweiz \u2013 Donn\xE9es Biodiversit\xE9 Suisse]\",\"description\":\"The Swiss Biodiversity Information Facility (SwissBIF) operates a network of partners @@ -29,7 +46,7 @@ interactions: contributions, cantonal agencies for conservation, administrations of protected areas, federal offices. Participants to the network work under common procedures, an agreed ethical framework and coordinated data flow that ease providing - access to multidimensional and coherent data.\",\"language\":\"eng\",\"numConstituents\":0,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-01T14:17:44.135+00:00\",\"modified\":\"2024-03-01T14:17:44.135+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"2ee1bff7-0b34-4fa3-9433-feaa7c6ee08b\",\"title\":\"Biodiversidad + access to multidimensional and coherent data.\",\"language\":\"eng\",\"numConstituents\":2,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-01T14:17:44.135+00:00\",\"modified\":\"2024-03-01T14:17:44.135+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"2ee1bff7-0b34-4fa3-9433-feaa7c6ee08b\",\"title\":\"Biodiversidad y Desarrollo Colombia\",\"description\":\"Biodiversidad y Desarrollo es una plataforma para promover y amplificar la gesti\xF3n empresarial en biodiversidad. Inicia en el a\xF1o 2014 en la Asociaci\xF3n Nacional de Empresarios de Colombia @@ -45,8 +62,8 @@ interactions: para garantizar la participaci\xF3n del sector empresarial a nivel nacional e internacional, acelerando la generaci\xF3n de conocimiento de la biodiversidad a partir de la publicaci\xF3n de datos a trav\xE9s del SiB Colombia y GBIF, - de una manera organizada y sistem\xE1tica.\",\"language\":\"spa\",\"numConstituents\":360,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2023-05-15T07:13:37.374+00:00\",\"modified\":\"2023-05-15T07:13:37.374+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"8534dd20-c368-4a1f-bdaf-e6b390710f89\",\"title\":\"SCAR - Scientific Committee on Antarctic Research\",\"language\":\"eng\",\"numConstituents\":234,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-02-18T13:27:40.670+00:00\",\"modified\":\"2022-02-18T14:56:04.788+00:00\",\"contacts\":[{\"key\":3394109,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Anton\",\"lastName\":\"Van + de una manera organizada y sistem\xE1tica.\",\"language\":\"spa\",\"numConstituents\":382,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2023-05-15T07:13:37.374+00:00\",\"modified\":\"2023-05-15T07:13:37.374+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"8534dd20-c368-4a1f-bdaf-e6b390710f89\",\"title\":\"SCAR + Scientific Committee on Antarctic Research\",\"language\":\"eng\",\"numConstituents\":235,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-02-18T13:27:40.670+00:00\",\"modified\":\"2022-02-18T14:56:04.788+00:00\",\"contacts\":[{\"key\":3394109,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Anton\",\"lastName\":\"Van de Putte\",\"position\":[],\"email\":[\"antonarctica@gmail.com\",\"avandeputte@naturalsciences.be\"],\"phone\":[],\"homepage\":[],\"organization\":\"Royal Belgian Institute of Natural Sciences\",\"address\":[\"Vautierstraat 29\"],\"city\":\"Brussels\",\"country\":\"BE\",\"postalCode\":\"1000\",\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-03-01T14:06:23.259+00:00\",\"modified\":\"2022-03-01T14:06:23.259+00:00\"},{\"key\":3394209,\"type\":\"POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Yi Ming\",\"lastName\":\"Gan\",\"position\":[],\"email\":[\"ymgan@naturalsciences.be\"],\"phone\":[],\"homepage\":[],\"organization\":\"Royal @@ -70,18 +87,18 @@ interactions: 2018 to develop a comprehensive Construction Masterplan, which will be followed by a construction phase. The RI will become fully operational in 2025. More information is available at the https://dissco.eu. Information about the technical - architecture can be found at: https://blog.dissco.tech.\",\"language\":\"eng\",\"numConstituents\":622,\"email\":[],\"phone\":[],\"homepage\":[\"https://www.dissco.eu\"],\"address\":[],\"createdBy\":\"mgrosjean\",\"modifiedBy\":\"wouter.addink\",\"created\":\"2021-04-09T13:02:15.137+00:00\",\"modified\":\"2021-04-09T15:35:54.762+00:00\",\"contacts\":[{\"key\":2371590,\"type\":\"TECHNICAL_POINT_OF_CONTACT\",\"primary\":true,\"userId\":[],\"firstName\":\"Wouter\",\"lastName\":\"Addink\",\"position\":[\"GBIF + architecture can be found at: https://blog.dissco.tech.\",\"language\":\"eng\",\"numConstituents\":612,\"email\":[],\"phone\":[],\"homepage\":[\"https://www.dissco.eu\"],\"address\":[],\"createdBy\":\"mgrosjean\",\"modifiedBy\":\"wouter.addink\",\"created\":\"2021-04-09T13:02:15.137+00:00\",\"modified\":\"2021-04-09T15:35:54.762+00:00\",\"contacts\":[{\"key\":2371590,\"type\":\"TECHNICAL_POINT_OF_CONTACT\",\"primary\":true,\"userId\":[],\"firstName\":\"Wouter\",\"lastName\":\"Addink\",\"position\":[\"GBIF node manager for DiSSCo\",\"Coordinator Research-data and E-infrastructure\"],\"email\":[\"info@dissco.eu\"],\"phone\":[],\"homepage\":[\"dissco.eu\"],\"organization\":\"Naturalis Biodiversity Center\",\"address\":[],\"city\":\"Leiden\",\"country\":\"NL\",\"postalCode\":\"2300 RA\",\"createdBy\":\"mgrosjean\",\"modifiedBy\":\"wouter.addink\",\"created\":\"2021-04-09T13:04:41.842+00:00\",\"modified\":\"2021-04-09T15:41:50.300+00:00\"}],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"3aee7756-565e-4dc5-b22c-f997fbd7105c\",\"title\":\"Virtuelles - Herbarium Deutschland / Virtual Herbarium Germany\",\"language\":\"eng\",\"numConstituents\":25,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T09:45:30.307+00:00\",\"modified\":\"2021-02-01T09:45:30.307+00:00\",\"contacts\":[{\"key\":2301987,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"J\xF6rg\",\"lastName\":\"Holetschek\",\"position\":[],\"email\":[\"J.Holetschek@bgbm.org\"],\"phone\":[],\"homepage\":[],\"address\":[],\"city\":\"Berlin\",\"country\":\"DE\",\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T10:36:10.175+00:00\",\"modified\":\"2021-02-01T10:36:10.175+00:00\"},{\"key\":2301988,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Wolf-Henning\",\"lastName\":\"Kusber\",\"position\":[],\"email\":[\"w.h.kusber@bgbm.org\"],\"phone\":[],\"homepage\":[],\"address\":[],\"city\":\"Berlin\",\"country\":\"DE\",\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T10:37:11.523+00:00\",\"modified\":\"2021-02-01T10:37:11.523+00:00\"}],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"99d66b6c-9087-452f-a9d4-f15f2c2d0e7e\",\"title\":\"VertNet\",\"language\":\"eng\",\"numConstituents\":634,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"Andrea\",\"modifiedBy\":\"trobertson\",\"created\":\"2021-01-08T13:40:19.570+00:00\",\"modified\":\"2022-05-27T18:09:55.434+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"379a0de5-f377-4661-9a30-33dd844e7b9a\",\"title\":\"Living - Norway Ecological Data Network\",\"language\":\"eng\",\"numConstituents\":97,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2020-11-10T09:03:56.148+00:00\",\"modified\":\"2020-11-10T09:03:56.148+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[{\"key\":7598721,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"trobertson\",\"created\":\"2021-01-20T15:43:23.755+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"b153643d-735a-440f-a0e9-428b4f9d1cd2\",\"title\":\"TrIAS\",\"description\":\"TrIAS + Herbarium Deutschland / Virtual Herbarium Germany\",\"language\":\"eng\",\"numConstituents\":24,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T09:45:30.307+00:00\",\"modified\":\"2021-02-01T09:45:30.307+00:00\",\"contacts\":[{\"key\":2301987,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"J\xF6rg\",\"lastName\":\"Holetschek\",\"position\":[],\"email\":[\"J.Holetschek@bgbm.org\"],\"phone\":[],\"homepage\":[],\"address\":[],\"city\":\"Berlin\",\"country\":\"DE\",\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T10:36:10.175+00:00\",\"modified\":\"2021-02-01T10:36:10.175+00:00\"},{\"key\":2301988,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Wolf-Henning\",\"lastName\":\"Kusber\",\"position\":[],\"email\":[\"w.h.kusber@bgbm.org\"],\"phone\":[],\"homepage\":[],\"address\":[],\"city\":\"Berlin\",\"country\":\"DE\",\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T10:37:11.523+00:00\",\"modified\":\"2021-02-01T10:37:11.523+00:00\"}],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"99d66b6c-9087-452f-a9d4-f15f2c2d0e7e\",\"title\":\"VertNet\",\"language\":\"eng\",\"numConstituents\":636,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"Andrea\",\"modifiedBy\":\"trobertson\",\"created\":\"2021-01-08T13:40:19.570+00:00\",\"modified\":\"2022-05-27T18:09:55.434+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"379a0de5-f377-4661-9a30-33dd844e7b9a\",\"title\":\"Living + Norway Ecological Data Network\",\"language\":\"eng\",\"numConstituents\":115,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2020-11-10T09:03:56.148+00:00\",\"modified\":\"2020-11-10T09:03:56.148+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[{\"key\":7598721,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"trobertson\",\"created\":\"2021-01-20T15:43:23.755+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"b153643d-735a-440f-a0e9-428b4f9d1cd2\",\"title\":\"TrIAS\",\"description\":\"TrIAS is Belgian project building an open data-driven framework to support policy on invasive species.\",\"language\":\"eng\",\"numConstituents\":39,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2019-06-17T10:59:35.820+00:00\",\"modified\":\"2019-06-17T10:59:35.820+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[{\"key\":7655748,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"trobertson\",\"created\":\"2021-01-26T15:55:48.505+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"1f2c0cbe-40df-43f6-ba07-e76133e78c31\",\"title\":\"Arctos\",\"description\":\"Arctos is a community, a collection management information system, and a provider of research-grade data. It provides fundamental research infrastructure and is intended for curators, collection managers, investigators, educators, and - anyone interested in natural and cultural history.\",\"language\":\"eng\",\"numConstituents\":153,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"trobertson\",\"modifiedBy\":\"trobertson\",\"created\":\"2019-04-30T09:05:56.259+00:00\",\"modified\":\"2019-04-30T09:05:56.259+00:00\",\"contacts\":[{\"key\":1673408,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Dusty + anyone interested in natural and cultural history.\",\"language\":\"eng\",\"numConstituents\":154,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"trobertson\",\"modifiedBy\":\"trobertson\",\"created\":\"2019-04-30T09:05:56.259+00:00\",\"modified\":\"2019-04-30T09:05:56.259+00:00\",\"contacts\":[{\"key\":1673408,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Dusty L.\",\"lastName\":\"McDonald\",\"position\":[],\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"mgrosjean\",\"modifiedBy\":\"mgrosjean\",\"created\":\"2019-09-24T07:45:55.731+00:00\",\"modified\":\"2019-09-24T07:45:55.731+00:00\"},{\"key\":1673409,\"type\":\"TECHNICAL_POINT_OF_CONTACT\",\"primary\":true,\"userId\":[],\"firstName\":\"Michelle\",\"lastName\":\"Koo\",\"position\":[\"Staff Curator of Biodiversity Informatics\"],\"email\":[\"mkoo@berkeley.edu\"],\"phone\":[\"5106428547\"],\"homepage\":[],\"organization\":\"Museum of Vertebrate Zoology, University of California Berkeley\",\"address\":[],\"city\":\"Berkeley\",\"province\":\"CA\",\"country\":\"US\",\"postalCode\":\"94720-3160\",\"createdBy\":\"mgrosjean\",\"modifiedBy\":\"mgrosjean\",\"created\":\"2019-09-24T07:47:08.876+00:00\",\"modified\":\"2019-09-24T07:47:08.876+00:00\"},{\"key\":1673434,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Mariel @@ -95,7 +112,7 @@ interactions: Life and Freshwater BON\",\"language\":\"eng\",\"numConstituents\":58,\"email\":[],\"phone\":[],\"homepage\":[\"http://www.freshwaterplatform.eu\"],\"address\":[],\"createdBy\":\"mgrosjean\",\"modifiedBy\":\"mgrosjean\",\"created\":\"2019-02-28T10:57:05.677+00:00\",\"modified\":\"2019-02-28T10:57:05.677+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[{\"key\":7655747,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"trobertson\",\"created\":\"2021-01-26T15:55:08.507+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"2b7c7b4f-4d4f-40d3-94de-c28b6fa054a6\",\"title\":\"Ocean Biodiversity Information System (OBIS)\",\"description\":\"The Ocean Biodiversity Information System (OBIS) is a global open-access data and information clearing-house - on marine biodiversity for science, conservation and sustainable development.\",\"language\":\"eng\",\"numConstituents\":2700,\"email\":[],\"phone\":[],\"homepage\":[\"https://obis.org\"],\"logoUrl\":\"https://obis.org/images/logo.png\",\"address\":[],\"createdBy\":\"ADMIN\",\"modifiedBy\":\"MattBlissett\",\"created\":\"2007-04-03T08:31:37.000+00:00\",\"modified\":\"2020-06-17T11:34:47.474+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[{\"key\":7598741,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"MattBlissett\",\"created\":\"2021-01-20T15:54:18.923+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]}]}" + on marine biodiversity for science, conservation and sustainable development.\",\"language\":\"eng\",\"numConstituents\":2713,\"email\":[],\"phone\":[],\"homepage\":[\"https://obis.org\"],\"logoUrl\":\"https://obis.org/images/logo.png\",\"address\":[],\"createdBy\":\"ADMIN\",\"modifiedBy\":\"MattBlissett\",\"created\":\"2007-04-03T08:31:37.000+00:00\",\"modified\":\"2020-06-17T11:34:47.474+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[{\"key\":7598741,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"MattBlissett\",\"created\":\"2021-01-20T15:54:18.923+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]}]}" headers: Accept-Ranges: - bytes @@ -105,16 +122,16 @@ interactions: - public, max-age=3601 Connection: - keep-alive - Content-Length: - - '15166' Content-Type: - application/json Date: - - Wed, 06 Mar 2024 11:03:05 GMT + - Thu, 02 May 2024 11:37:05 GMT Expires: - '0' Pragma: - no-cache + Transfer-Encoding: + - chunked Vary: - Origin, Access-Control-Request-Method, Access-Control-Request-Headers Via: @@ -124,7 +141,7 @@ interactions: X-Frame-Options: - DENY X-Varnish: - - '753009896' + - '689670593' X-XSS-Protection: - 1; mode=block status: diff --git a/test/vcr_cassettes/test_networks_limit.yaml b/test/vcr_cassettes/test_networks_limit.yaml index 65e95e0..32b4e07 100644 --- a/test/vcr_cassettes/test_networks_limit.yaml +++ b/test/vcr_cassettes/test_networks_limit.yaml @@ -9,12 +9,44 @@ interactions: Connection: - keep-alive user-agent: - - python-requests/2.31.0,pygbif/0.6.3 + - python-requests/2.31.0,pygbif/0.6.4 method: GET uri: https://api.gbif.org/v1/network?limit=5 response: body: - string: "{\"offset\":0,\"limit\":5,\"endOfRecords\":false,\"count\":11,\"results\":[{\"key\":\"2ee1bff7-0b34-4fa3-9433-feaa7c6ee08b\",\"title\":\"Biodiversidad + string: "{\"offset\":0,\"limit\":5,\"endOfRecords\":false,\"count\":13,\"results\":[{\"key\":\"a6cdb5d1-d358-4ac0-b75c-2c33cf6c8936\",\"title\":\"Long-term + Ecological Research Program - PELD/CNPq, Brazil\",\"description\":\"The PELD + program, held for 23 years by the National Council for Scientific and Technological + Development (CNPq) is maintained by ongoing Public Calls. The PELD network + currently has 34 reference sites distributed in all biomes from Brazil, operating + in dozens of protected areas and areas subject to anthropic impacts. The Program + has a well-established and active management structure, in which the Management + and Scientific Committees act in an integrated manner for strategic decisions + in order to improve the Program. It is a member of the International Network + for Long Term Ecological Research - ILTER, which brings together 44 member + countries and their networks of long-term research sites. The program has + been pooling efforts to foster a national culture devoted to long-term ecological + research that can address environmental issues and point to solutions and + practices for sustainable use of natural resources and ecosystem services, + with important contributions to the proposition of public policies, promoting + biodiversity conservation and human welfare.\\n\\nhttps://www.gov.br/cnpq/pt-br/acesso-a-informacao/acoes-e-programas/programas/peld\",\"language\":\"eng\",\"numConstituents\":17,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-11T14:48:10.451+00:00\",\"modified\":\"2024-03-11T14:54:56.037+00:00\",\"contacts\":[{\"key\":5179449,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Conselho + Nacional de Desenvolvimento Cient\xEDfico e Tecnol\xF3gico (CNPq/MCTI)\",\"position\":[],\"email\":[\"peld@cnpq.br\"],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-11T14:48:56.732+00:00\",\"modified\":\"2024-03-11T14:53:54.442+00:00\"},{\"key\":5179450,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Sistema + de Informa\xE7\xE3o sobre a biodiversidade Brasileira (SiBBr)\",\"position\":[],\"email\":[\"atendimento_sibbr@rnp.br\"],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-11T14:49:36.777+00:00\",\"modified\":\"2024-03-11T14:54:04.531+00:00\"}],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"0b00b924-016b-4954-96a7-2d9264b5d0ba\",\"title\":\"SwissBIF + (swissbif.ch) : Swiss Biodiversity Information Facility [Daten Biodiversit\xE4t + Schweiz \u2013 Donn\xE9es Biodiversit\xE9 Suisse]\",\"description\":\"The + Swiss Biodiversity Information Facility (SwissBIF) operates a network of partners + who contribute at responding to the Swiss Federal Council\u2019s commitment + of sharing standardized biodiversity data with the global initiative (Global + Biodiversity Information Facility). Under the auspices of the Swiss Federal + Office for the Environment, SwissBIF brings together active actors that strengthen + the international exchange of primary information on biodiversity, assists + the mobilization and reuse of relevant data that support conservation activities + and increase biodiversity-based knowledge. This collaborative network associates + national centers of biodiversity records, scientific collections, research + contributions, cantonal agencies for conservation, administrations of protected + areas, federal offices. Participants to the network work under common procedures, + an agreed ethical framework and coordinated data flow that ease providing + access to multidimensional and coherent data.\",\"language\":\"eng\",\"numConstituents\":2,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2024-03-01T14:17:44.135+00:00\",\"modified\":\"2024-03-01T14:17:44.135+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"2ee1bff7-0b34-4fa3-9433-feaa7c6ee08b\",\"title\":\"Biodiversidad y Desarrollo Colombia\",\"description\":\"Biodiversidad y Desarrollo es una plataforma para promover y amplificar la gesti\xF3n empresarial en biodiversidad. Inicia en el a\xF1o 2014 en la Asociaci\xF3n Nacional de Empresarios de Colombia @@ -30,8 +62,8 @@ interactions: para garantizar la participaci\xF3n del sector empresarial a nivel nacional e internacional, acelerando la generaci\xF3n de conocimiento de la biodiversidad a partir de la publicaci\xF3n de datos a trav\xE9s del SiB Colombia y GBIF, - de una manera organizada y sistem\xE1tica.\",\"language\":\"spa\",\"numConstituents\":360,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2023-05-15T07:13:37.374+00:00\",\"modified\":\"2023-05-15T07:13:37.374+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"8534dd20-c368-4a1f-bdaf-e6b390710f89\",\"title\":\"SCAR - Scientific Committee on Antarctic Research\",\"language\":\"eng\",\"numConstituents\":234,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-02-18T13:27:40.670+00:00\",\"modified\":\"2022-02-18T14:56:04.788+00:00\",\"contacts\":[{\"key\":3394109,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Anton\",\"lastName\":\"Van + de una manera organizada y sistem\xE1tica.\",\"language\":\"spa\",\"numConstituents\":382,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2023-05-15T07:13:37.374+00:00\",\"modified\":\"2023-05-15T07:13:37.374+00:00\",\"contacts\":[],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"8534dd20-c368-4a1f-bdaf-e6b390710f89\",\"title\":\"SCAR + Scientific Committee on Antarctic Research\",\"language\":\"eng\",\"numConstituents\":235,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-02-18T13:27:40.670+00:00\",\"modified\":\"2022-02-18T14:56:04.788+00:00\",\"contacts\":[{\"key\":3394109,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Anton\",\"lastName\":\"Van de Putte\",\"position\":[],\"email\":[\"antonarctica@gmail.com\",\"avandeputte@naturalsciences.be\"],\"phone\":[],\"homepage\":[],\"organization\":\"Royal Belgian Institute of Natural Sciences\",\"address\":[\"Vautierstraat 29\"],\"city\":\"Brussels\",\"country\":\"BE\",\"postalCode\":\"1000\",\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-03-01T14:06:23.259+00:00\",\"modified\":\"2022-03-01T14:06:23.259+00:00\"},{\"key\":3394209,\"type\":\"POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Yi Ming\",\"lastName\":\"Gan\",\"position\":[],\"email\":[\"ymgan@naturalsciences.be\"],\"phone\":[],\"homepage\":[],\"organization\":\"Royal @@ -39,27 +71,7 @@ interactions: delegate\"],\"email\":[\"hjg@bas.ac.uk\"],\"phone\":[],\"homepage\":[],\"organization\":\"British Antarctic Survey\",\"address\":[\"High Cross, Madingley Road \"],\"city\":\"Cambridge\",\"country\":\"GB\",\"postalCode\":\"CB3 0ET\",\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-03-01T14:08:49.658+00:00\",\"modified\":\"2022-03-01T14:08:49.658+00:00\"}],\"endpoints\":[],\"machineTags\":[{\"key\":11982375,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"andrea\",\"created\":\"2022-07-21T07:32:59.808+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"4b0d8edb-7504-42c4-9349-63e86c01bf97\",\"title\":\"The - Virtual Herbarium Reflora\",\"language\":\"eng\",\"numConstituents\":66,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2021-11-09T10:25:07.055+00:00\",\"modified\":\"2021-11-09T10:25:07.055+00:00\",\"contacts\":[{\"key\":3402098,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Reflora\",\"position\":[],\"email\":[\"reflora@jbrj.gov.br\"],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-03-10T09:48:04.909+00:00\",\"modified\":\"2022-03-10T09:48:04.909+00:00\"}],\"endpoints\":[],\"machineTags\":[{\"key\":10781268,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"andrea\",\"created\":\"2022-03-09T09:06:18.608+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"17abcf75-2f1e-46dd-bf75-a5b21dd02655\",\"title\":\"Distributed - System of Scientific Collections (DiSSCo)\",\"description\":\"The Distributed - System of Scientific Collections is a new world-class Research Infrastructure - (RI) for natural science collections. The DiSSCo RI works for the digital - unification of all European natural science assets under common curation, - access, policies and practices, and aims to ensure that the data is easily - Findable, Accessible, Interoperable and Reusable (FAIR). As such, DiSSCo will - transform a fragmented landscape of crucial natural science collections into - an integrated knowledge base that provides interconnected hard evidence of - the natural world. DiSSCo represents with 120+ collection holding institutions - in 21 countries, the largest ever formal agreement between organisations of - this type. These organisations join forces to develop and operate as a distributed - Research Infrastructure. DiSSCo began its so-called Preparatory Phase in September - 2018 to develop a comprehensive Construction Masterplan, which will be followed - by a construction phase. The RI will become fully operational in 2025. More - information is available at the https://dissco.eu. Information about the technical - architecture can be found at: https://blog.dissco.tech.\",\"language\":\"eng\",\"numConstituents\":622,\"email\":[],\"phone\":[],\"homepage\":[\"https://www.dissco.eu\"],\"address\":[],\"createdBy\":\"mgrosjean\",\"modifiedBy\":\"wouter.addink\",\"created\":\"2021-04-09T13:02:15.137+00:00\",\"modified\":\"2021-04-09T15:35:54.762+00:00\",\"contacts\":[{\"key\":2371590,\"type\":\"TECHNICAL_POINT_OF_CONTACT\",\"primary\":true,\"userId\":[],\"firstName\":\"Wouter\",\"lastName\":\"Addink\",\"position\":[\"GBIF - node manager for DiSSCo\",\"Coordinator Research-data and E-infrastructure\"],\"email\":[\"info@dissco.eu\"],\"phone\":[],\"homepage\":[\"dissco.eu\"],\"organization\":\"Naturalis - Biodiversity Center\",\"address\":[],\"city\":\"Leiden\",\"country\":\"NL\",\"postalCode\":\"2300 - RA\",\"createdBy\":\"mgrosjean\",\"modifiedBy\":\"wouter.addink\",\"created\":\"2021-04-09T13:04:41.842+00:00\",\"modified\":\"2021-04-09T15:41:50.300+00:00\"}],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]},{\"key\":\"3aee7756-565e-4dc5-b22c-f997fbd7105c\",\"title\":\"Virtuelles - Herbarium Deutschland / Virtual Herbarium Germany\",\"language\":\"eng\",\"numConstituents\":25,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T09:45:30.307+00:00\",\"modified\":\"2021-02-01T09:45:30.307+00:00\",\"contacts\":[{\"key\":2301987,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"J\xF6rg\",\"lastName\":\"Holetschek\",\"position\":[],\"email\":[\"J.Holetschek@bgbm.org\"],\"phone\":[],\"homepage\":[],\"address\":[],\"city\":\"Berlin\",\"country\":\"DE\",\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T10:36:10.175+00:00\",\"modified\":\"2021-02-01T10:36:10.175+00:00\"},{\"key\":2301988,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Wolf-Henning\",\"lastName\":\"Kusber\",\"position\":[],\"email\":[\"w.h.kusber@bgbm.org\"],\"phone\":[],\"homepage\":[],\"address\":[],\"city\":\"Berlin\",\"country\":\"DE\",\"createdBy\":\"Andrea\",\"modifiedBy\":\"Andrea\",\"created\":\"2021-02-01T10:37:11.523+00:00\",\"modified\":\"2021-02-01T10:37:11.523+00:00\"}],\"endpoints\":[],\"machineTags\":[],\"tags\":[],\"identifiers\":[],\"comments\":[]}]}" + Virtual Herbarium Reflora\",\"language\":\"eng\",\"numConstituents\":66,\"email\":[],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2021-11-09T10:25:07.055+00:00\",\"modified\":\"2021-11-09T10:25:07.055+00:00\",\"contacts\":[{\"key\":3402098,\"type\":\"ADMINISTRATIVE_POINT_OF_CONTACT\",\"primary\":false,\"userId\":[],\"firstName\":\"Reflora\",\"position\":[],\"email\":[\"reflora@jbrj.gov.br\"],\"phone\":[],\"homepage\":[],\"address\":[],\"createdBy\":\"andrea\",\"modifiedBy\":\"andrea\",\"created\":\"2022-03-10T09:48:04.909+00:00\",\"modified\":\"2022-03-10T09:48:04.909+00:00\"}],\"endpoints\":[],\"machineTags\":[{\"key\":10781268,\"namespace\":\"registry.gbif.org\",\"name\":\"visibleOnDatasetPage\",\"value\":\"true\",\"createdBy\":\"andrea\",\"created\":\"2022-03-09T09:06:18.608+00:00\"}],\"tags\":[],\"identifiers\":[],\"comments\":[]}]}" headers: Accept-Ranges: - bytes @@ -70,11 +82,11 @@ interactions: Connection: - keep-alive Content-Length: - - '7812' + - '8333' Content-Type: - application/json Date: - - Fri, 01 Mar 2024 08:32:32 GMT + - Thu, 02 May 2024 11:37:06 GMT Expires: - '0' Pragma: @@ -88,7 +100,7 @@ interactions: X-Frame-Options: - DENY X-Varnish: - - '702417147' + - '702417061' X-XSS-Protection: - 1; mode=block status: diff --git a/test/vcr_cassettes/test_networks_uuid.yaml b/test/vcr_cassettes/test_networks_uuid.yaml index b083b83..c4426cf 100644 --- a/test/vcr_cassettes/test_networks_uuid.yaml +++ b/test/vcr_cassettes/test_networks_uuid.yaml @@ -9,7 +9,7 @@ interactions: Connection: - keep-alive user-agent: - - python-requests/2.31.0,pygbif/0.6.3 + - python-requests/2.31.0,pygbif/0.6.4 method: GET uri: https://api.gbif.org/v1/network/2b7c7b4f-4d4f-40d3-94de-c28b6fa054a6?limit=100 response: @@ -17,7 +17,7 @@ interactions: string: '{"key":"2b7c7b4f-4d4f-40d3-94de-c28b6fa054a6","title":"Ocean Biodiversity Information System (OBIS)","description":"The Ocean Biodiversity Information System (OBIS) is a global open-access data and information clearing-house - on marine biodiversity for science, conservation and sustainable development.","language":"eng","numConstituents":2696,"email":[],"phone":[],"homepage":["https://obis.org"],"logoUrl":"https://obis.org/images/logo.png","address":[],"createdBy":"ADMIN","modifiedBy":"MattBlissett","created":"2007-04-03T08:31:37.000+00:00","modified":"2020-06-17T11:34:47.474+00:00","contacts":[],"endpoints":[],"machineTags":[{"key":7598741,"namespace":"registry.gbif.org","name":"visibleOnDatasetPage","value":"true","createdBy":"MattBlissett","created":"2021-01-20T15:54:18.923+00:00"}],"tags":[],"identifiers":[],"comments":[]}' + on marine biodiversity for science, conservation and sustainable development.","language":"eng","numConstituents":2713,"email":[],"phone":[],"homepage":["https://obis.org"],"logoUrl":"https://obis.org/images/logo.png","address":[],"createdBy":"ADMIN","modifiedBy":"MattBlissett","created":"2007-04-03T08:31:37.000+00:00","modified":"2020-06-17T11:34:47.474+00:00","contacts":[],"endpoints":[],"machineTags":[{"key":7598741,"namespace":"registry.gbif.org","name":"visibleOnDatasetPage","value":"true","createdBy":"MattBlissett","created":"2021-01-20T15:54:18.923+00:00"}],"tags":[],"identifiers":[],"comments":[]}' headers: Accept-Ranges: - bytes @@ -27,16 +27,16 @@ interactions: - public, max-age=3601 Connection: - keep-alive - Content-Length: - - '837' Content-Type: - application/json Date: - - Fri, 01 Mar 2024 08:32:32 GMT + - Thu, 02 May 2024 11:37:08 GMT Expires: - '0' Pragma: - no-cache + Transfer-Encoding: + - chunked Vary: - Origin, Access-Control-Request-Method, Access-Control-Request-Headers Via: @@ -46,7 +46,7 @@ interactions: X-Frame-Options: - DENY X-Varnish: - - '717161070' + - '721093350' X-XSS-Protection: - 1; mode=block status: