Zum Hauptinhalt springen

List Backups belonging to a Project

GET/projects/{projectId}/backups/
v2
GET
backup-list-project-backups

Request

  • projectIdstring (uuid)
    required

    ID of the Project to get Backups for.

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
    • createdAtstring (date-time)
    • deletableboolean
      required
    • descriptionstring
    • expiresAtstring (date-time)
    • exportobject
      • downloadURLstring (url)
      • expiresAtstring (date-time)
      • formatstring
        required
      • phasestring (one of: , Pending, Exporting, Failed, Completed, Expired)
      • withPasswordboolean
        required
    • idstring (uuid)
      required
    • parentIdstring (uuid)
    • projectIdstring (uuid)
      required
    • statusstring
      required
  • ]

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/f0f86186-0a5a-45b2-aa33-502777496347/backups?searchTerm=string&withExportsOnly=true&sortOrder=oldestFirst&limit=50&page=1