# Latest

**URL:** https://discuss.jsonapi.org/latest.md?page=3

[Latest](https://discuss.jsonapi.org/latest.md) · [Categories](https://discuss.jsonapi.org/categories.md)

**Page:** 4

---

## [Best Laravel package for deserialize json api response](https://discuss.jsonapi.org/t/best-laravel-package-for-deserialize-json-api-response/2515)

<div class="topic-metadata">

**Author:** [@spyralehandr0s](https://discuss.jsonapi.org/u/spyralehandr0s)\
**Replies:** 1\
**Last updated:** [October 14, 2022, 10:06pm UTC](https://discuss.jsonapi.org/t/best-laravel-package-for-deserialize-json-api-response/2515 "2022-10-14T22:06:27Z")

</div>

What is the best Laravel package for deserialize json api response?

---

## [Need help in designing the API](https://discuss.jsonapi.org/t/need-help-in-designing-the-api/2512)

<div class="topic-metadata">

**Author:** [@kirensiva](https://discuss.jsonapi.org/u/kirensiva)\
**Replies:** 2\
**Last updated:** [September 16, 2022, 11:29pm UTC](https://discuss.jsonapi.org/t/need-help-in-designing-the-api/2512 "2022-09-16T23:29:17Z")

</div>

A user can create a Loan. A Loan can have many Installments. So I have to design APIs for Creating a Loan and its installments in a single request. Approving a Loan Paying an installment For the first one I could us…

---

## [Should top-level self links include unsupported query parameters?](https://discuss.jsonapi.org/t/should-top-level-self-links-include-unsupported-query-parameters/2478)

<div class="topic-metadata">

**Author:** [@Jerry87](https://discuss.jsonapi.org/u/Jerry87)\
**Replies:** 2\
**Last updated:** [September 8, 2022, 5:24am UTC](https://discuss.jsonapi.org/t/should-top-level-self-links-include-unsupported-query-parameters/2478 "2022-09-08T05:24:23Z")

</div>

As discussed in and the top level “self” link should contain the the link that generated the current response document. But what about unsupported parameters? Let´s say there is an optional custom parameter which i…

---

## [Get parent relationship from child within response](https://discuss.jsonapi.org/t/get-parent-relationship-from-child-within-response/2506)

<div class="topic-metadata">

**Author:** [@spyralehandr0s](https://discuss.jsonapi.org/u/spyralehandr0s)\
**Replies:** 1\
**Last updated:** [September 6, 2022, 4:40pm UTC](https://discuss.jsonapi.org/t/get-parent-relationship-from-child-within-response/2506 "2022-09-06T16:40:13Z")

</div>

I am aware of fetching child relationships from a parent ie /parent/1/relationships/child /parent/1?include=child But is there a way to fetch the grandparent and child relationships from parent with one endpoint. ie /…

---

## [Is it ok for an endpoint to be located at /path/ instead of /](https://discuss.jsonapi.org/t/is-it-ok-for-an-endpoint-to-be-located-at-path-instead-of/2510)

<div class="topic-metadata">

**Author:** [@andi](https://discuss.jsonapi.org/u/andi)\
**Replies:** 1\
**Last updated:** [September 6, 2022, 4:37pm UTC](https://discuss.jsonapi.org/t/is-it-ok-for-an-endpoint-to-be-located-at-path-instead-of/2510 "2022-09-06T16:37:05Z")

</div>

All the examples assume the JSON:API to be located at /, but I have not found a specific requirement for this in the spec. Background: We have a server that connects to multiple databases. We’d like to expose this data …

---

## [Ambiguity of full-linkage requirement in v1.0 spec](https://discuss.jsonapi.org/t/ambiguity-of-full-linkage-requirement-in-v1-0-spec/2499)

<div class="topic-metadata">

**Author:** [@DQSevilla](https://discuss.jsonapi.org/u/DQSevilla)\
**Replies:** 1\
**Last updated:** [September 2, 2022, 7:30pm UTC](https://discuss.jsonapi.org/t/ambiguity-of-full-linkage-requirement-in-v1-0-spec/2499 "2022-09-02T19:30:32Z")

</div>

Hello all! I am writing a JSON:API library which for now will just support the creation of v1.0-compliant documents. I am working through validating that full-linkage is respected in input documents as-per JSON:API - Co…

---

## [Using fields query parameter on showing a single resource](https://discuss.jsonapi.org/t/using-fields-query-parameter-on-showing-a-single-resource/2489)

<div class="topic-metadata">

**Author:** [@spyralehandr0s](https://discuss.jsonapi.org/u/spyralehandr0s)\
**Replies:** 1\
**Last updated:** [August 17, 2022, 8:56pm UTC](https://discuss.jsonapi.org/t/using-fields-query-parameter-on-showing-a-single-resource/2489 "2022-08-17T20:56:20Z")

</div>

I want to query a single resource out of which I only need one field (title). Is it a good practice to use the fields query parameter on showing a single resource? Is this a violation of the JSON API specification? ie c…

---

## [Relationships data object - id is not primary key - ability to rename id key](https://discuss.jsonapi.org/t/relationships-data-object-id-is-not-primary-key-ability-to-rename-id-key/1703)

<div class="topic-metadata">

**Author:** [@Jerry](https://discuss.jsonapi.org/u/Jerry)\
**Replies:** 2\
**Last updated:** [October 26, 2019, 8:33pm UTC](https://discuss.jsonapi.org/t/relationships-data-object-id-is-not-primary-key-ability-to-rename-id-key/1703 "2019-10-26T20:33:02Z")

</div>

Sorry if this is not the right place for this kind of problem or if someone else already faced with the same problem. Fell free to redirect me or whatever. So I just faced a problem when I do not use id as a primary ke…

---

## [Real-world examples in production](https://discuss.jsonapi.org/t/real-world-examples-in-production/1300)

<div class="topic-metadata">

**Author:** [@charlesfleche](https://discuss.jsonapi.org/u/charlesfleche)\
**Replies:** 1\
**Last updated:** [August 8, 2022, 3:19pm UTC](https://discuss.jsonapi.org/t/real-world-examples-in-production/1300 "2022-08-08T15:19:24Z")

</div>

Is there a list somewhere of real-world API conforming to the JSON-API spec currently used in production ? I’d be very curious to see how those API are documented and how they are wrapped by consumer libraries.

---

## [Generic relationships linked to heterogeneous resources](https://discuss.jsonapi.org/t/generic-relationships-linked-to-heterogeneous-resources/2480)

<div class="topic-metadata">

**Author:** [@bokara](https://discuss.jsonapi.org/u/bokara)\
**Replies:** 6\
**Last updated:** [August 6, 2022, 11:39am UTC](https://discuss.jsonapi.org/t/generic-relationships-linked-to-heterogeneous-resources/2480 "2022-08-06T11:39:23Z")

</div>

Hi, regardless that there’s probably some other/better way to model the following relationships (like in some related discussions, this and this), but just want to see, from a pure technical perspective, does JSON:API…

---

## [Two Filters for Nested Reference Props](https://discuss.jsonapi.org/t/two-filters-for-nested-reference-props/2474)

<div class="topic-metadata">

**Author:** [@MoDude](https://discuss.jsonapi.org/u/MoDude)\
**Replies:** 0\
**Last updated:** [July 20, 2022, 11:12am UTC](https://discuss.jsonapi.org/t/two-filters-for-nested-reference-props/2474 "2022-07-20T11:12:25Z")

</div>

Hi there. I am trying to create a filters group (AND) for 2 filters, that deal with reference fields: - Field “Property Type” (included) Field “key” - Field “Province” (included) Field “key” But for some …

---

## [Self vs. related links (and what to return)](https://discuss.jsonapi.org/t/self-vs-related-links-and-what-to-return/1236)

<div class="topic-metadata">

**Author:** [@marceloverdijk](https://discuss.jsonapi.org/u/marceloverdijk)\
**Replies:** 23\
**Last updated:** [July 13, 2022, 8:07pm UTC](https://discuss.jsonapi.org/t/self-vs-related-links-and-what-to-return/1236 "2022-07-13T20:07:16Z")

</div>

I’m always having a difficulty to grasp the difference between self and related links. The spec uses this example: { "type": "articles", "id": "1", "attributes": { "title": "Rails is Omakase" }, "relation…

---

## [Validation Issues](https://discuss.jsonapi.org/t/validation-issues/2351)

<div class="topic-metadata">

**Author:** [@elwillbo](https://discuss.jsonapi.org/u/elwillbo)\
**Replies:** 1\
**Last updated:** [July 13, 2022, 7:27pm UTC](https://discuss.jsonapi.org/t/validation-issues/2351 "2022-07-13T19:27:53Z")

</div>

I feel like I am not understanding something with the JSON:API Schema. I attempted to validate my JSON document against the JSON Schema provided for JSON:API at https://jsonapi.org/schema, and ran into dozens of errors t…

---

## [CustomID Encoding for GET requests](https://discuss.jsonapi.org/t/customid-encoding-for-get-requests/2436)

<div class="topic-metadata">

**Author:** [@kojho](https://discuss.jsonapi.org/u/kojho)\
**Replies:** 1\
**Last updated:** [July 13, 2022, 7:13pm UTC](https://discuss.jsonapi.org/t/customid-encoding-for-get-requests/2436 "2022-07-13T19:13:20Z")

</div>

I have several tables that do not use integers as primary keys, but instead use a 2-4 letter string/code. Currently, making a GET request to the resource throws an error only for the resources that use codes. My tables t…

---

## [Should fetching a related link support inclusion or other features?](https://discuss.jsonapi.org/t/should-fetching-a-related-link-support-inclusion-or-other-features/2466)

<div class="topic-metadata">

**Author:** [@prathe](https://discuss.jsonapi.org/u/prathe)\
**Replies:** 3\
**Last updated:** [July 13, 2022, 6:22pm UTC](https://discuss.jsonapi.org/t/should-fetching-a-related-link-support-inclusion-or-other-features/2466 "2022-07-13T18:22:43Z")

</div>

Hi there, Let’s say we have two relationship related links here: /authors/3/books and /authors/3/billing\_plan. Does /authors/3/books have the same feature as a collection (filtering, inclusion, sorting, sparse fieldsets…

---

## [Use of "type" parameter in Resource Objects](https://discuss.jsonapi.org/t/use-of-type-parameter-in-resource-objects/2468)

<div class="topic-metadata">

**Author:** [@vitox](https://discuss.jsonapi.org/u/vitox)\
**Replies:** 1\
**Last updated:** [July 7, 2022, 5:29pm UTC](https://discuss.jsonapi.org/t/use-of-type-parameter-in-resource-objects/2468 "2022-07-07T17:29:08Z")

</div>

Under JSON:API — Latest Specification (v1.0) it says, that any POST-request MUST include a single Resource-Object JSON:API — Latest Specification (v1.0). The question is, is there a propper use for the type parameter of…

---

## [Top-level links vs. resource-level links for item resources](https://discuss.jsonapi.org/t/top-level-links-vs-resource-level-links-for-item-resources/2032)

<div class="topic-metadata">

**Author:** [@toedter-k](https://discuss.jsonapi.org/u/toedter-k)\
**Replies:** 2\
**Last updated:** [July 6, 2022, 12:03pm UTC](https://discuss.jsonapi.org/t/top-level-links-vs-resource-level-links-for-item-resources/2032 "2022-07-06T12:03:51Z")

</div>

In JSON:API, links for item-resources can either be put on top-level or on resource-level. Is there a best practice to prefer the one or the other (or even both)? I am the author of a JSON:API implementation for Spring…

---

## [Cara bagaimana cara untuk hantar duit](https://discuss.jsonapi.org/t/cara-bagaimana-cara-untuk-hantar-duit/2465)

<div class="topic-metadata">

**Author:** [@mohdhanafingah7](https://discuss.jsonapi.org/u/mohdhanafingah7)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 4:50am UTC](https://discuss.jsonapi.org/t/cara-bagaimana-cara-untuk-hantar-duit/2465 "2022-07-05T04:50:51Z")

</div>

---

## [Pulling API data from InfoPlus with Pagination Limits](https://discuss.jsonapi.org/t/pulling-api-data-from-infoplus-with-pagination-limits/2462)

<div class="topic-metadata">

**Author:** [@waterboxes](https://discuss.jsonapi.org/u/waterboxes)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 9:25pm UTC](https://discuss.jsonapi.org/t/pulling-api-data-from-infoplus-with-pagination-limits/2462 "2022-06-29T21:25:44Z")

</div>

Hello, This may be outside the purview of this sub, but I’m desperate for help so posting anyway. I am trying to pull data from our inventory software called InfoPlus. In the past I have always exported excel documents…

---

## [Treating id changes with JSON:API](https://discuss.jsonapi.org/t/treating-id-changes-with-json-api/2454)

<div class="topic-metadata">

**Author:** [@ThorstenSuckow](https://discuss.jsonapi.org/u/ThorstenSuckow)\
**Replies:** 5\
**Last updated:** [June 13, 2022, 9:02pm UTC](https://discuss.jsonapi.org/t/treating-id-changes-with-json-api/2454 "2022-06-13T21:02:18Z")

</div>

I have the use case that PATCHING a resource might lead to creating a new resource as the copy of the PATCHed resource, with a different id. After the PATCH operation, the previous resource will not be available anymore. …

---

## [Json array display](https://discuss.jsonapi.org/t/json-array-display/2453)

<div class="topic-metadata">

**Author:** [@dtorres26](https://discuss.jsonapi.org/u/dtorres26)\
**Replies:** 0\
**Last updated:** [June 9, 2022, 12:02pm UTC](https://discuss.jsonapi.org/t/json-array-display/2453 "2022-06-09T12:02:39Z")

</div>

hello, I’m using a bot application that trigger a post to check customer data via Json post. My problem is that when displaying the data the values are showed with brackets \[DATA\] How can I take the brackets out? I’m…

---

## [Nested included in relationships](https://discuss.jsonapi.org/t/nested-included-in-relationships/2451)

<div class="topic-metadata">

**Author:** [@ThorstenSuckow](https://discuss.jsonapi.org/u/ThorstenSuckow)\
**Replies:** 2\
**Last updated:** [June 8, 2022, 9:02pm UTC](https://discuss.jsonapi.org/t/nested-included-in-relationships/2451 "2022-06-08T21:02:17Z")

</div>

Hey there, I’m currently trying to figure out whether the API allows for compound documents that consider nested relationships. Example: { "data": { "type": "entity", "id": "23", "relationships": { …

---

## [Jsonpath\_ng: Error](https://discuss.jsonapi.org/t/jsonpath-ng-error/2449)

<div class="topic-metadata">

**Author:** [@Ravi](https://discuss.jsonapi.org/u/Ravi)\
**Replies:** 0\
**Last updated:** [June 7, 2022, 10:27am UTC](https://discuss.jsonapi.org/t/jsonpath-ng-error/2449 "2022-06-07T10:27:38Z")

</div>

Hi, This is my first post on this forum. I using Jsonpath\_ng python library to parse data in which i have defined Token as “980E5”:{ “62” : {“AHS” = “Installed”} … I wanted to get the value of the “AHS” key in my progr…

---

## [Using JSON API in postman](https://discuss.jsonapi.org/t/using-json-api-in-postman/2446)

<div class="topic-metadata">

**Author:** [@gokulcj7](https://discuss.jsonapi.org/u/gokulcj7)\
**Replies:** 0\
**Last updated:** [May 30, 2022, 8:35am UTC](https://discuss.jsonapi.org/t/using-json-api-in-postman/2446 "2022-05-30T08:35:20Z")

</div>

How to fetch data from a endpoint using json api specification in Postman JSON Data: \[{“icu\_beds”:“10”,“location”:“Chennai”,“oxygen\_beds”:“10”,“id”:“101”,“normal\_beds”:“10”,“hospital\_name”:“Apollo”},{“icu\_beds”:“21”,“l…

---

## [Change output json body http request post](https://discuss.jsonapi.org/t/change-output-json-body-http-request-post/2433)

<div class="topic-metadata">

**Author:** [@Sjon](https://discuss.jsonapi.org/u/Sjon)\
**Replies:** 0\
**Last updated:** [May 3, 2022, 12:20pm UTC](https://discuss.jsonapi.org/t/change-output-json-body-http-request-post/2433 "2022-05-03T12:20:11Z")

</div>

Hi all, i am very new to JSON and i was asked to create a flow in Power automate, with an email being send. But so far so good. Only i have isues with the outcome into the email, and i am stuck in the strings, So the qu…

---

## [Are you able to have links for data entries for real](https://discuss.jsonapi.org/t/are-you-able-to-have-links-for-data-entries-for-real/2422)

<div class="topic-metadata">

**Author:** [@redpanda](https://discuss.jsonapi.org/u/redpanda)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 5:07pm UTC](https://discuss.jsonapi.org/t/are-you-able-to-have-links-for-data-entries-for-real/2422 "2022-04-20T17:07:02Z")

</div>

Am I allowed to have links inside of my data array inside Relationships? my goal here is to have direct access to /author/42 if needed or see all possible authors given an article. Is this typical? Or would it be better…

---

## [JSON API help with firewall](https://discuss.jsonapi.org/t/json-api-help-with-firewall/2414)

<div class="topic-metadata">

**Author:** [@Tomp](https://discuss.jsonapi.org/u/Tomp)\
**Replies:** 0\
**Last updated:** [March 29, 2022, 6:03am UTC](https://discuss.jsonapi.org/t/json-api-help-with-firewall/2414 "2022-03-29T06:03:18Z")

</div>

Hi group. I need some help. I have a JSON API plugin on my wordpress site that links to may app. It allows me to upload video on my wordpress site and specify what page the video link shoudl appear on my app and when som…

---

## [Is contract testing overkill for JSONAPI based microservices?](https://discuss.jsonapi.org/t/is-contract-testing-overkill-for-jsonapi-based-microservices/2401)

<div class="topic-metadata">

**Author:** [@mcasperson](https://discuss.jsonapi.org/u/mcasperson)\
**Replies:** 0\
**Last updated:** [February 19, 2022, 12:25am UTC](https://discuss.jsonapi.org/t/is-contract-testing-overkill-for-jsonapi-based-microservices/2401 "2022-02-19T00:25:21Z")

</div>

We have microservices that are exposed by a JSONAPI REST interface, and the question of whether to add contract testing came up. As we control both the producers and consumers of these APIs, a tool like Pact seemed like …

---

## [Using POST instead of GET for retrieving a resource](https://discuss.jsonapi.org/t/using-post-instead-of-get-for-retrieving-a-resource/2399)

<div class="topic-metadata">

**Author:** [@quetzyg](https://discuss.jsonapi.org/u/quetzyg)\
**Replies:** 2\
**Last updated:** [February 17, 2022, 1:47pm UTC](https://discuss.jsonapi.org/t/using-post-instead-of-get-for-retrieving-a-resource/2399 "2022-02-17T13:47:01Z")

</div>

Hi there, I’m working on an API and now I’m adding an endpoint that acts as a proxy. The idea is to have an integration set (which can be to any of the 3rd parties we support), with the client only having to pass a cod…

---

## [Links Object Clarification Needed](https://discuss.jsonapi.org/t/links-object-clarification-needed/130)

<div class="topic-metadata">

**Author:** [@juicyraoul](https://discuss.jsonapi.org/u/juicyraoul)\
**Replies:** 3\
**Last updated:** [February 9, 2022, 7:50pm UTC](https://discuss.jsonapi.org/t/links-object-clarification-needed/130 "2022-02-09T19:50:32Z")

</div>

When reading the definition of the links object (http://jsonapi.org/format/#document-links), the documentation seems to suggest that only 2 link names are permitted (self and related) since it says you may define more la…

[Previous page](https://discuss.jsonapi.org/latest.md?page=2)

[Next page](https://discuss.jsonapi.org/latest.md?page=4)
