Skip to content

api-evangelist/farmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

farmOS

Open-source farm management and record-keeping system with a JSON:API-based REST API for managing assets, logs, plans, and farm records. Supports self-hosted deployments and managed hosting via Farmier.

API

farmOS exposes a JSON:API compliant REST API via the farm_api module. All endpoints use the /api path prefix and return JSON:API formatted responses with UUID-based resource identifiers.

  • Root endpoint: /api — returns server metadata, farm details, version, and authenticated user info
  • Schema endpoint: /api/schema — JSON Schema graph of all available API resources
  • Resource pattern: /api/[entity-type]/[bundle] (e.g., /api/log/activity)

Authentication

OAuth2 with three supported grant types:

  • Authorization Code — recommended for third-party integrations
  • Password Credentials — legacy, first-party use only
  • Client Credentials — machine-to-machine server integrations

Token endpoint: /oauth/token Bearer header: Authorization: Bearer {access_token}

OAuth scopes: farm_manager, farm_worker, farm_viewer

SDKs

  • farmOS.js — JavaScript/Node.js library: npm install farmos | Docs | GitHub
  • farmOS.py — Python library: pip install farmOS~=1.0.0b | Docs | GitHub

Hosting

Links

APIs.json

This repository contains an APIs.json index cataloging the farmOS API along with supporting files for plans, rate limits, and FinOps guidance.

Releases

No releases published

Packages

 
 
 

Contributors