Logo
AAH 2020.4 API Documentation

05.2 Create Datasource Postgres Connection

POST https://{{IPAddr}}/api/v1/datasources/{{DatasourcePostgresId}}/connections

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
curl -X POST 'https://IPAddr/api/v1/datasources/DatasourcePostgresId/connections' -H 'Content-Type: application/json' -d '{"name":"RNA Central Connection","credential":{"name":"RNA Central Credentials","type":"UsernamePassword","parameters":{"username":"reader","password":"NWDMCE5xdipIjRrp"},"isShareable":true},"isPersonalDefault":true}'

ENDPOINTS