5 Replies Latest reply on Mar 17, 2015 6:36 AM by mamathak

    Web service to get Photo and Blog Post details

    mamathak

      Hi Team,

       

      We have a requirement where we need to get all comments for photo and blog post through web service. To get Content ID and comments I have used the below web service :

       

      To get content ID: https://localhost:8080/api/core/v3/places?filter=entityDescriptor("container type","containerid")

       

      To get the comment: https://localhost:8080/api/core/v3/contents/ContentID/comments

       

      This worked for photo album plugin,but for photos the container type is "106642994",when i pass this container type i am getting error.Please let me know if there is any work around  to get photo details.

       

      URL: https://localhost:8080/api/core/v3/contents?filter=entityDescriptor(106642994,photoid)

       

      Error:

      throw 'allowIllegalResourceCall is false.';

      {

        "error" : {

        "message" : "Placeholder for not yet implemented functionality",

        "status" : 501

        }

      }

       

      Blog post: Here i have an blog post URL form URL how can i get the blog post details.please suggest.

       

      Example: https://localhost:8080/groups/demo-private-group/blog/2015/03/03/test

       

      Thanks!

      Mamatha.