Azure / Azure/azure-rest-api-specs

Get Project Rest API "lastUpdateTime" Wrong

Open
#7,016 5 comments 0 reactions 0 assignees View on GitHub
customer-reported DevOps Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

Bug found while using RestAPI version "5.1" and "5.0-preview.3" for getting project information:

When you specify the ID, the "lastUpdateTime" is giving "0001-01-01T00:00:00" instead of the correct value. When you don't specify the ID, it will give the correct "lastUpdateTime" value while listing all the projects.

Rest URL Example: https://dev.azure.com/{project}/_apis/projects/{id}?api-version=5.1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the project GET request at /_apis/projects/{id}?api-version=5.1 and compare its lastUpdateTime with the project-list response. Trace the project endpoint in the REST API specification and verify that the ID-specific response returns the correct value without changing list behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api, backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.