Azure / Azure/azure-rest-api-specs

ADLS Gen 2 Rest API - List Files - ETag is a timestamp

Open
#6,289 1 comment 0 reactions 0 assignees View on GitHub
Data Lake Storage Gen2 Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

Two questions:

1. I understand the purpose of Etag value but when i list files, the etag appears to be a timestamp. Is that correct? Etag and the last modified timestamps are the same.

2. How do I get the creation timestamp of a file/directory? I only see last modified.

> {
"etag": "Fri, 10 May 2019 18:09:25 GMT",
"isDirectory": "true",
"lastModified": "Fri, 10 May 2019 18:09:25 GMT",
"name": "dir1/New &&^Folder"
}

Contributor guide

Open the contributing guide

Research direction

Start with the ADLS Gen 2 REST API List Files specification referenced by the issue and review how the etag and lastModified fields are defined. Confirm whether creation time is exposed for files or directories, then document the field semantics or the limitation so the two questions have an authoritative answer.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api, cloud, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.