Zum Hauptinhalt springen

Get a Redis database

GET/redis-databases/{redisDatabaseId}/
v2
GET
database-get-redis-database

Request

  • redisDatabaseIdstring (uuid)
    required

    ID of the RedisDatabase to retrieve.

Responses

application/json

OK

  • 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/redis-databases/f0f86186-0a5a-45b2-aa33-502777496347