Zum Hauptinhalt springen

Get a MySQL database

GET/mysql-databases/{mysqlDatabaseId}/
v2
GET
database-get-mysql-database

Request

  • mysqlDatabaseIdstring (uuid)
    required

    ID of the MySQLDatabase to be retrieved.

Responses

application/json

OK

  • characterSettingsobject
    required
    • characterSetstring
      required
    • collationstring
      required
  • createdAtstring (date-time)
    required
  • descriptionstring
    required
  • finalizersarray of string (≥ 1 characters)
    • Array[
    • *string (≥ 1 characters)
    • ]
  • hostnamestring
    required
  • idstring (uuid)
    required
  • isReadyboolean
    required
  • isSharedboolean
    required
  • namestring
    required
  • projectIdstring (uuid)
    required
  • statusstring (one of: pending, ready, migrating, importing, error)
    required
  • statusSetAtstring (date-time)
    required
  • storageUsageInBytesinteger
    required
  • storageUsageInBytesSetAtstring (date-time)
    required
  • updatedAtstring (date-time)
    required
  • versionstring
    required
  • Usage examples

    $ curl \
    --fail \
    --location \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    https://api.mittwald.de/v2/mysql-databases/f0f86186-0a5a-45b2-aa33-502777496347