General
- All requests are
GETrequests unless otherwise stated. paginated using the query parametersstartandresultsizestart– offsetresultsize– max number of results to retrieve- Both parameters need to be > 0 or are otherwise ignored
- By default pagination is disabled except if a
resultsize > 0is defined
Requests
/:centre
Returns all media files for given :centre – The centre short name, e.g Tcp
- Takes additional parameters as query string:
url– Url for the media fileanimalName– The animal namegenotype– The genotypestrain– The strainparameterKey– The parameter keyprocedureKey– The pocedure Keyphase– The phase of filestatus– The status of filexmlFileName– The xml file name for the media file
Example: https://api.mousephenotype.org/media/Kmpc?start=0&resultsize=50
/dccUrl/:centre
Returns all media files with download URLs, rather than the URLs which centres submit.
:centre – The centre short name, e.g Tcp
- Takes additional parameters as query string:
dccUrl– download url for the media fileanimalName– The animal namegenotype– The genotypestrain– The strainparameterKey– The parameter keyprocedureKey– The pocedure Keyphase– The phase of filestatus– The status of filexmlFileName– The xml file name for the media filepipelineKey– The pipelineKey for media file
- Example: https://api.mousephenotype.org/media/dccUrl/Kmpc?start=0&resultsize=50