Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.24 KB

File metadata and controls

53 lines (35 loc) · 1.24 KB

SnapshotsAPI

All URIs are relative to https://finchapp.eastus.cloudapp.azure.com/api

Method HTTP request Description
getSnapshots GET /snapshots Get all a user's snapshots

getSnapshots

    open class func getSnapshots(completion: @escaping (_ data: Snapshot?, _ error: Error?) -> Void)

Get all a user's snapshots

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient


// Get all a user's snapshots
SnapshotsAPI.getSnapshots() { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

This endpoint does not need any parameter.

Return type

Snapshot

Authorization

sidCookie

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]