json_api_client
json_api_client copied to clipboard
Build client libraries compliant with specification defined by jsonapi.org
Scenario: I have to custom_endpoints with the same name. One for `PUT` and one for `DELETE` I cannot fint a way to use custom_endpoints for this, because custom_endpoints sets the...
Thanks for the great work! I was looking for a way to get the raw http body. I'm using the gem to fetch my jsonapi API but i'd like to...
Hi, Nice work on your gem the files and classes structures really ease the read of the code. I was discovering the specification of JSON:API while testing your gem and...
After a few weeks of working with JsonApiClient, I've found myself resorting to acrobatics to do straightforward things more often than I'd like. Here are a few examples that illustrate...
I'm consuming a streaming api and events are coming over in `text/event-stream` format but the message in the event stream data key is in json api format. Is it possible...
I was having issues w/ VCR not recording cassettes when using JsonApiClient, despite the Faraday underpinnings. The issue appears to be the following lines in [connection.rb](https://github.com/chingor13/json_api_client/blob/master/lib/json_api_client/connection.rb#L20-L25): ``` ruby # insert...
Because resource scopes (e.g. `where`) are delegated to the query builder during the definition of `resource`, there isn't a way for custom query builders to add methods on the base...
It's a simple response, ``` [ {"id":7,"type":"Tech","displayName":"Redacted Carter"}, {"id":9,"type":"Tech","displayName":"Michael Redacted"} ] ``` with a simple model ``` class Tech < JsonApiClient::Resource self.site = "https://helpdesk/helpdesk/WebObjects/Helpdesk.woa/ra" connection_options[:ssl] = { verify: false }...
Hello, I have noticed that `JsonApiClient::Resource` sends HTTP requests with a _"Content-Type: application/json"_ header. Here is what needs fixing: - [As per the JSON API specification](http://jsonapi.org/format/#content-negotiation): Requests that have a...
If you look at paginating/paginator.rb line 55 ``` ruby def current_page params.fetch("page", 1).to_i end ``` This is saying that params["page"] is expected to be convertable into an integer. However, the...