Skip to content

Instantly share code, notes, and snippets.

@juandebravo
Created September 26, 2011 10:16
Show Gist options
  • Save juandebravo/1241975 to your computer and use it in GitHub Desktop.
Save juandebravo/1241975 to your computer and use it in GitHub Desktop.
error setting channels
[qtp961792455-72] [DEBUG] [2011-09-26 10:15:27,239] b.a.StreamsAppHandler: Changing stream with: UpdateStreamParams(connfu-stream-juandebravo-app-1,Some(connfu-stream-juandebravo-app-1),Some(connfu-stream-juandebravo-app-1),Some(Stream created using backchat-client gem),List(Filter(http://florianhanke.com/blog/atom.xml,,false), Filter(,,false), Filter(,,false), Filter(,,false), Filter(,,false), Filter(,,false), Filter(http://enekoknorr.com/feed/,,true)))
[qtp961792455-72] [ERROR] [2011-09-26 10:15:27,254] b.w.StreamsApp: There was a problem in the webapp
mojolly.uri.MalformedBackchatUriException: The backchat uri [] is malformed, because:
at mojolly.uri.Uri$.apply(Uri.scala:144) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.uri.Uri$.apply(Uri.scala:158) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.uri.ParsedChannel$.apply(ParsedChannel.scala:9) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.LibraryImports$class.string2ParsedChannel(LibraryImports.scala:36) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.package$.string2ParsedChannel(package.scala:2) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.app.StreamsAppHandler$Filter.toChannelFilter(StreamsAppHandler.scala:94) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.app.StreamsAppHandler$$anonfun$updateStream$5.apply(StreamsAppHandler.scala:53) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.app.StreamsAppHandler$$anonfun$updateStream$5.apply(StreamsAppHandler.scala:53) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.collection.immutable.List.foreach(List.scala:45) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.collection.immutable.List.map(List.scala:45) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.app.StreamsAppHandler.updateStream(StreamsAppHandler.scala:53) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp$$anonfun$backchat$web$StreamsApp$$updateStream$1.apply(StreamsApp.scala:121) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp$$anonfun$backchat$web$StreamsApp$$updateStream$1.apply(StreamsApp.scala:121) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$class.boxResult(BackchatBaseApp.scala:192) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.boxResult(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.backchat$web$StreamsApp$$updateStream(StreamsApp.scala:120) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp$$anonfun$14.apply(StreamsApp.scala:104) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$invoke$1$$anonfun$apply$1.apply(BackchatBaseApp.scala:80) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$invoke$1$$anonfun$apply$1.apply(BackchatBaseApp.scala:79) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.logback.ScalatraLogbackSupport$class.withRouteMultiParams(ScalatraLogbackSupport.scala:56) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.withRouteMultiParams(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$invoke$1.apply(BackchatBaseApp.scala:78) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$invoke$1.apply(BackchatBaseApp.scala:70) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.logback.ScalatraLogbackSupport$class.withRouteMultiParams(ScalatraLogbackSupport.scala:56) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.withRouteMultiParams(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$class.invoke(BackchatBaseApp.scala:70) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.invoke(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:195) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1$$anonfun$apply$2.apply(ScalatraKernel.scala:194) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.Option.flatMap(Option.scala:146) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:194) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$runRoutes$1.apply(ScalatraKernel.scala:193) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.collection.immutable.Stream.flatMap(Stream.scala:213) ~[backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$class.runRoutes(ScalatraKernel.scala:193) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraServlet.runRoutes(ScalatraServlet.scala:24) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$class.executeRoutes(ScalatraKernel.scala:164) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraServlet.executeRoutes(ScalatraServlet.scala:24) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(ScalatraKernel.scala:138) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(ScalatraKernel.scala:136) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply$mcV$sp(ScalatraKernel.scala:136) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$$anonfun$handle$1.apply(ScalatraKernel.scala:136) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraKernel$class.handle(ScalatraKernel.scala:135) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.mojolly$logback$ScalatraLogbackSupport$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.logback.ScalatraLogbackSupport$$anonfun$handle$1.apply$mcV$sp(ScalatraLogbackSupport.scala:47) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.logback.ScalatraLogbackSupport$$anonfun$handle$1.apply(ScalatraLogbackSupport.scala:43) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.logback.ScalatraLogbackSupport$$anonfun$handle$1.apply(ScalatraLogbackSupport.scala:43) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at mojolly.logback.ScalatraLogbackSupport$class.handle(ScalatraLogbackSupport.scala:43) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.org$scalatra$GetResponseStatusSupport$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.GetResponseStatusSupport$class.handle(GetResponseStatusSupport.scala:15) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.org$scalatra$FlashMapSupport$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:143) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.backchat$web$LoadBalancedSslRequirement$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.LoadBalancedSslRequirement$class.handle(BackchatBaseApp.scala:36) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.org$scalatra$CookieSupport$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.CookieSupport$class.handle(CookieSupport.scala:107) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.org$scalatra$auth$ScentrySupport$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.auth.ScentrySupport$$anonfun$handle$1.apply$mcV$sp(ScentrySupport.scala:38) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.auth.ScentrySupport$$anonfun$handle$1.apply(ScentrySupport.scala:33) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.auth.ScentrySupport$$anonfun$handle$1.apply(ScentrySupport.scala:33) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.auth.ScentrySupport$class.handle(ScentrySupport.scala:33) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.org$scalatra$MethodOverride$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.MethodOverride$class.handle(MethodOverride.scala:21) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.backchat$web$BackchatBaseApp$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply$mcV$sp(BackchatBaseApp.scala:108) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply(BackchatBaseApp.scala:108) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$2.apply(BackchatBaseApp.scala:108) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(BackchatBaseApp.scala:106) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(BackchatBaseApp.scala:106) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1$$anonfun$apply$mcV$sp$1.apply(BackchatBaseApp.scala:106) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1.apply$mcV$sp(BackchatBaseApp.scala:101) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1.apply(BackchatBaseApp.scala:101) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$$anonfun$handle$1.apply(BackchatBaseApp.scala:101) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.BackchatBaseApp$class.handle(BackchatBaseApp.scala:100) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.backchat$app$AppHandlerSupport$$super$handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.app.AppHandlerSupport$$anonfun$handle$1.apply$mcV$sp(AppHandlerSupport.scala:18) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.app.AppHandlerSupport$$anonfun$handle$1.apply(AppHandlerSupport.scala:18) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.app.AppHandlerSupport$$anonfun$handle$1.apply(AppHandlerSupport.scala:18) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.app.AppHandlerSupport$class.handle(AppHandlerSupport.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at backchat.web.StreamsApp.handle(StreamsApp.scala:17) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.scalatra.ScalatraServlet.service(ScalatraServlet.scala:31) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:558) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1362) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:189) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:161) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1333) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:487) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:972) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:417) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:906) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.Server.handle(Server.java:350) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:442) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:927) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:784) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:223) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) [backchat-0.9.7-8eeefe3-dist.jar:0.9.7]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26]
@juandebravo
Copy link
Author

<{"name":"connfu-stream-juandebravo-app-1","slug":"connfu-stream-juandebravo-app-1","description":"Stream created using backchat-client gem","channel_filters":[{"channel":"http://florianhanke.com/blog/atom.xml","expanded":{"canonical_uri":"http://florianhanke.com/blog/atom.xml","target":"florianhanke.com","resources":["blog","atom.xml"],"source":{"default_kind":"WEBFEED","display_name":"Web Feed","updated_at":"Mon, 21 Feb 2011 23:05:35 UTC","_id":"WEBFEED","enabled":true,"kinds":[{"_id":"WEBFEED","display_name":"Web Feed","short_display_name":"Web Feed","description":"Collect messages from a ATOM or RSS web feed.","direction":"IN","protocol":"HTTP","auth_type":"NoAuth","enabled":true}],"created_at":"Mon, 21 Feb 2011 23:05:35 UTC","category":"OTHER","default_auth_kind":""},"params":{"q":""},"kind":{"_id":"WEBFEED","display_name":"Web Feed","short_display_name":"Web Feed","description":"Collect messages from a ATOM or RSS web feed.","direction":"IN","protocol":"HTTP","auth_type":"NoAuth","enabled":true},"kind_resource":""}},{"channel":"http://enekoknorr.com/feed/","recorded":true}],"created_at":"2011-09-26T10:08:26Z","updated_at":"2011-09-26T10:08:51Z","auth_token":"f14d8ef7b6665c8e0e7726dd9508f562","urls":{"http":"https://stream.backchat.io/connfu-stream-juandebravo-app-1","websocket":"wss://stream.backchat.io"}}>

@casualjim
Copy link

git:(next) ✗ ! » curl -H 'Authorization: Backchat 27d4593d66e643efff767565f77fa57a' 'https://api.backchat.io/1/expand_uri?channel=http://enekoknorr.com/feed/'
{"data":[{"canonical_uri":"http://enekoknorr.com/feed","target":"enekoknorr.com","resources":["feed"],"source":{"default_kind":"WEBFEED","display_name":"Web Feed","updated_at":"Mon, 21 Feb 2011 23:05:35 UTC","_id":"WEBFEED","enabled":true,"kinds":[{"_id":"WEBFEED","display_name":"Web Feed","short_display_name":"Web Feed","description":"Collect messages from a ATOM or RSS web feed.","direction":"IN","protocol":"HTTP","auth_type":"NoAuth","enabled":true}],"created_at":"Mon, 21 Feb 2011 23:05:35 UTC","category":"OTHER","default_auth_kind":""},"params":{},"kind":{"_id":"WEBFEED","display_name":"Web Feed","short_display_name":"Web Feed","description":"Collect messages from a ATOM or RSS web feed.","direction":"IN","protocol":"HTTP","auth_type":"NoAuth","enabled":true},"kind_resource":"","raw_uri":"http://enekoknorr.com/feed/"}],"errors":[]}
± ivan@azkaban:~BACKCHAT_HOME [ruby-1.9.2-p290@deploy]
git:(next) ✗ ! » curl -H 'Authorization: Backchat 27d4593d66e643efff767565f77fa57a' 'https://api.backchat.io/1/expand_uri?channel=http://florianhanke.com/blog/atom.xml'
{"data":[{"canonical_uri":"http://florianhanke.com/blog/atom.xml","target":"florianhanke.com","resources":["blog","atom.xml"],"source":{"default_kind":"WEBFEED","display_name":"Web Feed","updated_at":"Mon, 21 Feb 2011 23:05:35 UTC","_id":"WEBFEED","enabled":true,"kinds":[{"_id":"WEBFEED","display_name":"Web Feed","short_display_name":"Web Feed","description":"Collect messages from a ATOM or RSS web feed.","direction":"IN","protocol":"HTTP","auth_type":"NoAuth","enabled":true}],"created_at":"Mon, 21 Feb 2011 23:05:35 UTC","category":"OTHER","default_auth_kind":""},"params":{},"kind":{"_id":"WEBFEED","display_name":"Web Feed","short_display_name":"Web Feed","description":"Collect messages from a ATOM or RSS web feed.","direction":"IN","protocol":"HTTP","auth_type":"NoAuth","enabled":true},"kind_resource":"","raw_uri":"http://florianhanke.com/blog/atom.xml"}],"errors":[]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment