ncbo / ontologies_api

Hypermedia API for NCBO's ontology-related projects
http://data.bioontology.org
Other
25 stars 10 forks source link

Add Instances pagination, search and order by features #75

Open syphax-bouazzouni opened 2 years ago

syphax-bouazzouni commented 2 years ago

To Merge before

What?

See https://github.com/ncbo/ontologies_linked_data/pull/123 In addition here we have added two features

How to use

The pagination feature

Instance pagination is the default response of the following routes :

The search feature

Adding the parameter "search=string" in the instances paths (routes), will filter the instances by the label (rdf:label), see example below image

Order by feature

Order by works by using the parameters "sortby={property}" and "order={ASC|DESC}", see example below image

Anything Else?

About me: IT engineer at LIRMM & MISTEA for Agroportal (France) contact me at : syphax.bouazzouni@lirmm.fr or in the Ontoportal Alliance Slack