Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2012-03-12 11:19:28
Size: 38
Editor: IanRees
Comment:
Revision 5 as of 2012-07-06 03:01:58
Size: 1912
Editor: IanRees
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= EMEN2 Public API =

Coming soon.
= Existing public methods =
  
== 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

Existing public methods

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)