Differences between revisions 5 and 8 (spanning 3 versions)
Revision 5 as of 2012-07-06 03:01:58
Size: 1912
Editor: IanRees
Comment:
Revision 8 as of 2012-07-06 03:04:25
Size: 2193
Editor: IanRees
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Existing public methods = = EMEN2 Public API =
Line 5: Line 5:
time.difference
time.now
 * time.difference
 * time.now
Line 10: Line 10:
version
ping
 * version
 * ping
Line 15: Line 15:
auth.login
auth.logout
auth.check.context
auth.check.admin
auth.check.readadmin
auth.check.create
 * auth.login
 * auth.logout
 * auth.check.context
 * auth.check.admin
 * auth.check.readadmin
 * auth.check.create
Line 24: Line 24:
get
new
exists
put
names
find
query
table
plot
 * get
 * new
 * exists
 * put
 * names
 * find
 * query
 * table
 * plot
Line 36: Line 36:
rel.pclink
rel.pcunlink
rel.relink
rel.siblings
rel.parents
rel.parentstree
rel.children
rel.childrentree
rel.tree
rel.rel
 * rel.pclink
 * rel.pcunlink
 * rel.relink
 * rel.siblings
 * rel.parents
 * rel.parentstree
 * rel.children
 * rel.childrentree
 * rel.tree
 * rel.rel
Line 49: Line 49:
paramdef.get
paramdef.new
paramdef.put
paramdef.names
paramdef.find
paramdef.properties
paramdef.units
paramdef.vartypes
 * paramdef.get
 * paramdef.new
 * paramdef.put
 * paramdef.names
 * paramdef.find
 * paramdef.properties
 * paramdef.units
 * paramdef.vartypes
Line 60: Line 60:
user.get
user.new
user.put
user.names
user.find
user.disable
user.enable
user.setprivacy
user.setemail
user.setpassword
user.resetpassword
 * user.get
 * user.new
 * user.put
 * user.names
 * user.find
 * user.disable
 * user.enable
 * user.setprivacy
 * user.setemail
 * user.setpassword
 * user.resetpassword
Line 75: Line 75:
newuser.get
newuser.new
newuser.put
newuser.names
newuser.find
newuser.approve
newuser.reject
 * newuser.get
 * newuser.new
 * newuser.put
 * newuser.names
 * newuser.find
 * newuser.approve
 * newuser.reject
Line 86: Line 86:
group.get
group.new
group.put
group.names
group.find
 * group.get
 * group.new
 * group.put
 * group.names
 * group.find
Line 95: Line 95:
recorddef.get
recorddef.new
recorddef.put
recorddef.names
recorddef.find
 * recorddef.get
 * recorddef.new
 * recorddef.put
 * recorddef.names
 * recorddef.find
Line 104: Line 104:
record.get
record.new
record.put
record.names
record.find
record.hide
record.update
record.validate
record.adduser
record.removeuser
record.addgroup
record.removegroup
record.setpermissions_compat
record.addcomment
record.findorphans
record.findcomments
record.findbyrectype
record.findbyvalue
record.group.byrectype
record.render
record.renderchildren
 * record.get
 * record.new
 * record.put
 * record.names
 *
record.find
 * record.hide
 * record.update
 *
record.validate
 * record.adduser
 *
record.removeuser
 * record.addgroup
 * record.removegroup
 * record.setpermissions_compat
 * record.addcomment
 *
record.findorphans
 * record.findcomments
 * record.findbyrectype
 * record.findbyvalue
 * record.group.byrectype
 * record.render
 *
record.renderchildren
Line 130: Line 130:
binary.get
binary.new
binary.put
binary.names
binary.find
 * binary.get
 * binary.new
 * binary.put
 * binary.names
 * binary.find
Line 139: Line 139:
upload.get
upload.new
upload.put
upload.query
upload.find
 * upload.get
 * upload.new
 * upload.put
 * upload.query
 * upload.find

EMEN2 Public API

Time

  • time.difference
  • time.now

Utilities

  • version
  • ping

Auth

  • auth.login
  • auth.logout
  • auth.check.context
  • auth.check.admin
  • auth.check.readadmin
  • auth.check.create

Generic methods

  • get
  • new
  • exists
  • put
  • names
  • find
  • query
  • table
  • plot

Relationships

  • rel.pclink
  • rel.pcunlink
  • rel.relink
  • rel.siblings
  • rel.parents
  • rel.parentstree
  • rel.children
  • rel.childrentree
  • rel.tree
  • rel.rel

ParamDef

  • paramdef.get
  • paramdef.new
  • paramdef.put
  • paramdef.names
  • paramdef.find
  • paramdef.properties
  • paramdef.units
  • paramdef.vartypes

User

  • user.get
  • user.new
  • user.put
  • user.names
  • user.find
  • user.disable
  • user.enable
  • user.setprivacy
  • user.setemail
  • user.setpassword
  • user.resetpassword

New user queue

  • newuser.get
  • newuser.new
  • newuser.put
  • newuser.names
  • newuser.find
  • newuser.approve
  • newuser.reject

Group

  • group.get
  • group.new
  • group.put
  • group.names
  • group.find

RecordDef

  • recorddef.get
  • recorddef.new
  • recorddef.put
  • recorddef.names
  • recorddef.find

Record

  • record.get
  • record.new
  • record.put
  • record.names
  • record.find
  • record.hide
  • record.update
  • record.validate
  • record.adduser
  • record.removeuser
  • record.addgroup
  • record.removegroup
  • record.setpermissions_compat
  • record.addcomment
  • record.findorphans
  • record.findcomments
  • record.findbyrectype
  • record.findbyvalue
  • record.group.byrectype
  • record.render
  • record.renderchildren

Binary

  • binary.get
  • binary.new
  • binary.put
  • binary.names
  • binary.find

Upload

  • upload.get
  • upload.new
  • upload.put
  • upload.query
  • upload.find

EMEN2/api (last edited 2012-07-06 03:05:30 by IanRees)