7.4 KiB
7.4 KiB
Go API client for swagger
Backend of the oc-search project
Overview
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.GoClientCodegen
Installation
Put the package under your project folder and add the following in import:
import "./swagger"
Documentation for API Endpoints
All URIs are relative to https://localhost/v1
Class | Method | HTTP request | Description |
---|---|---|---|
ComputingApi | ComputingControllerAddComputing | Post /computing/ | |
ComputingApi | ComputingControllerGetComputingByID | Get /computing/{ID} | |
ComputingApi | ComputingControllerGetMultipleComputingByIDs | Get /computing/multi/{IDs} | |
DataApi | DataControllerCreateData | Post /data/ | |
DataApi | DataControllerGetDataByID | Get /data/{ID} | |
DataApi | DataControllerGetMultipleDataByIDs | Get /data/multi/{IDs} | |
DatacenterApi | DatacenterControllerCreateDatacenter | Post /datacenter/ | |
DatacenterApi | DatacenterControllerGetMultipleDatacentersByIDs | Get /datacenter/multi/{IDs} | |
DatacenterApi | DatacenterControllerGetOneDatacenter | Get /datacenter/{ID} | |
ScheduleApi | ScheduleControllerCheckIfScheduleCanBeCreatedInThisDC | Post /schedule/check | |
ScheduleApi | ScheduleControllerCreateSchedule | Post /schedule/book | |
ScheduleApi | ScheduleControllerGetNextSchedule | Get /schedule/next | |
ScheduleApi | ScheduleControllerGetPreviousSchedule | Get /schedule/previous | |
ScheduleApi | ScheduleControllerGetSchedules | Get /schedule/ | |
SearchApi | SearchControllerSearchByWord | Get /search/byWord | |
StorageApi | StorageControllerCreateStorage | Post /storage/ | |
StorageApi | StorageControllerGet | Get /storage/{ID} | |
StorageApi | StorageControllerGetMultipleStoragesByIDs | Get /storage/multi/{IDs} | |
UserApi | UserControllerLogin | Get /user/login | |
UserApi | UserControllerLogout | Get /user/logout | |
WorkflowApi | WorkflowControllerAddNewObjectToAWorkflow | Post /workflow/{workflowName}/add | |
WorkflowApi | WorkflowControllerBookSchedule | Post /workflow/{workflowName}/schedule/book | |
WorkflowApi | WorkflowControllerCheckSchedule | Get /workflow/{workflowName}/schedule/check | |
WorkflowApi | WorkflowControllerCreateANewWorkflow | Post /workflow/ | |
WorkflowApi | WorkflowControllerCreateARealtionshipBetweenTwoRobjects | Post /workflow/{workflowName}/link | |
WorkflowApi | WorkflowControllerGetMxGraphLastStatus | Get /workflow/{workflowName}/mxGraphParser | |
WorkflowApi | WorkflowControllerGetSchedule | Get /workflow/{workflowName}/schedule | |
WorkflowApi | WorkflowControllerGetWorkflow | Get /workflow/{workflowName} | |
WorkflowApi | WorkflowControllerListWorkflows | Get /workflow/ | |
WorkflowApi | WorkflowControllerParseMxGraph | Post /workflow/{workflowName}/mxGraphParser | |
WorkflowApi | WorkflowControllerSetSchedule | Put /workflow/{workflowName}/schedule | |
WorkspaceApi | WorkspaceControllerAddModelToWorkspace | Post /workspace/ | |
WorkspaceApi | WorkspaceControllerDeleteElementFromUserWorkspace | Delete /workspace/ | |
WorkspaceApi | WorkspaceControllerGetFullWorkspace | Get /workspace/list_model | |
WorkspaceApi | WorkspaceControllerGetWorkspace | Get /workspace/list |
Documentation For Models
- ModelsComputingModel
- ModelsComputingNewModel
- ModelsComputingObject
- ModelsDCstatus
- ModelsDataModel
- ModelsDataNewModel
- ModelsDataObject
- ModelsDatacenterCpuModel
- ModelsDatacenterGpuModel
- ModelsDatacenterMemoryModel
- ModelsDatacenterModel
- ModelsDatacenterNewModel
- ModelsDatacenterObject
- ModelsExecutionRequirementsModel
- ModelsRepositoryModel
- ModelsScheduleDb
- ModelsScheduleInfo
- ModelsScheduleTime
- ModelsSearchResult
- ModelsStorageModel
- ModelsStorageNewModel
- ModelsStorageObject
- ModelsWorkflow
- ModelsWorkflowSchedule
- ModelsWorkspace
- ModelsWorkspaceModel
- PrimitiveObjectId
- TimeTime
Documentation For Authorization
Endpoints do not require authorization.