Leaf Agriculture · Capability

Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > JohnDeere

Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > JohnDeere. 4 operations. Lead operation: Leaf Agriculture Get JohnDeere credentials of the LeafUser. Self-contained Naftiko capability covering one Leaf Agriculture business surface.

Run with Naftiko Leaf AgricultureAPI Reference > Leaf User > Provider Credentials > JohnDeere

What You Can Do

GET
Get — Leaf Agriculture Get JohnDeere credentials of the LeafUser
/v1/services/usermanagement/api/users/{leaf-user-id}/john-deere-credentials
POST
Post — Leaf Agriculture Add JohnDeere credentials to the LeafUser
/v1/services/usermanagement/api/users/{leaf-user-id}/john-deere-credentials
DELETE
Delete — Leaf Agriculture Delete JohnDeere credentials of the LeafUser
/v1/services/usermanagement/api/users/{leaf-user-id}/john-deere-credentials
GET
Get — Leaf Agriculture Get JohnDeere credentials Events
/v1/services/usermanagement/api/users/{leaf-user-id}/john-deere-credentials/events

MCP Tools

leaf-agriculture-get-johndeere-credentials

Leaf Agriculture Get JohnDeere credentials of the LeafUser

read-only idempotent
leaf-agriculture-add-johndeere-credentials

Leaf Agriculture Add JohnDeere credentials to the LeafUser

leaf-agriculture-delete-johndeere-credentials

Leaf Agriculture Delete JohnDeere credentials of the LeafUser

idempotent
leaf-agriculture-get-johndeere-credentials-2

Leaf Agriculture Get JohnDeere credentials Events

read-only idempotent

Capability Spec

leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > JohnDeere
  description: 'Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > JohnDeere. 4 operations. Lead
    operation: Leaf Agriculture Get JohnDeere credentials of the LeafUser. Self-contained Naftiko capability covering one
    Leaf Agriculture business surface.'
  tags:
  - Leaf Agriculture
  - API Reference > Leaf User > Provider Credentials > JohnDeere
  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-leaf-user-provider-credentials-johndeere
    baseUri: ''
    description: Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > JohnDeere business capability.
      Self-contained, no shared references.
    resources:
    - name: services-usermanagement-api-users-leaf_user_id-john-deere-credentials
      path: /services/usermanagement/api/users/{leaf_user_id}/john-deere-credentials
      operations:
      - name: get
        method: GET
        description: Leaf Agriculture Get JohnDeere credentials of the LeafUser
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: Content-Type
          in: header
          type: string
        - name: leaf_user_id
          in: path
          type: string
          required: true
      - name: post
        method: POST
        description: Leaf Agriculture Add JohnDeere credentials to the LeafUser
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: Content-Type
          in: header
          type: string
        - name: leaf_user_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: delete
        method: DELETE
        description: Leaf Agriculture Delete JohnDeere credentials of the LeafUser
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: Content-Type
          in: header
          type: string
        - name: leaf_user_id
          in: path
          type: string
          required: true
    - name: services-usermanagement-api-users-leaf_user_id-john-deere-credentials-events
      path: /services/usermanagement/api/users/{leaf_user_id}/john-deere-credentials/events
      operations:
      - name: get
        method: GET
        description: Leaf Agriculture Get JohnDeere credentials Events
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: leaf_user_id
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere-rest
    port: 8080
    description: REST adapter for Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > JohnDeere.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/services/usermanagement/api/users/{leaf-user-id}/john-deere-credentials
      name: services-usermanagement-api-users-leaf-user-id-john-deere-credentials
      description: REST surface for services-usermanagement-api-users-leaf_user_id-john-deere-credentials.
      operations:
      - method: GET
        name: get
        description: Leaf Agriculture Get JohnDeere credentials of the LeafUser
        call: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.get
        with:
          Authorization: rest.Authorization
          Content-Type: rest.Content-Type
          leaf_user_id: rest.leaf_user_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Leaf Agriculture Add JohnDeere credentials to the LeafUser
        call: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.post
        with:
          Authorization: rest.Authorization
          Content-Type: rest.Content-Type
          leaf_user_id: rest.leaf_user_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: delete
        description: Leaf Agriculture Delete JohnDeere credentials of the LeafUser
        call: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.delete
        with:
          Authorization: rest.Authorization
          Content-Type: rest.Content-Type
          leaf_user_id: rest.leaf_user_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/services/usermanagement/api/users/{leaf-user-id}/john-deere-credentials/events
      name: services-usermanagement-api-users-leaf-user-id-john-deere-credentials-events
      description: REST surface for services-usermanagement-api-users-leaf_user_id-john-deere-credentials-events.
      operations:
      - method: GET
        name: get
        description: Leaf Agriculture Get JohnDeere credentials Events
        call: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.get
        with:
          leaf_user_id: rest.leaf_user_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere-mcp
    port: 9090
    transport: http
    description: MCP adapter for Leaf Agriculture Leaf API — API Reference > Leaf User > Provider Credentials > JohnDeere.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: leaf-agriculture-get-johndeere-credentials
      description: Leaf Agriculture Get JohnDeere credentials of the LeafUser
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.get
      with:
        Authorization: tools.Authorization
        Content-Type: tools.Content-Type
        leaf_user_id: tools.leaf_user_id
      outputParameters:
      - type: object
        mapping: $.
    - name: leaf-agriculture-add-johndeere-credentials
      description: Leaf Agriculture Add JohnDeere credentials to the LeafUser
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.post
      with:
        Authorization: tools.Authorization
        Content-Type: tools.Content-Type
        leaf_user_id: tools.leaf_user_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: leaf-agriculture-delete-johndeere-credentials
      description: Leaf Agriculture Delete JohnDeere credentials of the LeafUser
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.delete
      with:
        Authorization: tools.Authorization
        Content-Type: tools.Content-Type
        leaf_user_id: tools.leaf_user_id
      outputParameters:
      - type: object
        mapping: $.
    - name: leaf-agriculture-get-johndeere-credentials-2
      description: Leaf Agriculture Get JohnDeere credentials Events
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: leaf-agriculture-api-reference-leaf-user-provider-credentials-johndeere.get
      with:
        leaf_user_id: tools.leaf_user_id
      outputParameters:
      - type: object
        mapping: $.