Get a file

Returns a file uploaded to your organization: its type, status and, for data files, the result of their analysis.

Required role: ORG_VIEWER. The organization path parameter must be the organization of the access token.

Use it to follow an upload: a data file can be imported as a data source once its status is ANALYZED.

File

FieldContent
idId of the file: the fileId of its upload
typeVECTOR_DATA, RASTER_DATA, TABULAR_DATA, DOCUMENT or MEDIA
filename, fileSize, mimeTypeName, size in bytes, and MIME type (detected from the content)
statusSee below
jobIdData files: the analysis job, in the process service
metadataData files: the result of the analysis (layers, attributes, CRS, extent, ...), once ANALYZED
partId, partNumber, totalParts, partFilenameA part of a file made of several files, until all the parts are uploaded
containerTypeGDB for the files of an Esri File Geodatabase

Status

statusMeaning
UPLOADINGThe upload is in progress
FINISHING_UPLOADAll the bytes are received: the file is scanned and stored
THREAT_DETECTEDThe threat scan found a threat: the file is not kept
UPLOADEDThe file is stored. Documents and media are ready to use.
WAITING, ANALYZINGData files: the analysis is waiting to start, or running
ANALYZEDData files: the analysis is done, see metadata
ERRORThe upload, the threat scan (the file couldn't be scanned) or the analysis failed
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the file

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json