Search code examples
azurerestazure-storageazure-blob-storage

File ID in Azure Blob Storage [AZURE-BLOB]


Is there any field such as fileID in Azure Blob Storage like modified_time, creation_time? which can be used to uniquely identify a file apart from its name. There is no such thing mentioned in the link here.


Solution

  • Yes, you can get modified_time creation_time from this rest API: get blob property in response header with key: Last-Modified and x-ms-creation-time:

    enter image description here

    There is no fileID for Azure storage blob as an identifier, as @GauravMantri mentioned, Azure uses a blob’s URL as its unique identifier.

    If a fileID is necessary for you, you can set it as metadata by this API, and filter blobs by the metadata property you have set.