Replies: 1 comment
-
There is no support yet for nested resources and the field you highlighted does not support the dot notation to use a deep property as the id. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a nested data structure representing institutions and their associated requests. I'm using Mockoon for mocking the API. Below is an overview of my data setup:
Institutions DataBucket:
Requests DataBucket:
Sample Response from a GET by ID Endpoint (CRUD Route):
I need to implement a PATCH or PUT endpoint that can handle multiple values for modification keys, such as
institutionId
andrequestId
, allowing me to modify information from a single field inside a request. My challenge is structuring this endpoint to efficiently update specific nested fields within this data structure.I was trying an approach similar to this:
I was expecting to make a call like this
/requests/:institutionId/:requestId
Has anyone faced a similar challenge or can provide insights into how to structure this endpoint? Any suggestions or examples would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions