AgStack Foundation Farm Parcels API

The FarmParcels API from AgStack Foundation — 2 operation(s) for farmparcels.

Operations 6

GET /api/v1/FarmParcels/ Api v1 farm parcels list #
POST /api/v1/FarmParcels/ Api v1 farm parcels create #
GET /api/v1/FarmParcels/{id}/ Api v1 farm parcels retrieve #
PUT /api/v1/FarmParcels/{id}/ Api v1 farm parcels update #
PATCH /api/v1/FarmParcels/{id}/ Api v1 farm parcels partial update #
DELETE /api/v1/FarmParcels/{id}/ Api v1 farm parcels 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-farmparcels-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-farmparcels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAgri Farm Calendar Farm Parcels API
  version: 1.0.0
  description: API for farm assets and other farm related things.
tags:
- name: FarmParcels
paths:
  /api/v1/FarmParcels/:
    get:
      operationId: api_v1_FarmParcels_list
      description: API endpoint that allows FarmParcel to be viewed or edited.
      parameters:
      - in: query
        name: contains_point
        schema:
          type: string
        description: 'Filter parcels containing this point. Format (EPSG:4326): ''latitude,longitude'''
      - in: query
        name: farm
        schema:
          type: string
          format: uuid
      - in: query
        name: format
        schema:
          type: string
          enum:
          - json
          - jsonld
      - in: query
        name: geo_id
        schema:
          type: string
      - in: query
        name: identifier
        schema:
          type: string
      - in: query
        name: parcel_type
        schema:
          type: string
      - in: query
        name: status
        schema:
          type: integer
          enum:
          - 0
          - 1
          - 2
        description: '* `0` - Inactive

          * `1` - Active

          * `2` - Deleted'
      tags:
      - FarmParcels
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/ld+json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FarmParcel'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FarmParcel'
          description: ''
      summary: Api v1 farm parcels list
      x-summary-source: derived
    post:
      operationId: api_v1_FarmParcels_create
      description: API endpoint that allows FarmParcel to be viewed or edited.
      parameters:
      - in: query
        name: format
        schema:
          type: string
          enum:
          - json
          - jsonld
      tags:
      - FarmParcels
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FarmParcel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FarmParcel'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/FarmParcel'
        required: true
      security:
      - cookieAuth: []
      responses:
        '201':
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/FarmParcel'
            application/json:
              schema:
                $ref: '#/components/schemas/FarmParcel'
          description: ''
      summary: Api v1 farm parcels create
      x-summary-source: derived
  /api/v1/FarmParcels/{id}/:
    get:
      operationId: api_v1_FarmParcels_retrieve
      description: API endpoint that allows FarmParcel 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 Parcel.
        required: true
      tags:
      - FarmParcels
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/FarmParcel'
            application/json:
              schema:
                $ref: '#/components/schemas/FarmParcel'
          description: ''
      summary: Api v1 farm parcels retrieve
      x-summary-source: derived
    put:
      operationId: api_v1_FarmParcels_update
      description: API endpoint that allows FarmParcel 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 Parcel.
        required: true
      tags:
      - FarmParcels
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FarmParcel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FarmParcel'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/FarmParcel'
        required: true
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/FarmParcel'
            application/json:
              schema:
                $ref: '#/components/schemas/FarmParcel'
          description: ''
      summary: Api v1 farm parcels update
      x-summary-source: derived
    patch:
      operationId: api_v1_FarmParcels_partial_update
      description: API endpoint that allows FarmParcel 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 Parcel.
        required: true
      tags:
      - FarmParcels
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedFarmParcel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedFarmParcel'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedFarmParcel'
      security:
      - cookieAuth: []
      responses:
        '200':
          content:
            application/ld+json:
              schema:
                $ref: '#/components/schemas/FarmParcel'
            application/json:
              schema:
                $ref: '#/components/schemas/FarmParcel'
          description: ''
      summary: Api v1 farm parcels partial update
      x-summary-source: derived
    delete:
      operationId: api_v1_FarmParcels_destroy
      description: API endpoint that allows FarmParcel 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 Parcel.
        required: true
      tags:
      - FarmParcels
      security:
      - cookieAuth: []
      responses:
        '204':
          description: No response body
      summary: Api v1 farm parcels destroy
      x-summary-source: derived
components:
  schemas:
    StatusEnum:
      enum:
      - 0
      - 1
      - 2
      type: integer
      description: '* `0` - Inactive

        * `1` - Active

        * `2` - Deleted'
    PatchedFarmParcel:
      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
        identifier:
          type: string
          maxLength: 255
        description:
          type:
          - string
          - 'null'
        validFrom:
          type: string
          format: date-time
        validTo:
          type: string
          format: date-time
        area:
          type: string
          format: decimal
          pattern: ^-?\d{0,13}(?:\.\d{0,2})?$
        hasIrrigationFlow:
          type:
          - string
          - 'null'
          format: decimal
          pattern: ^-?\d{0,13}(?:\.\d{0,2})?$
        category:
          type: string
        inRegion:
          type:
          - string
          - 'null'
        hasToponym:
          type:
          - string
          - 'null'
        isNitroArea:
          type: boolean
        isNatura2000Area:
          type: boolean
        isPdopgArea:
          type: boolean
        isIrrigated:
          type: boolean
        isCultivatedInLevels:
          type: boolean
        isGroundSlope:
          type: boolean
        depiction:
          type:
          - string
          - 'null'
          format: uri
          maxLength: 500
        hasGeometry:
          $ref: '#/components/schemas/GeometrySerializerField'
        location:
          $ref: '#/components/schemas/LocationSerializerField'
        hasAgriCrop:
          type: array
          items:
            type: string
            format: uuid
          readOnly: true
        farm:
          type: string
          format: uuid
    LocationSerializerField:
      type: object
      properties:
        lat:
          type: string
          format: decimal
          pattern: ^-?\d{0,3}(?:\.\d{0,14})?$
        long:
          type: string
          format: decimal
          pattern: ^-?\d{0,3}(?:\.\d{0,14})?$
      required:
      - lat
      - long
    FarmParcel:
      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
        identifier:
          type: string
          maxLength: 255
        description:
          type:
          - string
          - 'null'
        validFrom:
          type: string
          format: date-time
        validTo:
          type: string
          format: date-time
        area:
          type: string
          format: decimal
          pattern: ^-?\d{0,13}(?:\.\d{0,2})?$
        hasIrrigationFlow:
          type:
          - string
          - 'null'
          format: decimal
          pattern: ^-?\d{0,13}(?:\.\d{0,2})?$
        category:
          type: string
        inRegion:
          type:
          - string
          - 'null'
        hasToponym:
          type:
          - string
          - 'null'
        isNitroArea:
          type: boolean
        isNatura2000Area:
          type: boolean
        isPdopgArea:
          type: boolean
        isIrrigated:
          type: boolean
        isCultivatedInLevels:
          type: boolean
        isGroundSlope:
          type: boolean
        depiction:
          type:
          - string
          - 'null'
          format: uri
          maxLength: 500
        hasGeometry:
          $ref: '#/components/schemas/GeometrySerializerField'
        location:
          $ref: '#/components/schemas/LocationSerializerField'
        hasAgriCrop:
          type: array
          items:
            type: string
            format: uuid
          readOnly: true
        farm:
          type: string
          format: uuid
      required:
      - category
      - created_at
      - farm
      - hasAgriCrop
      - hasGeometry
      - hasIrrigationFlow
      - hasToponym
      - id
      - identifier
      - inRegion
      - isCultivatedInLevels
      - isGroundSlope
      - isIrrigated
      - isNatura2000Area
      - isNitroArea
      - isPdopgArea
      - location
      - updated_at
      - validFrom
      - validTo
    GeometrySerializerField:
      type: object
      properties:
        asWKT:
          type: string
      required:
      - asWKT
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: sessionid