1.0.0 • Published 7 years ago
@datafire/onedb v1.0.0
@datafire/onedb
Client library for OneDB
Installation and Usage
npm install --save @datafire/onedblet onedb = require('@datafire/onedb').create({
host: "",
core_host: "",
username: "",
password: "",
access_token: ""
});
onedb.get({
"namespace": "",
"type": "",
"id": ""
}).then(data => {
console.log(data);
});Description
An open source backend-as-a-service
Actions
get
onedb.get({
"namespace": "",
"type": "",
"id": ""
}, context)Input
- input
object- namespace required
string - type required
string - id required
string
- namespace required
Output
Output schema unknown
list
onedb.list({
"namespace": "",
"type": ""
}, context)Input
- input
object- namespace required
string - type required
string - query
object- sort
string - created_before
string - created_since
string - updated_before
string - updated_since
string - created_by
string - owner
string
- sort
- namespace required
Output
Output schema unknown
create
onedb.create({
"namespace": "",
"type": "",
"item": {}
}, context)Input
- input
object- namespace required
string - type required
string - id
string - item required
object
- namespace required
Output
Output schema unknown
update
onedb.update({
"namespace": "",
"type": "",
"id": "",
"item": {}
}, context)Input
- input
object- namespace required
string - type required
string - id required
string - item required
object
- namespace required
Output
Output schema unknown
append
onedb.append({
"namespace": "",
"type": "",
"id": "",
"item": {}
}, context)Input
- input
object- namespace required
string - type required
string - id required
string - item required
object
- namespace required
Output
Output schema unknown
delete
onedb.delete({
"namespace": "",
"type": "",
"id": ""
}, context)Input
- input
object- namespace required
string - type required
string - id required
string
- namespace required
Output
Output schema unknown
updateACL
onedb.updateACL({
"namespace": "",
"type": "",
"acl": {}
}, context)Input
- input
object- namespace required
string - type required
string - acl required
object
- namespace required
Output
Output schema unknown
Definitions
This integration has no definitions
1.0.0
7 years ago