(ProcessesV1)
Deprecated. Use ProcessesV2.
GetProcessInfoDeprecated- Get details for a process.⚠️ DeprecatedGetRunningProcesses- Retrieve 10 most recently started process objects for an application. Filter the array by optionally passing in aregion
.⚠️ DeprecatedGetStoppedProcesses- Retrieve 10 most recently stopped process objects for an application. Filter the array by optionally passing in aregion
.⚠️ Deprecated
Get details for a process.
⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.
using HathoraCloud;
using HathoraCloud.Models.Shared;
using HathoraCloud.Models.Operations;
var sdk = new HathoraCloudSDK(
security: new Security() {
HathoraDevToken = "<YOUR_BEARER_TOKEN_HERE>",
},
appId: "app-af469a92-5b45-4565-b3c4-b79878de67d2");
GetProcessInfoDeprecatedRequest req = new GetProcessInfoDeprecatedRequest() {
ProcessId = "cbfcddd2-0006-43ae-996c-995fff7bed2e",
};
using(var res = await sdk.ProcessesV1.GetProcessInfoDeprecatedAsync(req))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
GetProcessInfoDeprecatedRequest | ✔️ | The request object to use for the request. |
GetProcessInfoDeprecatedResponse
Error Object | Status Code | Content Type |
---|---|---|
HathoraCloud.Models.Errors.ApiError | 401,404,429,500 | application/json |
HathoraCloud.Models.Errors.SDKException | 4xx-5xx | / |
Retrieve 10 most recently started process objects for an application. Filter the array by optionally passing in a region
.
⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.
using HathoraCloud;
using HathoraCloud.Models.Shared;
using HathoraCloud.Models.Operations;
var sdk = new HathoraCloudSDK(
security: new Security() {
HathoraDevToken = "<YOUR_BEARER_TOKEN_HERE>",
},
appId: "app-af469a92-5b45-4565-b3c4-b79878de67d2");
GetRunningProcessesRequest req = new GetRunningProcessesRequest() {};
using(var res = await sdk.ProcessesV1.GetRunningProcessesAsync(req))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
GetRunningProcessesRequest | ✔️ | The request object to use for the request. |
Error Object | Status Code | Content Type |
---|---|---|
HathoraCloud.Models.Errors.ApiError | 401,404,429 | application/json |
HathoraCloud.Models.Errors.SDKException | 4xx-5xx | / |
Retrieve 10 most recently stopped process objects for an application. Filter the array by optionally passing in a region
.
⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.
using HathoraCloud;
using HathoraCloud.Models.Shared;
using HathoraCloud.Models.Operations;
var sdk = new HathoraCloudSDK(
security: new Security() {
HathoraDevToken = "<YOUR_BEARER_TOKEN_HERE>",
},
appId: "app-af469a92-5b45-4565-b3c4-b79878de67d2");
GetStoppedProcessesRequest req = new GetStoppedProcessesRequest() {};
using(var res = await sdk.ProcessesV1.GetStoppedProcessesAsync(req))
{
// handle response
}
Parameter | Type | Required | Description |
---|---|---|---|
request |
GetStoppedProcessesRequest | ✔️ | The request object to use for the request. |
Error Object | Status Code | Content Type |
---|---|---|
HathoraCloud.Models.Errors.ApiError | 401,404,429 | application/json |
HathoraCloud.Models.Errors.SDKException | 4xx-5xx | / |