Interface IEnvironmentsAdminApi
Represents a collection of functions to interact with the API endpoints
Namespace: Unity.Services.Apis.Admin.RemoteConfig
Assembly: Unity.Services.Apis.dll
Syntax
public interface IEnvironmentsAdminApi : IApiAccessor
Methods
GetDefaultEnvironment(string, CancellationToken)
Get Default Environment
Declaration
ApiOperation<DefaultEnvironmentResponse> GetDefaultEnvironment(string projectId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Unity Project Id |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |
GetEnvironmentById(string, string, CancellationToken)
Get Environment
Declaration
ApiOperation<Environment> GetEnvironmentById(string projectId, string environmentId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Unity Project Id |
string | environmentId | Environment Id |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |
GetEnvironmentsByProjectId(string, CancellationToken)
Get All Environments
Declaration
ApiOperation<GetEnvironmentsResponse> GetEnvironmentsByProjectId(string projectId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Unity Project Id |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |