@digitalocean/dots - v1.0.1
    Preparing search index...

    Interface SnapshotsRequestBuilderGetQueryParameters

    To list all of the snapshots available on your account, send a GET request to/v2/snapshots.The response will be a JSON object with a key called snapshots. This will beset to an array of snapshot objects, each of which will contain the standardsnapshot attributes.### Filtering Results by Resource TypeIt's possible to request filtered results by including certain query parameters.#### List Droplet SnapshotsTo retrieve only snapshots based on Droplets, include the resource_typequery parameter set to droplet. For example, /v2/snapshots?resource_type=droplet.#### List Volume SnapshotsTo retrieve only snapshots based on volumes, include the resource_typequery parameter set to volume. For example, /v2/snapshots?resource_type=volume.

    interface SnapshotsRequestBuilderGetQueryParameters {
        page?: number;
        perPage?: number;
        resourceType?: GetResource_typeQueryParameterType;
    }
    Index

    Properties

    page?: number

    Which 'page' of paginated results to return.

    perPage?: number

    Number of items returned per page

    Used to filter snapshots by a resource type.