First get the ID:
curl -X POST -i -H "Content--H "Accept: application/json" -H "Authorization: Bearer {{token}}" "https://api.gitter.im/v1/rooms" -d '{"uri":"solid/node-solid-server"}'
Remember authorization: https://developer.gitter.im/docs/authentication
Then get the messages by the room id:
https://developer.gitter.im/docs/rooms-resource
https://api.gitter.im/v1/rooms/:roomId/chatMessages
Then add this JSON object to your index
For a process that updates, use the streaming API: https://developer.gitter.im/docs/streaming-api
For indexing: https://cwiki.apache.org/confluence/display/solr/Transforming+and+Indexing+Custom+JSON
No comments:
Post a Comment