Actions
User story #9700
closedUser story #9698: Import node properties from external data sources
API Rest to define Data sources
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
}
}
Actions