Skip to content

getFile(__queryItems_)

mauryaratan edited this page Feb 5, 2023 · 1 revision

getFile(_:queryItems:)

Get a single file by ID.

public func getFile(_ fileId: File.ID, queryItems: [URLQueryItem] = [])

Parameters

  • fileId: The ID of the file you'd like to retrieve.
  • queryItems: An array of URLQueryItem, passed as query parameters.

Returns

A response object containing the requested File.

Types
Global Functions
Clone this wiki locally