05.3 Create Datasource MySQL
POST
https://{{IPAddr}}/api/v1/datasources
Must authenticate against a site (not platform) before attempting.
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Content-Type
|
string |
|
|
RESPONSES
status
curl -X POST 'https://IPAddr/api/v1/datasources' -H 'Content-Type: application/json' -d '{"name":"Rfma","technology":"MySQL","technologyVersion":null,"type":"default","description":"Rfam is a collection of non-coding RNA families represented by manually curated sequence alignments, consensus secondary structures, and predicted homologues.","isOdbcDsnPrioritized":false,"parameters":{"port":4497,"database":"Rfam","hostname":"mysql-rfam-public.ebi.ac.uk"}}'