-
-
Notifications
You must be signed in to change notification settings - Fork 740
Rest-API Date-Time objects are epoch not strings #5445
Copy link
Copy link
Open
Labels
api docsapi-inconsistencydefectSomething isn't workingSomething isn't workingp2Non-critical bugs, and features that help organizations to identify and reduce riskNon-critical bugs, and features that help organizations to identify and reduce riskpending releasesize/SSmall effortSmall effort
Milestone
Metadata
Metadata
Assignees
Labels
api docsapi-inconsistencydefectSomething isn't workingSomething isn't workingp2Non-critical bugs, and features that help organizations to identify and reduce riskNon-critical bugs, and features that help organizations to identify and reduce riskpending releasesize/SSmall effortSmall effort
Type
Fields
Give feedbackNo fields configured for issues without a type.
Current Behavior
According to the documentation all dates (as far as i can see) are documented as:
So supposedly they are string with a datetime format. Unfortunately this:
does not look like a string. Its apparently epoch in milliseconds. This breaks a lot of bindings out there that assume you can take the openapi.json file at face value.
Steps to Reproduce
See above
Expected Behavior
The openapi.json file documents the correct format that the api returns.
Dependency-Track Version
v4.13.5
Dependency-Track Distribution
Container Image
Database Server
PostgreSQL
Database Server Version
No response
Browser
Google Chrome
Checklist