-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

We need a way to update the rave-shindig database from
rave-portal--for example, when a new user is created.  I assume this
should be done through the OS API with rave-portal calling shindig via
REST or RPC API.  However, it looks like person.create, person.update,
and person.delete are not implemented; person.get is working ok.

Assuming I'm not making a simple mistake, what do we need to do to
enable the additional person methods?


- -----------------
Here is what I do:  I have the following json

{       
  "method" : "people.get",
  "params" : {
    "userId" : "canonical"
  }
}

that I invoke with

curl -H "Content-Type: application/json" -X POST -d @json-person.txt
http://localhost:8080/rpc

This works ok.  However, changing the method to person.create (or
update or delete) returns the following error:

{"error":{"message":"notImplemented: The method people.create is not
implemented","code":501}}

I realize I need to also create a authorization token and may have an
improperly formed JSON, but I assume these would throw different
errors if the service was implemented.

I'm following
http://opensocial-resources.googlecode.com/svn/spec/2.0/Social-API-Server.xml#People-Service-Create


Marlon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOaQpKAAoJEEfVXEODPFIDvSkH/3FsGwTa0/ybe95uvWHwWI/C
7Qxtl/xBUlYYJhdp/sQ+XgvJ1zf0TFUZ6XDalkPZzmM3X0184WfWHO3xddkiD3Ci
iWc0cWn6/LDJsXitZKY2QHCI7W+IUX4++ocDUIfNDqBN63ATlKRTXLzoERUTuYUN
alsO5hdCCV6Mh54zoHvnLtbSnTTpIr77D3RfzzxYH2HJ6O2SRBCFoasFjHsYMZhR
7kTObyIXn2A3HrCIcRjLgDde5mMu+SCYW/2eL4c4hJmKhFlCEnGudZ33XxD4rr0U
BYbKcgC10ZKEGPz334ygpxeam4jjeugXf1xdQJUbxmN5c2FFPyguA7AHfkdJ9GM=
=bF3t
-----END PGP SIGNATURE-----

Reply via email to