Skip to content

URL Structure

Andrew Yates edited this page Jun 10, 2014 · 1 revision

Introduction

All Ensembl REST API URLs follow a standard form designed to namespace endpoints and to ensure a clean area to introduce required parameters into the URL.

Structure of a URL

A URL can have 0 or more required parameters or 0 or more optional parameters. In a standard URL required parameters are flagged with a : e.g. :species. Optional parameters should go into the request body if performing a POST or as key value pairs after the ? if performing a GET.