Zum Hauptinhalt springen

List Redis databases belonging to a Project

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

Request

  • projectIdstring (uuid)
    required

    ID of the Project to list RedisDatabases for.

Responses

application/json

OK

  • Array[
  • *object
    • configurationobject

      The configuration for a RedisDatabase.

      • additionalFlagsarray of string (≥ 1 characters)

        Additional flags passed to the database.

        • Array[
        • *string (≥ 1 characters)
        • ]
    • maxMemorystring

      The database's maximum memory. This may be a number, optionally suffixed by one of the IEC binary suffixes Ki, Mi or Gi.

    • maxMemoryPolicystring

      The database's key eviction policy. See the Redis documentation on key evictions for more information.

    • persistentboolean

      Persistent status of the database.

  • createdAtstring (date-time)
    required
  • descriptionstring
    required
  • finalizersarray of string (≥ 1 characters)
    • Array[
    • *string (≥ 1 characters)
    • ]
  • hostnamestring
    required
  • idstring (uuid)
    required
  • namestring
    required
  • portinteger
    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/redis-databases