Zum Hauptinhalt springen

List MySQL databases belonging to a Project

GET/projects/{projectId}/mysql-databases/
v2
GET
database-list-mysql-databases

Request

  • projectIdstring (uuid)
    required

    ID of the Project to list MySQLDatabases for.

Responses

application/json

OK

  • Array[
  • *object
    • characterSettingsobject
      required
      • characterSetstring
        required

        A valid MySQL character set

      • collationstring
        required

        A valid MySQL collation

    • createdAtstring (date-time)
      required
    • descriptionstring
      required
    • externalHostnamestring
      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/projects/f0f86186-0a5a-45b2-aa33-502777496347/mysql-databases