Procore.Api.CoreLocalFilesLocalFiles (procore_sdk v0.3.0)

API calls for all endpoints tagged CoreLocalFilesLocalFiles.

Summary

Functions

Get file by its UUID Get binary file content(from the local disk) or redirect to the File service(on remote storage).

Functions

Link to this function

rest_v10_local_files_uuid_get(connection, procore_company_id, uuid, opts \\ [])

@spec rest_v10_local_files_uuid_get(
  Tesla.Env.client(),
  integer(),
  String.t(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, String.t()}
  | {:error, Tesla.Env.t()}

Get file by its UUID Get binary file content(from the local disk) or redirect to the File service(on remote storage).

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • uuid (String.t): UUID of the file
  • opts (keyword): Optional parameters

Returns

  • {:ok, String.t} on success
  • {:error, Tesla.Env.t} on failure