[oae-dev] World creation and message text API
Chris Roby
christopher.roby at gmail.com
Thu Nov 10 09:15:53 PST 2011
Do we need to repeat the creator and groupname parameters for each person to send the message to?
--
Chris Roby
On Nov 10, 2011, at 6:54 AM, N. Matthijs wrote:
> Hi Chris,
>
> How about something like this? It could give us a little more flexibility
> in how we decide to send out messages:
>
> ...
> messages: {
> "body": "Message Body",
> "subject": "Message Subject",
> "toSend": [
> {
> "to": "stuartf",
> "parameters": {
> "firstName": "Stuart",
> "creator": "Nicolaas",
> "groupname": "Test Group"
> }
> },
> {
> "to": "croby",
> "parameters": {
> "firstName": "Chris",
> "creator": "Nicolaas",
> "groupname": "Test Group"
> }
> }
> ]
> }
>
> The service would loop through all items in messages.toSend and
> use the parameters to replace the placeholders in the body and
> subject.
>
> How does that sound?
>
> Thanks,
> Nicolaas
>
>
>> This is mostly for Chris Roby and Nico--
>>
>> The world creation servlet is complete, except for the message text. I
>> still need you two to define what the API for that will be.
>>
>> As Chris and I discussed, translation of the message has to happen
>> client-side. The server will need to be sent the message subject, body,
>> and
>> translations of all the roles. At [1] I have a very rough sketch, but that
>> was just to get my skeleton code working. It doesn't show role
>> translation.
>>
>>
>> There was some question as to whose language the translations should be
>> in. I think for expediency we should go with how it works today (ie, use
>> the sender's language). We can always make it use the recipient's language
>> later as a new feature.
>>
>> Tomorrow is a holiday for Berkeley, so today (Thursday) is the last day of
>> my sprint 114. If you guys can finish this chunk of API early today I can
>> probably get world creation in under the wire.
>>
>> Thanks,
>>
>> -chris
>>
>> [1] https://github.com/ctweney/tools/blob/master/world.sh
>> _______________________________________________
>> oae-dev mailing list
>> oae-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev
>>
>
>
> _______________________________________________
> oae-dev mailing list
> oae-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/oae-dev
More information about the oae-dev
mailing list