Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Survey on Elgg's REST api
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Cash Costello  
View profile  
 More options Oct 23 2009, 9:40 am
From: Cash Costello <cash.coste...@gmail.com>
Date: Fri, 23 Oct 2009 06:40:19 -0700 (PDT)
Local: Fri, Oct 23 2009 9:40 am
Subject: Re: Survey on Elgg's REST api
Antoine, parameters are required unless specified otherwise in the
expose_method(). If a required parameter is not passed, an exception
is the expected result.

On Oct 23, 8:41 am, Ant- <antoine.raba...@gmail.com> wrote:

> Hi Cash,
> thanks for the heads up I am just starting with the API :)
> btw I had to tweak the authentification in api.php (in both the last
> rev and the previous one)
>  in the execute_method fct inside the foreach the api checks for $value
> ['required'] but this field doesn't exist wich made it throw an
> exeption like "missing parameter username"

> Best,

> Antoine.

> On Oct 22, 3:40 pm, Cash Costello <cash.coste...@gmail.com> wrote:

> > Hi, Antoine

> > If you're just starting out, I recommend grabbing the latest REST api
> > from svn because it has a lot of bug fixes. The files you need are:

> > /engine/lib/api.php
> > /engine/lib/pam.php
> > /engine/lib/xml.php
> > /languages/en.php (error messages)
> > /services/api/rest.php

> > Note that api.php has a hook into Elgg's new unit testing framework
> > but you won't be able to use that without grabbing more files from
> > svn. Also, currently the schema in SVN has a bug which breaks the
> > activity river.

> > Cash

> > On Oct 22, 5:49 am, Ant- <antoine.raba...@gmail.com> wrote:

> > > Hi Cash and everybody.
> > > to answer your survey:

> > > 1) No but it's a project

> > > 2) iPhone and adroid application

> > > 3) not yet but I will implement it

> > > 4) just setting that up right now :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.