Gets a file resource by FileId. Note that this is not the contents of the file, this is the file metadata, such as name, size, etc. Some properties such as BlobStorageUrl, Size, ContentType and IsShared are not populated. Use "api/files/{fileId:guid}/contents" to get the contents of a file.
Name | Description | Additional information |
---|---|---|
fileId |
Define this parameter in the request URI. |
{ "fileId": "fce9999f-0f3f-4c3f-865a-2fe9b890589a", "tenantId": "4bd20c37-46ab-4369-9be9-a41b69041235", "name": "sample string 3", "description": "sample string 4", "blobStorageUrl": "sample string 5", "size": 1, "contentType": "sample string 6", "isShared": true, "correlationId": "sample string 8", "createdBy": "sample string 9", "createdDateUtc": "2025-04-21T01:37:14.5308626+00:00", "updatedDateUtc": "2025-04-21T01:37:14.5308626+00:00" }
<FileRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1"> <CreatedDateUtc>2025-04-21T01:37:14.5308626+00:00</CreatedDateUtc> <UpdatedDateUtc>2025-04-21T01:37:14.5308626+00:00</UpdatedDateUtc> <BlobStorageUrl>sample string 5</BlobStorageUrl> <ContentType>sample string 6</ContentType> <CorrelationId>sample string 8</CorrelationId> <CreatedBy>sample string 9</CreatedBy> <Description>sample string 4</Description> <FileId>fce9999f-0f3f-4c3f-865a-2fe9b890589a</FileId> <IsShared>true</IsShared> <Name>sample string 3</Name> <Size>1</Size> <TenantId>4bd20c37-46ab-4369-9be9-a41b69041235</TenantId> </FileRepresentation>