Project

General

Profile

Actions

User story #9899

closed

User story #9698: Import node properties from external data sources

User story #9700: API Rest to define Data sources

Change format of time duration in datasource Rest API

Added by Vincent MEMBRÉ almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
1 (highest)
Category:
API
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

current answer format of datasource use the following ofrmat for duration:

"updateTimeout" : "5 minutes" 

to match Scala duration pattern, but this pattern is quite broken:

does not accept "1 hour 5 minutes"
accept "60 minutes", but will return "1 hour", which is a mess to parse and analyse

puting an integer here as minutes of the duration is a better idea to me

Actions

Also available in: Atom PDF