Skip to content

ldodds/linked-data-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linked Data API

Request

Context
 - variable bindings
 - access to request, etc
 - inherited? e.g. to handle shadowing

Context includes:
 - current request url, path, params, headers
 - variables/bindings from api
 - variables/bindings from endpoint

 
API
 - various defaults
 - other objects needs access to it
 
Endpoint
 - endpoint being accessed
 - matching based on path
 
Selector
 - a selector
 - types
 - factory
 
Viewer
 - a viewer
 - types of viewer
 - factory
 
Formatter
 - a formatter
 - types of formatter
 - factory for creating them 

 

*Assembler
 - for manufacturing from specific serialization
 
 
 #match
 endpoint = api.endpoint_for(request)
 call = Call.new(request, endpoint)
   #context = Context.new(request, endpoint)
 resp = call.exec()
  

About

Configurable APIs over Linked Data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages