hnhdigital-os/php-linode-api

View on GitHub
spec-old/Instance/Backups.yml

Summary

Maintainability
Test Coverage
endpoint: linode/instances/%s/backups
url: https://developers.linode.com/v4/reference/endpoints/linode/instances/$id/backups
load-method: all

parameters:

    linode_id:
      type: int

get:

  all:
    url: https://developers.linode.com/v4/reference/endpoints/linode/instances/$id/backups#GET
    description: Returns a Backups Response with information on this Linode's available backups.
    endpoint: 
    search: true

post:

  create:
    url: https://developers.linode.com/v4/reference/endpoints/linode/instances/$id/backups#POST
    description: "Creates a snapshot backup of a Linode. WARNING: If you already have a snapshot, this is a destructive operation. The previous snapshot will be deleted."
    endpoint: 

    optional-parameters:

      label:
        type: string
        description: Human-friendly label for this snapshot. Must be 1-50 characters.