[
https://issues.apache.org/jira/browse/SHINDIG-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626963#action_12626963
]
Ram Sharma commented on SHINDIG-543:
------------------------------------
Hi Chris,
I have some doubts regarding implementation of this fix:
This is about the activitieshandler.php file.
Ideally , the Rest supportfield request,
http://shindig/socil/rest/activities/@supportedfields should go to
ActivitiesHandler->handleGet() (assuming I understand the flow correctlyJ)
If yes then the handleGet Method directly calls
ActivitiesService->getActivities() method.
So to implement the call to getsupportedFields, I have following two options:
1. Changes should be made in the existing handleGet Method in the
ActivitiesHandler file , based on the request parameters.
2. Or some new interface file should be made for the same which directs the
request to different handlers depending upon the request is for supported
fields or Activity ID?
I guess your answer for activities/supportedfields, will be applicable for
people/supportedfields as well.
> Get supportedFields through the RESTful API
> -------------------------------------------
>
> Key: SHINDIG-543
> URL: https://issues.apache.org/jira/browse/SHINDIG-543
> Project: Shindig
> Issue Type: New Feature
> Components: RESTful API (PHP)
> Reporter: Chris Chabot
> Priority: Critical
>
> See
> http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thread/thread/2ce4adb503576439?hl=en
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.