Mock APIs
Teams
Organisations
Data sources
Database connections
Usage
Access control
Stub Mappings
- GETGet all stub mappings
- POSTCreate a new stub mapping
- DELDelete all stub mappings
- POSTReset stub mappings
- POSTPersist stub mappings
- POSTImport stub mappings
- GETGet stub mapping by ID
- PUTUpdate a stub mapping
- DELDelete a stub mapping
- POSTFind stub mappings matching metadata
- POSTDelete stub mappings matching metadata
Requests
OpenAPI
Imports
Update database connection
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The name of the connection, for display purposes.
The SQL flavour of the database.
The host name or address of the database.
The port number of the database.
The name of the database.
The name of the user to connect to the database as.
The password of the user to connect to the database as. If this field is omitted, the password is unchanged.
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Body
The name of the connection, for display purposes.
The SQL flavour of the database.
POSTGRESQL
, MYSQL
, SQLSERVER
, ORACLE
The host name or address of the database.
The port number of the database.
The name of the database.
The name of the user to connect to the database as.
The password of the user to connect to the database as. If this field is omitted, the password is unchanged.
Response
The ID of the connection.
The name of the connection, for display purposes.
The SQL flavour of the database.
POSTGRESQL
, MYSQL
, SQLSERVER
, ORACLE
The host name or address of the database.
The port number of the database.
The name of the database.
The name of the user to connect to the database as.