LI-COR Intermediate Data API

The Data API from LI-COR Intermediate — 1 operation(s) for data.

OpenAPI Specification

li-cor-intermediate-data-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: HOBOLINK External Data API
  version: v1
servers:
- url: https://api.licor.cloud
  description: API Server
tags:
- name: Data
paths:
  /v1/data:
    get:
      description: Fetch organization data
      security:
      - BearerAuth: []
      parameters:
      - name: loggers
        in: query
        schema:
          type: string
        required: true
        description: Comma-separated list of logger serial numbers (ex. 10665731,10665732).
      - name: start_date_time
        in: query
        schema:
          type: string
        required: true
        description: UTC start date for query, in format "yyyy-MM-dd HH:mm:ss" (ex. 2023-11-27 13:45:00).
      - name: end_date_time
        in: query
        schema:
          type: string
        required: true
        description: UTC end date for query, in format "yyyy-MM-dd HH:mm:ss" (ex. 2023-11-27 13:45:00).
      responses:
        '200':
          description: Returns json object with a list of observations.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  max_results:
                    type: boolean
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        logger_sn:
                          type: string
                        sensor_sn:
                          type: string
                        timestamp:
                          type: string
                        data_type:
                          type: string
                        data_type_id:
                          type: string
                        value:
                          type: number
                        unit:
                          type: string
                        sensor_measurement_type:
                          type: string
        '400':
          type: error
          description: Error VAL-001 - VAL-008 Invalid Parameters.
        '401':
          type: error
          description: Error ATH-001 Invalid token.
        '403':
          type: error
          description: Error ATH-001 Invalid token.
        '429':
          type: error
          description: Error SYS-002 Too many requests
        '509':
          type: error
          description: Error SYS-001 System is busy.
      tags:
      - Data
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT