{
  "opencollection": "1.0.0",
  "info": {
    "name": "Laravel Cloud Applications Backups API",
    "version": "0.0.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Backups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List backup configurations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "The number of results that will be returned per page."
              },
              {
                "name": "page[cursor]",
                "value": "",
                "type": "query",
                "description": "The cursor to start the pagination from."
              },
              {
                "name": "filter[name]",
                "value": "",
                "type": "query",
                "description": "The name of the backup configuration."
              },
              {
                "name": "filter[status]",
                "value": "",
                "type": "query",
                "description": "The status of the backup configuration."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all backup configurations for the server.\n\nProcessing mode: <small><code>sync</code></small>"
        },
        {
          "info": {
            "name": "Create backup configuration",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new backup configuration for the server.\n\nProcessing mode: <small><code>async</code></small>"
        },
        {
          "info": {
            "name": "Get backup configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups/:backupConfiguration",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "backupConfiguration",
                "value": "",
                "type": "path",
                "description": "The backup configuration ID"
              }
            ]
          },
          "docs": "Get a specific backup configuration for the server.\n\nProcessing mode: <small><code>sync</code></small>"
        },
        {
          "info": {
            "name": "Update backup configuration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups/:backupConfiguration",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "backupConfiguration",
                "value": "",
                "type": "path",
                "description": "The backup configuration ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing backup configuration for the server.\n\nProcessing mode: <small><code>async</code></small>"
        },
        {
          "info": {
            "name": "Delete backup configuration",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups/:backupConfiguration",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "backupConfiguration",
                "value": "",
                "type": "path",
                "description": "The backup configuration ID"
              }
            ]
          },
          "docs": "Delete a backup configuration from the server.\n\nProcessing mode: <small><code>async</code></small>"
        },
        {
          "info": {
            "name": "List backups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups/:backupConfiguration/instances",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "backupConfiguration",
                "value": "",
                "type": "path",
                "description": "The backup configuration ID"
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "The number of results that will be returned per page."
              },
              {
                "name": "page[cursor]",
                "value": "",
                "type": "query",
                "description": "The cursor to start the pagination from."
              },
              {
                "name": "filter[status]",
                "value": "",
                "type": "query",
                "description": "The status of the backup."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "List all backup instances for the backup configuration.\n\nProcessing mode: <small><code>sync</code></small>"
        },
        {
          "info": {
            "name": "Create backup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups/:backupConfiguration/instances",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "backupConfiguration",
                "value": "",
                "type": "path",
                "description": "The backup configuration ID"
              }
            ]
          },
          "docs": "Manually create a backup for the server.\n\nProcessing mode: <small><code>async</code></small>"
        },
        {
          "info": {
            "name": "Get backup",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups/:backupConfiguration/instances/:backup",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "backupConfiguration",
                "value": "",
                "type": "path",
                "description": "The backup configuration ID"
              },
              {
                "name": "backup",
                "value": "",
                "type": "path",
                "description": "The backup ID"
              }
            ]
          },
          "docs": "Get a specific backup instance associated with the backup configuration.\n\nProcessing mode: <small><code>sync</code></small>"
        },
        {
          "info": {
            "name": "Delete backup",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups/:backupConfiguration/instances/:backup",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "backupConfiguration",
                "value": "",
                "type": "path",
                "description": "The backup configuration ID"
              },
              {
                "name": "backup",
                "value": "",
                "type": "path",
                "description": "The backup ID"
              }
            ]
          },
          "docs": "Delete a backup instance from the server.\n\nProcessing mode: <small><code>async</code></small>"
        },
        {
          "info": {
            "name": "Create a database restore from backup",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cloud.laravel.com/api/orgs/:organization/servers/:server/database/backups/:backupConfiguration/instances/:backup/restores",
            "params": [
              {
                "name": "organization",
                "value": "",
                "type": "path",
                "description": "The organization slug"
              },
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "The server ID"
              },
              {
                "name": "backupConfiguration",
                "value": "",
                "type": "path",
                "description": "The backup configuration ID"
              },
              {
                "name": "backup",
                "value": "",
                "type": "path",
                "description": "The backup ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Restore the given database from the backup.\n\nProcessing mode: <small><code>async</code></small>"
        }
      ]
    }
  ],
  "bundled": true
}