The code location is the ods_controllers.sql file from the ODS package.
All requests are authorized via one of :
username=<user>&password=<pass>The authenticated account becomes the effective user.
Important Note: Any API method MUST follow naming convention as follows:
ods.<object type>.<action> <lower_case> Note: some of the methods below use ods_api.sql code
Full collection of Supported Web Services Endpoints can be viewed here?.
ODS.ODS_API."user.register" name: desired user account name password: desired password email: user's e-mail addressODS.ODS_API."user.authenticate" user_name: ODS user name password_hash: password hashODS.ODS_API."user.update" user_info: array of user detailsODS.ODS_API."user.password_change" new_password: new passwordODS.ODS_API."user.delete" name: Name of the ODS user to be deletedODS.ODS_API."user.freeze" name: Name of the ODS user to be frozen.ODS.ODS_API."user.get" name: the name of the ODS userODS.ODS_API."user.search" pattern: the search pattern
ODS.ODS_API."user.invite" friends_email: email to which the invitation to be sent custom_message: the message to be included in the invitationODS.ODS_API."user.invitation" invitation_id: id of the invitation approve: if 1, approved; if 0, not approved.ODS.ODS_API."user.invitations.get"
ODS.ODS_API."user.relation_terminate" friend: the name of the user in relation with.ODS.ODS_API."user.tagging_rules.add" rulelist_name: name of the rule rules: array of the rule set is_public: if 1, public; else, private
ODS.ODS_API."user.tagging_rules.delete" rulelist_name: name of the rule to be deletedODS.ODS_API."user.tagging_rules.update" rulelist_name: rule name rule: array of values for the tagging rule to be updated.ODS.ODS_API."user.hyperlinking_rules.add" rules: rules to be addedODS.ODS_API."user.hyperlinking_rules.update" rules: rules to be updatedODS.ODS_API."user.hyperlinking_rules.delete" rules: rules to be deletedODS.ODS_API."user.getFOAFData" foafIRI: foafIRI of the userODS.ODS_API."instance.create" type: class type of the instance name: name of the instance description: short description model: model of the instance public: if 1</nowiki>, public; else, privateODS.ODS_API."instance.update" inst_id: id of the instance name: name of the instance description: description of the instance model: model type public: if 1</nowiki>, public; else, privateODS.ODS_API."instance.delete" inst_id: id of the instance to be deletedODS.ODS_API."instance.join" inst_id: id of the instance to join toODS.ODS_API."instance.disjoin" inst_id: id of the instance to remove the join fromODS.ODS_API."instance.join_approve" inst_id: id of the instance to join uname: username requested the joinODS.ODS_API."notification.services" ODS.ODS_API."instance.notification.services" inst_id: instance idODS.ODS_API."instance.notification.set" inst_id: id of the instance services: array of services properties values
ODS.ODS_API."instance.notification.cancel" inst_id: id of the instance services: list of servicesODS.ODS_API."instance.notification.log" inst_id: id of the instanceODS.ODS_API."instance.search" pattern: search patternODS.ODS_API."instance.get" inst_id: id of the instanceODS.ODS_API."site.search" pattern: search pattern options: search optionsODS.ODS_API.error_handler