Zum Hauptinhalt springen

List Projects belonging to the executing user

GET/projects/
v2
GET
project-list-projects

Request

Responses

Response-Header

  • X-Pagination-Limitnumber

    The limit used to select the resources for the response

  • X-Pagination-Skipnumber

    The number of skipped items

  • X-Pagination-Pagenumber

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

  • X-Pagination-TotalCountnumber

    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
      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
    • idstring
      required
    • imageRefIdstring
    • isReadyboolean
      required

      deprecated

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

      deprecated by property status

    • serverIdstring
    • shortIdstring
      required
    • statusstring (one of: pending, ready, preparingForVolumeMigration, migratingVolume, error, disabled)
      required
    • statusSetAtstring (date-time)
      required
    • webStorageUsageInBytesinteger
      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&limit=50&page=1