AgStack Foundation Farm API

The Farm API from AgStack Foundation — 2 operation(s) for farm.

Operations 6

GET /api/v1/Farm/ Api v1 farm list #
POST /api/v1/Farm/ Api v1 farm create #
GET /api/v1/Farm/{id}/ Api v1 farm retrieve #
PUT /api/v1/Farm/{id}/ Api v1 farm update #
PATCH /api/v1/Farm/{id}/ Api v1 farm partial update #
DELETE /api/v1/Farm/{id}/ Api v1 farm destroy #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-predictionout-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-weatherdataout-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-thidataout-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-sprayforecastresponse-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-flightstatusforecastresponse-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-geojsonout-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-jsonldgraph-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-authtoken-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-pointout-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-validationerror-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-httpvalidationerror-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-openagri-weather-service-body-token-auth-token-post-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-predictionout-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-weatherdataout-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-thidataout-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-sprayforecastresponse-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-flightstatusforecastresponse-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-geojsonout-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-jsonldgraph-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-authtoken-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-pointout-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-validationerror-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-httpvalidationerror-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-openagri-weather-service-body-token-auth-token-post-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-asset-registry-registerfieldwktrequest-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-asset-registry-geojsonfeaturecollection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-schema/agstack-asset-registry-bulkpointresult-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-asset-registry-registerfieldwktrequest-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-asset-registry-geojsonfeaturecollection-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/json-structure/agstack-asset-registry-bulkpointresult-structure.json

Other Resources

🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-predictionout-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-weatherdataout-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-thidataout-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-sprayforecastresponse-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-flightstatusforecastresponse-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-geojsonout-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-jsonldgraph-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-authtoken-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-pointout-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-validationerror-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-httpvalidationerror-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-openagri-weather-service-body-token-auth-token-post-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-asset-registry-registerfieldwktrequest-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-asset-registry-geojsonfeaturecollection-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/agstack/refs/heads/main/examples/agstack-asset-registry-bulkpointresult-example.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/agstack:agstack-farm-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

agstack-farm-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAgri Calendar Farm API
  version: 1.0.0
  description: API for farm assets and other farm related things.
tags:
- name: Farm
paths:
  /api/v1/Farm/:
    get:
      operationId: api_v1_Farm_list
      description: API endpoint that allows Farm to be viewed or edited.
      parameters:
      - in: query
        name: format
        schema:
          type: string
          enum:
          - json
          - jsonld
      - in: query
        name: name
        schema:
          type: string
      - in: query
        name: status
        schema:
          type: integer
          enum:
          - 0
          - 1
          - 2
        description: '* `0` - Inactive

          * `1` - Active

          * `2` - Deleted'
      tags:
      - Farm
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/ld+json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Farm'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Farm'
          description: ''
      summary: Api v1 farm list
      x-summary-source: derived
    post:
      operationId: api_v1_Farm_create
      description: API endpoint that allows Farm to be viewed or edited.
      parameters:
      - in: query
        name: format
        schema:
          type: string
          enum:
          - json
          - jsonld
      tags:
      - Farm
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Farm'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Farm'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Farm'
        required: true
      security:
      - cookieAuth: []
      responses:
        '201':
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/Farm'
            application/json:
              schema:
                $ref: '#/components/schemas/Farm'
          description: ''
      summary: Api v1 farm create
      x-summary-source: derived
  /api/v1/Farm/{id}/:
    get:
      operationId: api_v1_Farm_retrieve
      description: API endpoint that allows Farm to be viewed or edited.
      parameters:
      - in: query
        name: format
        schema:
          type: string
          enum:
          - json
          - jsonld
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this Farm.
        required: true
      tags:
      - Farm
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/Farm'
            application/json:
              schema:
                $ref: '#/components/schemas/Farm'
          description: ''
      summary: Api v1 farm retrieve
      x-summary-source: derived
    put:
      operationId: api_v1_Farm_update
      description: API endpoint that allows Farm to be viewed or edited.
      parameters:
      - in: query
        name: format
        schema:
          type: string
          enum:
          - json
          - jsonld
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this Farm.
        required: true
      tags:
      - Farm
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Farm'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Farm'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Farm'
        required: true
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/Farm'
            application/json:
              schema:
                $ref: '#/components/schemas/Farm'
          description: ''
      summary: Api v1 farm update
      x-summary-source: derived
    patch:
      operationId: api_v1_Farm_partial_update
      description: API endpoint that allows Farm to be viewed or edited.
      parameters:
      - in: query
        name: format
        schema:
          type: string
          enum:
          - json
          - jsonld
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this Farm.
        required: true
      tags:
      - Farm
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedFarm'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedFarm'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedFarm'
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/Farm'
            application/json:
              schema:
                $ref: '#/components/schemas/Farm'
          description: ''
      summary: Api v1 farm partial update
      x-summary-source: derived
    delete:
      operationId: api_v1_Farm_destroy
      description: API endpoint that allows Farm to be viewed or edited.
      parameters:
      - in: query
        name: format
        schema:
          type: string
          enum:
          - json
          - jsonld
      - in: path
        name: id
        schema:
          type: string
          format: uuid
        description: A UUID string identifying this Farm.
        required: true
      tags:
      - Farm
      security:
      - cookieAuth: []
      responses:
        '204':
          description: No response body
      summary: Api v1 farm destroy
      x-summary-source: derived
components:
  schemas:
    StatusEnum:
      enum:
      - 0
      - 1
      - 2
      type: integer
      description: '* `0` - Inactive

        * `1` - Active

        * `2` - Deleted'
    PatchedFarm:
      type: object
      properties:
        status:
          allOf:
          - $ref: '#/components/schemas/StatusEnum'
          minimum: -2147483648
          maximum: 2147483647
        deleted_at:
          type:
          - string
          - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
        description:
          type: string
        administrator:
          type: string
        telephone:
          type: string
        vatID:
          type: string
        hasAgriParcel:
          type: array
          items:
            type: string
            format: uuid
          readOnly: true
        contactPerson:
          $ref: '#/components/schemas/ContactPersonField'
        address:
          $ref: '#/components/schemas/AddressField'
    Farm:
      type: object
      properties:
        status:
          allOf:
          - $ref: '#/components/schemas/StatusEnum'
          minimum: -2147483648
          maximum: 2147483647
        deleted_at:
          type:
          - string
          - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
        description:
          type: string
        administrator:
          type: string
        telephone:
          type: string
        vatID:
          type: string
        hasAgriParcel:
          type: array
          items:
            type: string
            format: uuid
          readOnly: true
        contactPerson:
          $ref: '#/components/schemas/ContactPersonField'
        address:
          $ref: '#/components/schemas/AddressField'
      required:
      - address
      - administrator
      - contactPerson
      - created_at
      - description
      - hasAgriParcel
      - id
      - name
      - telephone
      - updated_at
      - vatID
    ContactPersonField:
      type: object
      properties:
        firstname:
          type: string
        lastname:
          type: string
      required:
      - firstname
      - lastname
    AddressField:
      type: object
      properties:
        adminUnitL1:
          type: string
        adminUnitL2:
          type: string
        addressArea:
          type: string
        municipality:
          type: string
        community:
          type: string
        locatorName:
          type: string
      required:
      - addressArea
      - adminUnitL1
      - adminUnitL2
      - community
      - locatorName
      - municipality
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid