Questions tagged [jsonapiframework]

9 questions
9
votes
1 answer

Sending json api object using postman

I am using JSONAPI Specification http://jsonapi.org/format/#status And I have data like below, { "data": { "type": "tag", "id": "1", "attributes": { "name": "Test" } } } How do I make a post request to the end point…
3
votes
2 answers

Filter API response json output based on query parameter

I'm using Spring Data JPA and Spring Data Rest to expose my JPA entities as a webservice. My entities have several hundred attributes, and oneTo(very)Many relationships with other entities that have hundreds of attributes as well. I'd like to be…
mancini0
  • 3,075
  • 21
  • 25
2
votes
1 answer

JSONAPI: Update relationships including attributes

I have a nested object in my SQLAlchemy table, produced with Marshmallow's nested schema feature. For example, an articles object GET response would include an author (a User type) object along with it. I know that the JSONAPI spec already allows…
kip2
  • 4,801
  • 3
  • 39
  • 59
1
vote
1 answer

JSONAPI filter by date range

GET api how to send the filter parameter if the filter is a date range eg : GET /products?filter[created][ge]=2018-01-01&filter[created][le]=2017-01-01
Kasun
  • 596
  • 5
  • 19
1
vote
1 answer

.NET client library for JSON API spec jsonapi.org (Note JSON API != JSON format)

In my app I'm talking to a JSON API backend API, and I need to both: - deserialize from JSON API documents - serialize to JSON API resource objects. I'm aware of the list from http://jsonapi.org/implementations/#client-libraries-net, but there are…
Don Box
  • 2,656
  • 17
  • 37
1
vote
2 answers

Error with JSON API Framework

I have a .NET solution containing a DAL project with the configuration for my entities and a Web API Project containing all my entities which are imported from SQL Server and my controllers are implemented. When I run the project I have this error…
0
votes
1 answer

Case insensitive filtering in JSON:API

I am trying to perform a filter on a json:api endpoint. ?filter[name]=test name works fine if the name in db is exactly test name. But I want the server to return me values if name is Test name,tEst name or any other combination possible. How can I…
0
votes
2 answers

JSON API - How to form URI segments when fetching data from external source

I'm writing an api specification which complies to https://jsonapi.org/format/ standard. I have trouble identifying the correct uri format to implement in below scenario. Overview: Company Inventory system contains product and price information.…
Kasun
  • 596
  • 5
  • 19
0
votes
1 answer

Can't get related resource using JsonApiFramework

Using the https://github.com/scott-mcdonald/JsonApiFramework framework I'm sending the following PATCH from my…
user156888