Terabase Energy Definition API

The Definition API from Terabase Energy — 1 operation(s) for definition.

OpenAPI Specification

terabase-energy-definition-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PlantPredict Definition API
  description: The HTTP API used by the PlantPredict web application. This API can also be accessed directly
    by having your Company Admin generate API credentials. If you do not know your Company Admin, contact
    support@plantpredict.com for assistance.
  contact:
    name: PlantPredict Support
    url: https://plantpredict.com/contact/
    email: support@plantpredict.com
  version: current
security:
- Bearer: []
tags:
- name: Definition
paths:
  /Definitions:
    get:
      tags:
      - Definition
      summary: Get the list of all system defined enumeration definitions.
      parameters:
      - name: type
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.DTO.Definitions'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.DTO.Definitions'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.DTO.Definitions'
components:
  schemas:
    PlantPredict.Entities.DTO.Definitions:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        values:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/PlantPredict.Entities.DTO.Definition'
      additionalProperties: false
    PlantPredict.Entities.DTO.Definition:
      type: object
      properties:
        id:
          type: integer
          format: int32
        name:
          type:
          - string
          - 'null'
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer
        {token}"'
      name: Authorization
      in: header