Leverege Platform

Leverege Platform

  • Overview
  • JSDocs
  • REST API
  • Help

›API

Platform Overview

  • Overview
  • Architecture
  • Core Concepts

Guides

  • Platform Setup
  • Building a Project
  • API UI

Services

  • API Server
  • Message Processor
  • Transponder
  • Reason
  • Scheduler
  • Messenger
  • Emailer
  • Rest Server
  • DB Curator

API

  • API
  • Interface
  • Project
  • System
  • Device
  • Blueprint
  • Collection
  • Child
  • History
  • Scenario
  • Script
  • Template
  • Timer
  • User
  • Users

Server Libraries

  • Log
  • Messages
  • Message Queue
  • Cache
  • Lock
  • Limit
  • Cluster Manager
  • Error
  • Exit

Utilities

  • Promise
  • Data Store
  • Factory
  • Path
  • Reasoner
  • Object Util
  • Array Util
  • String Util
  • Base62 Util
  • Value Cache
  • Validator
  • Lol

UI

  • API Redux
  • UI Builder
  • UI Elements
  • UI Redux
  • UI Mapbox Elements
  • UI Active Theme
  • UI Color Elements
  • UI Linear View Elements

Child

Child is a generic way to interact with the Leverege api. It takes a path argument which it uses as the url in http requests. Most times it is used, the path is determined and maintained by the api library.

Methods

  1. get( options ) - makes a get request to the path intended for a single object
  2. list( options ) - makes a get request to the path intended for a group or collection
  3. post( body, options ) - make a post request to the path
  4. put( body, options ) - make a put request to the path
  5. patch( body, options ) - make a patch request to the path
  6. patchRaw( body, options ) - make a patch request to the path, will erase all old data
  7. delete( body, options ) - make a delete request to the path
  8. child( subpath ) - new Child instance with the subpath appended to the current path
  9. path() - returns the current path
  10. api() - returns the instance of the api
← CollectionHistory →
  • Methods
Leverege Platform
Docs
Overview
Connect
FacebookLinkedInTwitter
Facebook Open Source