Closed balhoff closed 2 years ago
This seems to have been fixed by the restructuring of generated classes we did for the v2
service release:
$ curl -X GET "https://kb.phenoscape.org/api/v2-beta/taxon/annotations?entity=http%3A%2Fenoscape%2Fkb%2Fpatterns%2Fpart_of.yaml%23112ebb5ef353bd352bec396009c4f807ebbef0f9&parts=false&historical_homologs=false&serial_homologs=false&limit=20&offset=0&total=true" -H "accept: application/json"
{"total":0}
$ curl -X GET "https://kb.phenoscape.org/api/v2/taxon/annotations?entity=http%3A%2F%2Fpurl.org%2Fphenoscape%2Fkb%2Fpatterns%2Fpart_of.yaml%23112ebb5ef353bd352bec396009c4f807ebbef0f9&parts=false&historical_homologs=false&serial_homologs=false&limit=20&offset=0&total=true" -H "accept: application/json"
{"total":807477}
Example:
http://purl.org/phenoscape/kb/patterns/part_of.yaml#112ebb5ef353bd352bec396009c4f807ebbef0f9