2.8 KiB
2.8 KiB
\DataApi
All URIs are relative to https://localhost:49618/v1
Method | HTTP request | Description |
---|---|---|
DataControllerCreateData | Post /data/ | |
DataControllerGetDataByID | Get /data/{ID} | |
DataControllerGetMultipleDataByIDs | Get /data/multi/{IDs} |
DataControllerCreateData
DataControllerCreateData(ctx, body)
Submit data object
Required Parameters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | ModelsDataNewModel | 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]
DataControllerGetDataByID
ModelsDataModel DataControllerGetDataByID(ctx, iD)
Find rType data 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 data 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]
DataControllerGetMultipleDataByIDs
[]ModelsDataModel DataControllerGetMultipleDataByIDs(ctx, iDs)
Return Data object 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 data 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]