You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question: Does Croissant support distributions where one API endpoint serves the Croissant JSON-LD, while another parameterized endpoint serves individual entries?
#793
Open
blue-granite opened this issue
Jan 17, 2025
· 0 comments
Does Croissant support distributions where one API endpoint serves the Croissant JSON-LD, while another parameterized endpoint provides (what is effectively) individual rows as JSON or GeoJSON?
Which, when combined with RecordSets, can be used to extract the relevant fields from the JSON or GeoJSON?
If an example helps, a very naive API definition:
www.myapi.com/some-api/items returns Coissant compliant JSON-LD www.myapi.com/some-api/items/{id} returns JSON or GeoJSON (that contains the fields of interest)
Does Croissant support distributions where one API endpoint serves the Croissant JSON-LD, while another parameterized endpoint provides (what is effectively) individual rows as JSON or GeoJSON?
Which, when combined with RecordSets, can be used to extract the relevant fields from the JSON or GeoJSON?
If an example helps, a very naive API definition:
www.myapi.com/some-api/items
returns Coissant compliant JSON-LDwww.myapi.com/some-api/items/{id}
returns JSON or GeoJSON (that contains the fields of interest)What might the
distribution
look like?How would the parameter replacement for
www.myapi.com/some-api/items/{id}
be represented?Thanks.
The text was updated successfully, but these errors were encountered: