Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.5k stars 4.93k forks source link

[Question] Format of the last modified and creation timestamps of the paths returned from the Blob Storage Path List API. #29234

Open RamneekGambhir opened 1 month ago

RamneekGambhir commented 1 month ago

API Spec link

https://github.com/Azure/azure-rest-api-specs/tree/master/specification/storage/data-plane/Azure.Storage.Files.DataLake

API Spec version

2020-10-02 and above

Question/Query

What is format of the last modified and creation timestamps of the paths returned from the Path List API ?

It is not currently specified in the API spec:

https://github.com/Azure/azure-rest-api-specs/blob/ecc0170a2005f5f38231ae4dbba40594d3c00a04/specification/storage/data-plane/Azure.Storage.Files.DataLake/preview/2023-05-03/DataLakeStorage.json#L3321

Timestamps from other Path APIs have the format specified.

Can we get info on what is the format and get it specified?

Environment

No response

zzhxiaofeng commented 1 month ago

@seanmcc-msft Please help have a look, thank you.

RamneekGambhir commented 1 month ago

I got info from MSFT support on this:

lastModified is in RFC 1123 format and creationTime is in FILETIME format.

Can we have this specified in the spec for future versions?