Leaf Agriculture · Capability

Leaf Agriculture Leaf API — API Reference > Providers Auth > Lindsay Auth

Leaf Agriculture Leaf API — API Reference > Providers Auth > Lindsay Auth. 2 operations. Lead operation: Leaf Agriculture 2. Get Lindsay Token. Self-contained Naftiko capability covering one Leaf Agriculture business surface.

Run with Naftiko Leaf AgricultureAPI Reference > Providers Auth > Lindsay Auth

What You Can Do

POST
Post — Leaf Agriculture 2. Get Lindsay Token
/v1/lindsay/token
POST
Post — Leaf Agriculture 1. Get Lindsay auth URL
/v1/lindsay/url

MCP Tools

leaf-agriculture-2-get-lindsay

Leaf Agriculture 2. Get Lindsay Token

read-only
leaf-agriculture-1-get-lindsay

Leaf Agriculture 1. Get Lindsay auth URL

read-only

Capability Spec

leaf-agriculture-api-reference-providers-auth-lindsay-auth.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Leaf Agriculture Leaf API — API Reference > Providers Auth > Lindsay Auth
  description: 'Leaf Agriculture Leaf API — API Reference > Providers Auth > Lindsay Auth. 2 operations. Lead operation: Leaf
    Agriculture 2. Get Lindsay Token. Self-contained Naftiko capability covering one Leaf Agriculture business surface.'
  tags:
  - Leaf Agriculture
  - API Reference > Providers Auth > Lindsay Auth
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LEAF_AGRICULTURE_API_KEY: LEAF_AGRICULTURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: leaf-agriculture-api-reference-providers-auth-lindsay-auth
    baseUri: ''
    description: Leaf Agriculture Leaf API — API Reference > Providers Auth > Lindsay Auth business capability. Self-contained,
      no shared references.
    resources:
    - name: lindsay-token
      path: /lindsay/token
      operations:
      - name: post
        method: POST
        description: Leaf Agriculture 2. Get Lindsay Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: lindsay-url
      path: /lindsay/url
      operations:
      - name: post
        method: POST
        description: Leaf Agriculture 1. Get Lindsay auth URL
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: leaf-agriculture-api-reference-providers-auth-lindsay-auth-rest
    port: 8080
    description: REST adapter for Leaf Agriculture Leaf API — API Reference > Providers Auth > Lindsay Auth. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/lindsay/token
      name: lindsay-token
      description: REST surface for lindsay-token.
      operations:
      - method: POST
        name: post
        description: Leaf Agriculture 2. Get Lindsay Token
        call: leaf-agriculture-api-reference-providers-auth-lindsay-auth.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/lindsay/url
      name: lindsay-url
      description: REST surface for lindsay-url.
      operations:
      - method: POST
        name: post
        description: Leaf Agriculture 1. Get Lindsay auth URL
        call: leaf-agriculture-api-reference-providers-auth-lindsay-auth.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: leaf-agriculture-api-reference-providers-auth-lindsay-auth-mcp
    port: 9090
    transport: http
    description: MCP adapter for Leaf Agriculture Leaf API — API Reference > Providers Auth > Lindsay Auth. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: leaf-agriculture-2-get-lindsay
      description: Leaf Agriculture 2. Get Lindsay Token
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: leaf-agriculture-api-reference-providers-auth-lindsay-auth.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: leaf-agriculture-1-get-lindsay
      description: Leaf Agriculture 1. Get Lindsay auth URL
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: leaf-agriculture-api-reference-providers-auth-lindsay-auth.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.