Leaf Agriculture API Reference > Beta > Operators API

The API Reference > Beta > Operators API from Leaf Agriculture — 2 operation(s) for api reference > beta > operators.

OpenAPI Specification

leaf-agriculture-api-reference-beta-operators-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Leaf Agriculture Leaf API Reference > Alerts API Reference > Beta > Operators API
  description: We are Leaf Agriculture, provider of a unified farm data API. After experiencing the difficulty of building applications in food and agriculture first hand as software developers, and hearing similar stories of frustration with existing tools and often insurmountable technical barriers from other companies, we decided to tackle the problem at hand.
  version: 1.0.0
tags:
- name: API Reference > Beta > Operators
paths:
  /services/beta/api/users/{leaf_user_id}/operators:
    get:
      tags:
      - API Reference > Beta > Operators
      summary: Leaf Agriculture Get All Operators
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
        example: Bearer {{leaf_token}}
      - name: Content-Type
        in: header
        schema:
          type: string
        example: application/json
      - name: leaf_user_id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}
  /services/beta/api/users/{leaf_user_id}/operators/{operator_id}:
    get:
      tags:
      - API Reference > Beta > Operators
      summary: Leaf Agriculture Get An Operator
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
        example: Bearer {{leaf_token}}
      - name: Content-Type
        in: header
        schema:
          type: string
        example: application/json
      - name: leaf_user_id
        in: path
        schema:
          type: string
        required: true
      - name: operator_id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}