Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notes via API #1357

Open
samuk opened this issue Dec 16, 2023 · 5 comments
Open

Add notes via API #1357

samuk opened this issue Dec 16, 2023 · 5 comments
Labels
enhancement Implemented Implemented but may not be thoroughly tested

Comments

@samuk
Copy link

samuk commented Dec 16, 2023

Is your feature request related to a problem? Please describe.

When on the farm I don't want to open a web app to add a note.

I'd like to be able to add them via an existing farm management app

Describe the solution you'd like
Expose the note functionality in the Rest API so that notes can be added by other apps.

Describe alternatives you've considered

Running https://v1.farmos.org/guide/app/ and FarmOS as separate apps and syncing the data later somehow

Additional context
I may be able to fund this feature request depending on the costs involved.

@kizniche
Copy link
Owner

It should be fairly easy to add a create/delete note tag and add note endpoints. I'll take a look at the code shortly.

@samuk
Copy link
Author

samuk commented Dec 19, 2023

Nice, thanks.

I'm thinking I'd use the https://farmos.org/model/type/log/ taxonomy if possible

@kizniche
Copy link
Owner

Notes are text strings, so you can format the string any way you wish.

@kizniche
Copy link
Owner

This issue has been mentioned on Radical DIY Forum. There might be relevant details there:

https://forum.radicaldiy.com/t/aquaponics-atlas-beagleboard-ai-farmos/1726/2

@kizniche
Copy link
Owner

I just added a note creation endpoint on the master branch, but I haven't extensively tested it.

@kizniche kizniche added the Implemented Implemented but may not be thoroughly tested label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Implemented Implemented but may not be thoroughly tested
Projects
None yet
Development

No branches or pull requests

2 participants