3.0 KiB
3.0 KiB
\ComputingApi
All URIs are relative to https://localhost/v1
Method | HTTP request | Description |
---|---|---|
ComputingControllerAddComputing | Post /computing/ | |
ComputingControllerGetComputingByID | Get /computing/{ID} | |
ComputingControllerGetMultipleComputingByIDs | Get /computing/multi/{IDs} |
ComputingControllerAddComputing
ComputingControllerAddComputing(ctx, body)
Submit a computing object
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | ModelsComputingNewModel | The object content |
Return type
(empty response body)
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ComputingControllerGetComputingByID
ModelsComputingModel ComputingControllerGetComputingByID(ctx, iD)
Find a computing resource based on ID
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
iD | string | The ID of the resource |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ComputingControllerGetMultipleComputingByIDs
[]ModelsComputingModel ComputingControllerGetMultipleComputingByIDs(ctx, iDs)
Return Computing objects if found in the DB. Not found IDs will be ignored
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
iDs | **[]string** | List of computing IDs |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]