Method: NFTStorage::NFTStorageAPI#list

Defined in:
lib/nft_storage/api/nft_storage_api.rb

#list(opts = {}) ⇒ ListResponse

List all stored files

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :before (Time)

    Return results created before provided timestamp

  • :limit (Integer)

    Max records to return (default to 10)

Returns:



90
91
92
93
# File 'lib/nft_storage/api/nft_storage_api.rb', line 90

def list(opts = {})
  data, _status_code, _headers = list_with_http_info(opts)
  data
end