Zum Hauptinhalt springen

List Projects belonging to the executing user

GET/projects/
v2
GET
project-list-projects

Request

Responses

Response-Header

  • X-Pagination-Limitinteger

    The limit used to select the resources for the response

  • X-Pagination-Skipinteger

    The number of skipped items

  • X-Pagination-Pagenumber

    The calculate page of the list response. Refer to parameters to learn more.

  • X-Pagination-TotalCountinteger

    The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.

application/json

OK

  • Array[
    • *object
      • backupStorageUsageInBytesinteger (int64)
        required
      • backupStorageUsageInBytesSetAtstring (date-time)
        required
      • createdAtstring (date-time)
        required
      • customerIdstring
        required
      • customerMetaobject
        required
        • idstring
          required
      • descriptionstring
        required
      • disableReasonstring (one of: maliciousCode, illegalContent, maliciousConduct, suspended)
      • disabledAtstring (date-time)
      • enabledboolean
        required
      • featuresarray of string (one of: redis, node, container)
        deprecated

        Deprecated by 'supportedFeatures'.

        • Array[
          • *string (one of: redis, node, container)
          ]
      • idstring
        required
      • imageRefIdstring
      • isReadyboolean
        deprecated
        required

        deprecated

      • projectHostingIdstring (uuid)
      • readinessstring (one of: creating, ready, unready)
        deprecated
        required

        deprecated by property status

      • serverIdstring
      • shortIdstring
        required
      • statusstring (one of: pending, ready, preparingForVolumeMigration, migratingVolume, error, disabled)
        required
      • statusSetAtstring (date-time)
        required
      • supportedFeaturesarray of string (one of: redis, node, container)
        required
        • Array[
          • *string (one of: redis, node, container)
          ]
      • webStorageUsageInBytesinteger (int64)
        required
      • webStorageUsageInBytesSetAtstring (date-time)
        required
    ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects?customerId=15b8a787-8d46-43b0-907e-01af35032c0a&serverId=f0f86186-0a5a-45b2-aa33-502777496347&searchTerm=string&limit=50&page=1&sort=createdAt&order=asc