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
We currently save the content farm.json in the Aggregator DB for each farm. This information is not returned via the Aggregator API unless explicitly queried.
farmOS 2x uses JSONAPI and has a different structure for the "farm info" data. I think there is value in saving it within the Aggregator, but maybe we don't need all the keys returned by the root /api endpoint.
My first pass just saves the root meta.farm info from 2.x. This was easy enough to match with the existing info model.
Next step would be saving the links attributes from the root JSON:API document, roughly equivalent to the resources from 1.x, but in quite a different structure. This reminds me of JSON Schema related questions... perhaps links could be part of a later initiative to include all the schemas from the farmOS server?
We currently save the content
farm.json
in the Aggregator DB for each farm. This information is not returned via the Aggregator API unless explicitly queried.farmOS 2x uses JSONAPI and has a different structure for the "farm info" data. I think there is value in saving it within the Aggregator, but maybe we don't need all the keys returned by the root
/api
endpoint.The changes are documented here under "Farm info endpoint": http://2x.farmos.org/api/changes/
The text was updated successfully, but these errors were encountered: