Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.43 KB

PhotosApi.md

File metadata and controls

59 lines (40 loc) · 1.43 KB

PhotosApi

All URIs are relative to https://api.mosquitoalert.com/v1

Method HTTP request Description
retrieve GET /photos/{uuid}/

retrieve

Photo retrieve(uuid)

Example

library(MosquitoAlert)

# prepare function argument(s)
var_uuid <- "uuid_example" # character | 

api_instance <- mosquitoalert_api$new()
# Configure API key authorization: cookieAuth
api_instance$api_client$api_keys["sessionid"] <- Sys.getenv("API_KEY")
# Configure API key authorization: tokenAuth
# api_instance$api_client$api_keys["Authorization"] <- Sys.getenv("API_KEY")
# to save the result into a file, simply add the optional `data_file` parameter, e.g.
# result <- api_instance$retrieve(var_uuiddata_file = "result.txt")
result <- api_instance$photos_api$retrieve(var_uuid)
dput(result)

Parameters

Name Type Description Notes
uuid character

Return type

Photo

Authorization

cookieAuth, tokenAuth

HTTP request headers

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

HTTP response details

Status code Description Response headers
401 -
403 -
404 -
200 -