Leaf Agriculture API Reference > Leaf User > Provider Credentials > ClimateFieldView API

The API Reference > Leaf User > Provider Credentials > ClimateFieldView API from Leaf Agriculture — 2 operation(s) for api reference > leaf user > provider credentials > climatefieldview.

OpenAPI Specification

leaf-agriculture-api-reference-leaf-user-provider-credentials-climatefieldview-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Leaf Agriculture Leaf API Reference > Alerts API Reference > Leaf User > Provider Credentials > ClimateFieldView 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 > Leaf User > Provider Credentials > ClimateFieldView
paths:
  /services/usermanagement/api/users/{leaf_user_id}/climate-field-view-credentials:
    get:
      tags:
      - API Reference > Leaf User > Provider Credentials > ClimateFieldView
      summary: Leaf Agriculture Get ClimateFieldView credentials of the LeafUser
      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: {}
    post:
      tags:
      - API Reference > Leaf User > Provider Credentials > ClimateFieldView
      summary: Leaf Agriculture Add ClimateFieldView credentials to the LeafUser
      requestBody:
        content:
          application/json:
            schema:
              type: object
              example:
                clientId: '{{cfv_client_id}}'
                clientSecret: '{{cfv_client_secret}}'
                apiKey: '{{cfv_api_key}}'
                refreshToken: '{{cfv_refresh_token}}'
      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: {}
    delete:
      tags:
      - API Reference > Leaf User > Provider Credentials > ClimateFieldView
      summary: Leaf Agriculture Delete ClimateFieldView credentials of the LeafUser
      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/usermanagement/api/users/{leaf_user_id}/climate-field-view-credentials/events:
    get:
      tags:
      - API Reference > Leaf User > Provider Credentials > ClimateFieldView
      summary: Leaf Agriculture Get ClimateFieldView credentials Events
      security:
      - bearerAuth: []
      parameters:
      - name: leaf_user_id
        in: path
        schema:
          type: string
        required: true
      responses:
        '200':
          description: Successful response
          content:
            application/json: {}