Class: ApiDataSource

api. ApiDataSource

new api.ApiDataSource(spec)

Name Type Description
spec object
Name Type Description
collection string

the collection this datasource uses, e.g. "items"

urlApi string

the api url to use

user ApiUser

the user auth object

ajax ApiAjax

the ajax api object to use