-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
It would make things easier if we could have something like:
"hasAgriParcel": {
"@type": "Parcel",
"@id": "urn:farmcalendar:Parcel:00000000-0000-0000-0000-000000000002",
"sameAs": "/api/v1/FarmParcel/0000000-0000-0000-0000-000000000002/",
},
or at least which endpoint, like:
"hasAgriParcel": {
"@type": "Parcel",
"@id": "urn:farmcalendar:Parcel:00000000-0000-0000-0000-000000000002",
"endpoint": "/api/v1/FarmParcel/",
},
This way it would be easier to navigate the FC data without having to "hard code" the mapping of the individual endpoints. Especially for the built-in activities, which only provide the detail of each activity type when viewed through the built-in activity specific endpoint.
Otherwise, for activities, the user needs to retrieve the activity type, and from the activity type retrieve the activity endpoint (unless this information is cache, it would require two request to get the detailed information of a given calendar activity).
Metadata
Metadata
Assignees
Labels
No labels