Project

General

Profile

Actions

User story #9700

closed

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

API Rest to define Data sources

Added by Vincent MEMBRÉ over 7 years ago. Updated over 7 years ago.

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

Description

We need an API Rest to define data sources

Base API URL:

/api/datasources

Methods

/ => GET : Get all datasources defined
/datasourceName => GET : Get the detail of one datasource
/ => Put *: Create a datasource
/datasourceName => POST* : Update a datasource
/datasourceName => DELETE *: Delete a datasource
/datasourceName/refresh => POST *: Trigger a datasource refresh (asynchronous)

Data format

{
“name” : string
“url” : string
“type” : one of the two possible values … “byNode”, “global”
“path” : string
“headers” : {
headerName : HeaderValue
, ...
}
“frequency” : {
timeUnit : day/hour/minute
, value : int
}
}


Subtasks 3 (0 open3 closed)

Bug #9725: Data source Scala modelReleasedFrançois ARMAND2016-11-23Actions
User story #9897: Move datasource parameters into a specific entry in rest jsonReleasedFrançois ARMAND2017-01-04Actions
User story #9899: Change format of time duration in datasource Rest APIReleasedNicolas CHARLES2017-01-05Actions
Actions

Also available in: Atom PDF