Get database settings by resource
GET/api/v1/ManagedDatabase/ByResourceId/:resourceId
Returns the database settings for the database resource with the given ID. Use it when you have the resource ID rather than the database ID.
Permission required: Administrator or application account.
Values for type: -1 = Unknown, 0 = PostgreSQL, 1 = SqlServer, 2 = Sqlite, 3 = Oracle, 4 = MySql.
Request
Responses
- 200
- 400
- 404
The database settings.
The resource has no database settings, or the lookup failed.
No resource with that ID exists.