Terabase Energy Project API

The Project API from Terabase Energy — 47 operation(s) for project.

OpenAPI Specification

terabase-energy-project-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PlantPredict Project 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: Project
paths:
  /Project/{id}:
    get:
      tags:
      - Project
      summary: Get a Project by Id.
      parameters:
      - name: id
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Project'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Project'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Project'
    delete:
      tags:
      - Project
      summary: Delete a Project by Id.
      parameters:
      - name: id
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
    put:
      tags:
      - Project
      summary: Update a Project.
      description: This operation may attach a X-Message header on the response indicating a non-blocking
        warning about the updated entity.
      parameters:
      - name: id
        in: path
        description: Project ID from URL
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: ''
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Project'
          application/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Project'
          text/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Project'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Project'
      responses:
        '200':
          description: OK
  /Project/My:
    get:
      tags:
      - Project
      summary: Get all Projects you own.
      parameters:
      - name: status
        in: query
        schema:
          $ref: '#/components/schemas/PlantPredict.Entities.Enums.ProjectStatusEnum'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Project'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Project'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Project'
  /Project/Search:
    get:
      tags:
      - Project
      summary: Get Projects for which you have access and are within a certain mile radius of a latitude,
        longitude point.
      parameters:
      - name: latitude
        in: query
        description: ''
        schema:
          type: number
          format: double
      - name: longitude
        in: query
        description: ''
        schema:
          type: number
          format: double
      - name: searchRadius
        in: query
        description: Miles
        schema:
          type: number
          format: double
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Project'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Project'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Project'
  /Project/{projectId}/Overview:
    get:
      tags:
      - Project
      summary: Get a summary overview of a Project by Id.
      description: This operations returns a summary - for the full entity, use the non-overview operation.
      parameters:
      - name: projectId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.ProjectItem'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.ProjectItem'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.ProjectItem'
  /Project:
    post:
      tags:
      - Project
      summary: Create a Project.
      description: This operation may attach a X-Message header on the response indicating a non-blocking
        warning about the new entity.
      parameters:
      - name: enableMeteonormDownload
        in: query
        description: ''
        schema:
          type: boolean
          default: false
      requestBody:
        description: ''
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Project'
          application/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Project'
          text/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Project'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Project'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.CreateEntityInfo'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.CreateEntityInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.CreateEntityInfo'
  /Project/Import/PVsyst:
    post:
      tags:
      - Project
      summary: Import a PVsyst project from a ZIP export.
      description: "Send the ZIP exactly as PVsyst produced it. The import runs\nasynchronously and can\
        \ take several minutes, so this returns\n202 Accepted immediately with an id; poll\n`GET /Project/Import/PVsyst/{jobId}`\
        \ with that id until the status\nis `Completed` or `Failed`.\n            \nEvery variant whose\
        \ referenced module, inverter and weather files are in\nthe ZIP, or match a record already in\
        \ your library, is imported. A\nvariant that references a file which is absent or unreadable is\
        \ left out\nand reported in the status response, naming the file so you can fix the\nexport and\
        \ send it again. Files are never substituted automatically."
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
            encoding:
              file:
                style: form
      responses:
        '202':
          description: Accepted
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PVsystImportApiStartResult'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PVsystImportApiStartResult'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PVsystImportApiStartResult'
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
  /Project/Import/PVsyst/{jobId}:
    get:
      tags:
      - Project
      summary: Check the progress and outcome of a PVsyst import.
      description: "Poll this with the id returned by `POST /Project/Import/PVsyst`.\nChecking once every\
        \ 10 seconds is plenty; a large export can take\nseveral minutes.\n            \n`status` is `Processing`\
        \ while the import is running, then\n`Completed` or `Failed`. On `Completed`, `projectId`\nis\
        \ the created project and `imported` lists the variants that\nbecame predictions. `skipped` lists\
        \ variants left out, each naming\nthe file references that could not be used, so an incomplete\
        \ export can\nbe fixed and sent again. On `Failed`, `errorCode` distinguishes\na problem with\
        \ the ZIP from a problem on our side."
      parameters:
      - name: jobId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PVsystImportApiStatusResult'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PVsystImportApiStatusResult'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PVsystImportApiStatusResult'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
  /Project/{projectId}/Prediction/{predictionId}/WindStow:
    get:
      tags:
      - Project
      summary: Get Wind Stow parameters for a Prediction.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.ArrayWindStowInputParameters'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.ArrayWindStowInputParameters'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.ArrayWindStowInputParameters'
  /Project/{projectId}/Prediction/{predictionId}:
    get:
      tags:
      - Project
      summary: Get a Prediction by Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
    delete:
      tags:
      - Project
      summary: Delete a Prediction by Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction:
    get:
      tags:
      - Project
      summary: Get Predictions by Project Id.
      description: The Predictions returned do not include the Power Plant - use the Power Plant operation
        to interact with those sub-entities.
      parameters:
      - name: projectId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
    put:
      tags:
      - Project
      summary: Update a Prediction.
      description: This operation may attach a X-Message header on the response indicating a non-blocking
        warning about the updated entity.
      parameters:
      - name: projectId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: ''
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          application/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          text/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
    post:
      tags:
      - Project
      summary: Create a Prediction for a Project.
      description: This operation may attach a X-Message header on the response indicating a non-blocking
        warning about the new entity.
      parameters:
      - name: projectId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: ''
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          application/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          text/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.CreateEntityInfo'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.CreateEntityInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.CreateEntityInfo'
  /Project/{projectId}/Prediction/{predictionId}/Overview:
    get:
      tags:
      - Project
      summary: Get Prediction summary overview by Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PredictionItem'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PredictionItem'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.PredictionItem'
  /Project/{projectId}/Prediction/{predictionId}/Hydrated:
    get:
      tags:
      - Project
      summary: Returns a fully hydrated prediction object (includes power plant, financial results, simulation
        results).
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
  /Project/{projectId}/Prediction/{predictionId}/Export:
    get:
      tags:
      - Project
      summary: Export a Prediction by Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
  /Project/{projectId}/TitleUpdate/Prediction:
    put:
      tags:
      - Project
      summary: Updates just the name of a Prediction without requiring a full entity update.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          application/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          text/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
  /Project/{projectId}/NotesUpdate/Prediction:
    put:
      tags:
      - Project
      summary: This operation will update the Prediction notes without deleting any results that may exist.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          application/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          text/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.Prediction'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.DTO.UpdateEntityInfo'
  /Project/{projectId}/Prediction/{predictionId}/Run:
    post:
      tags:
      - Project
      summary: Run a Prediction by Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      requestBody:
        description: ''
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.DTO.ExportOptions'
          application/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.DTO.ExportOptions'
          text/json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.DTO.ExportOptions'
          application/*+json:
            schema:
              $ref: '#/components/schemas/PlantPredict.Entities.DTO.ExportOptions'
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction/{predictionId}/Cancel:
    post:
      tags:
      - Project
      summary: Cancel a Prediction for a Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction/{predictionId}/GetAlbedoData:
    get:
      tags:
      - Project
      summary: Gets the Albedo data for the specified prediction from NSRDB / NASA
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction/{predictionId}/GetPVRadarSoilingData:
    get:
      tags:
      - Project
      summary: Gets the monthly soiling data for the specified prediction from PVRadar
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: trackingType
        in: query
        schema:
          $ref: '#/components/schemas/PlantPredict.Entities.Enums.PVRadarMountingTypeEnum'
      - name: tilt
        in: query
        schema:
          type: number
          format: double
      - name: trackingAngle
        in: query
        schema:
          type: number
          format: double
      - name: nightStowAngle
        in: query
        schema:
          type: number
          format: double
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction/{predictionId}/GetFracsunSoilingData:
    get:
      tags:
      - Project
      summary: Gets the monthly soiling data for the specified prediction from Fracsun
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction/{predictionId}/ProcessingStatus:
    get:
      tags:
      - Project
      summary: Gets explicitly the processing status and percent complete for the specified prediction
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction/{predictionId}/Clone:
    get:
      tags:
      - Project
      summary: Clone a Prediction.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: cloneToBlockBuilder
        in: query
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction/{predictionId}/ResultSummary:
    get:
      tags:
      - Project
      summary: Get summary results for a Prediction by Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.PredictionResultSummary'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.PredictionResultSummary'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.PredictionResultSummary'
  /Project/{projectId}/Prediction/{predictionId}/ResultSummary/Common:
    get:
      tags:
      - Project
      summary: Get summary results using common logic.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.PredictionResultSummary'
            application/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.PredictionResultSummary'
            text/json:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.PredictionResultSummary'
  /Project/{projectId}/Prediction/{predictionId}/ResultDetails:
    get:
      tags:
      - Project
      summary: Get detailed results for a Prediction by Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
  /Project/{projectId}/Prediction/{predictionId}/Nodal:
    get:
      tags:
      - Project
      summary: Get Nodal Data CSV file for a Prediction by Project Id and Prediction Id.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
  /Project/{projectId}/Prediction/{predictionId}/NodalJson:
    get:
      tags:
      - Project
      summary: Get Nodal Data JSON for a Prediction by Project Id and Prediction Id, with optional parameters.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: ESS
        in: query
        schema:
          type: boolean
          default: false
      - name: blockNumber
        in: query
        schema:
          type: integer
          format: int32
          default: 0
      - name: arrayNumber
        in: query
        schema:
          type: integer
          format: int32
          default: 0
      - name: inverterName
        in: query
        schema:
          type: string
          default: ''
      - name: dCFieldNumber
        in: query
        schema:
          type: integer
          format: int32
          default: 0
      - name: nodalParameters
        in: query
        schema:
          type: string
          default: ''
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
            application/json:
              schema:
                type: string
            text/json:
              schema:
                type: string
  /Project/{projectId}/Prediction/{predictionId}/PowerPlant:
    get:
      tags:
      - Project
      summary: Get the Power Plant for a Prediction.
      parameters:
      - name: projectId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      - name: predictionId
        in: path
        description: ''
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlantPredict.Entities.PowerPlants.PVPlant'
        

# --- truncated at 32 KB (336 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/terabase-energy/refs/heads/main/openapi/terabase-energy-project-api-openapi.yml