MDM NEW
Check Or Create Database
Function: check_or_create_database Type: API Endpoint (GET)
Purpose:
Checks if a database exists and creates it if it doesn't, along with creating the dependency tables.
URL:
GET /api/new_mdm/check_or_create_database
Request Headers:
- Customer-Key (str, required): A base64-encoded string identifying the customer and database.
- App-Code (str, required): A base64-encoded string identifying the application.
Request Body: None
Response: A JSON object containing a status message and details of the database creation/check.
Status Codes:
- 200: Success
- 404: Database not found
- 500: Failed to create/check database
get/api/new_mdm/check_or_create_database
Headers
Customer-Keystring required
App-Codestring required
Response
Successful Response
{"stackTrail":"paths:/api/new_mdm/check_or_create_database:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.