{"action":"created","issue":{"url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/481","labels_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/481/comments","events_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/481/events","html_url":"https://github.com/RESTful-Drupal/restful/pull/481","id":68953461,"number":481,"title":"2.x Rate limits","user":{"login":"mateu-aguilo-bosch","id":1140906,"avatar_url":"https://avatars.githubusercontent.com/u/1140906?v=3","gravatar_id":"","url":"https://api.github.com/users/mateu-aguilo-bosch","html_url":"https://github.com/mateu-aguilo-bosch","followers_url":"https://api.github.com/users/mateu-aguilo-bosch/followers","following_url":"https://api.github.com/users/mateu-aguilo-bosch/following{/other_user}","gists_url":"https://api.github.com/users/mateu-aguilo-bosch/gists{/gist_id}","starred_url":"https://api.github.com/users/mateu-aguilo-bosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateu-aguilo-bosch/subscriptions","organizations_url":"https://api.github.com/users/mateu-aguilo-bosch/orgs","repos_url":"https://api.github.com/users/mateu-aguilo-bosch/repos","events_url":"https://api.github.com/users/mateu-aguilo-bosch/events{/privacy}","received_events_url":"https://api.github.com/users/mateu-aguilo-bosch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RESTful-Drupal/restful/labels/2.x","name":"2.x","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-16T15:51:35Z","updated_at":"2015-04-30T07:53:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RESTful-Drupal/restful/pulls/481","html_url":"https://github.com/RESTful-Drupal/restful/pull/481","diff_url":"https://github.com/RESTful-Drupal/restful/pull/481.diff","patch_url":"https://github.com/RESTful-Drupal/restful/pull/481.patch"},"body":"This PR builds on top of https://github.com/RESTful-Drupal/restful/pull/477. This is the [delta](https://github.com/mateu-aguilo-bosch/restful/compare/2.x-render-cache...2.x-rate-limits?expand=1).\r\n\r\nThis will add Rate Limit support for *any* (not just entities) resource that has the `rateLimit` property in the annotation definition.\r\n\r\nAlso, there are some changes that will allow nesting of decorators. Resource decorators are just wrappers that add functionality to a _real_ resource (like for instance rate limits or caching). Resource decorators can be treated like any other decorator, since they implement `ResourceInterface`."},"comment":{"url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/comments/97696719","html_url":"https://github.com/RESTful-Drupal/restful/pull/481#issuecomment-97696719","issue_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/481","id":97696719,"user":{"login":"mateu-aguilo-bosch","id":1140906,"avatar_url":"https://avatars.githubusercontent.com/u/1140906?v=3","gravatar_id":"","url":"https://api.github.com/users/mateu-aguilo-bosch","html_url":"https://github.com/mateu-aguilo-bosch","followers_url":"https://api.github.com/users/mateu-aguilo-bosch/followers","following_url":"https://api.github.com/users/mateu-aguilo-bosch/following{/other_user}","gists_url":"https://api.github.com/users/mateu-aguilo-bosch/gists{/gist_id}","starred_url":"https://api.github.com/users/mateu-aguilo-bosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateu-aguilo-bosch/subscriptions","organizations_url":"https://api.github.com/users/mateu-aguilo-bosch/orgs","repos_url":"https://api.github.com/users/mateu-aguilo-bosch/repos","events_url":"https://api.github.com/users/mateu-aguilo-bosch/events{/privacy}","received_events_url":"https://api.github.com/users/mateu-aguilo-bosch/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T07:53:17Z","updated_at":"2015-04-30T07:53:17Z","body":"> Couldn't find that class.\r\n\r\nYeah, after commenting that I added an extra comment saying that I removed the class entirely."}}