[ https://issues.apache.org/jira/browse/NIFI-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephane Maarek updated NIFI-2900: ---------------------------------- Description: Hi, the endpoint /flow/process-group/id is supposed to return lastRefreshed as part of ProcessGroupFlowDTO as a DateTime, as indicated here: lastRefreshed string (date-time) optional The time the flow for the process group was last refreshed. as it currently stands, what I am getting doesn't look like a timestamp: "lastRefreshed":"14:02:46 AEDT" I'm not sure how much of the overall API is affected Edit: Actually, it seems every date a "date-time" is created we expect the format "HH:mm:ss z". As per the swagger specs, if a field is annotated "date-time", it should respect the RFC 3339 convention (from http://swagger.io/specification/). was: Hi, the endpoint /flow/process-group/id is supposed to return lastRefreshed as part of ProcessGroupFlowDTO as a DateTime, as indicated here: lastRefreshed string (date-time) optional The time the flow for the process group was last refreshed. as it currently stands, what I am getting doesn't look like a timestamp: "lastRefreshed":"14:02:46 AEDT" I'm not sure how much of the overall API is affected > Some API endpoints don't return DateTime in expected format > ----------------------------------------------------------- > > Key: NIFI-2900 > URL: https://issues.apache.org/jira/browse/NIFI-2900 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Affects Versions: 1.0.0 > Reporter: Stephane Maarek > > Hi, > the endpoint /flow/process-group/id is supposed to return lastRefreshed as > part of ProcessGroupFlowDTO as a DateTime, as indicated here: > lastRefreshed string (date-time) optional The time the flow for > the process group was last refreshed. > as it currently stands, what I am getting doesn't look like a timestamp: > "lastRefreshed":"14:02:46 AEDT" > I'm not sure how much of the overall API is affected > Edit: > Actually, it seems every date a "date-time" is created we expect the format > "HH:mm:ss z". > As per the swagger specs, if a field is annotated "date-time", it should > respect the RFC 3339 convention (from http://swagger.io/specification/). -- This message was sent by Atlassian JIRA (v6.3.4#6332)