Endpoints are in the following structure
POST /api/{object}/find
{object} will be any of the objects that we have tables for in the UI and the database
This will be a zero based page of results that is pulled from the database.
This will be the size of the page that comes back.
{
"vocabulary.vocabularyLabel": "disease_qualifier",
"debug": "true"
}
Fields are just a list of fields and their values to search the datgabase. All are exact matches and they are all ANDed together.
Debug true will turn on some extra debugging in order to see the query getting sent to ElasticSearch and some duration statistics. Default value is false.
{
"results": [
],
"totalResults": 7,
"returnedRecords": 7,
"dbQuery": "select alias_1764182562 from org.alliancegenome.curation_api.model.entities.VocabularyTerm alias_1764182562 where alias_1764182562.vocabulary.vocabularyLabel = disease_qualifier order by alias_1764182562.id asc nulls last"
}
This is the list of objects coming back from the system.
This is the count of the total results found on the whole query.
This is the count of the page of results, for each page should be the count that is in the result set. May be smaller then limit on the last page.
This is the JQL query that will be run against the database.