Differences between revisions 3 and 9 (spanning 6 versions)
Revision 3 as of 2012-07-06 03:00:52
Size: 1898
Editor: IanRees
Comment:
Revision 9 as of 2012-07-06 03:05:30
Size: 1684
Editor: IanRees
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
# Existing public methods = EMEN2 Public API =
Line 3: Line 3:
## Time   == Time ==
Line 5: Line 5:
time.difference
time.now
 * time.difference
 * time.now
Line 8: Line 8:
## Utilities   == Utilities ==
Line 10: Line 10:
version
ping
 * version
 * ping
Line 13: Line 13:
## Auth   == Auth ==
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 22: Line 22:
## Generic methods == Generic methods ==
Line 24: Line 24:
get
new
exists
put
names
find   query
table
plot
 * get
 * new
 * exists
 * put
 * names
 * query
 * table
 * plot
Line 34: Line 33:
## Relationships   == Relationships ==
Line 36: Line 35:
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 47: Line 46:
## ParamDef   == ParamDef ==
Line 49: Line 48:
paramdef.get   paramdef.new
paramdef.put
paramdef.names
paramdef.find
paramdef.properties
paramdef.units
paramdef.vartypes
 * paramdef.find
 * paramdef.properties
 * paramdef.units
 * paramdef.vartypes
Line 58: Line 53:
## User   == User ==
Line 60: Line 55:
user.get   user.new
user.put
user.names
user.find
user.disable
user.enable
user.setprivacy
user.setemail
user.setpassword
user.resetpassword
 * user.find
 * user.disable
 * user.enable
 * user.setprivacy
 * user.setemail
 * user.setpassword
 * user.resetpassword
Line 73: Line 64:
## New user queue   == New user queue ==
Line 75: Line 66:
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 84: Line 75:
## Group   == Group ==
Line 86: Line 77:
group.get
group.new
group.put
group.names
group.find
 * group.find
Line 93: Line 80:
## RecordDef   == RecordDef ==
Line 95: Line 82:
recorddef.get
recorddef.new
recorddef.put
recorddef.names
recorddef.find
 * recorddef.find
Line 102: Line 85:
## Record   == Record ==
Line 104: Line 87:
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.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 128: Line 107:
## Binary   == Binary ==
Line 130: Line 109:
binary.get
binary.new
binary.put
binary.names
binary.find
 * binary.find
Line 137: Line 112:
## Upload   == Upload ==
Line 139: Line 114:
upload.get
upload.new
upload.put
upload.query
upload.find
 * 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
  • 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.find
  • paramdef.properties
  • paramdef.units
  • paramdef.vartypes

User

  • 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.find

RecordDef

  • recorddef.find

Record

  • 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.find

Upload

  • upload.find

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