Arguments in API endpoint path

Created on 13 May 2020, almost 5 years ago
Updated 3 February 2025, 21 days ago

Hi there,

I'm using the module with AWS API Gateway and Chalice backend - all good so far, thanks for all the hard work.
My entities are Markers and Geofences, and the Drupal front end uses Leaflet to do some mapping.

I have a few endpoints that get entities in relation to other entities in the database.

the API endpoint is like this : /parent/{id}/children

This API endpoint allows the consumer to get all makers within a geofence in an easy way, rather than use the markers 'list' endpoint and filtering for parent=id, although that is also available.

So the questions are :

Firstly - is this possible ?

If so, what do I put in the storage client endpoint field on the external entity config ?

Is there a syntax for this ? or do I have to make a custom storage client (I am already so thats not a problem) ?

Thanks !

💬 Support request
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom 8bitplateau

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024