Interface ISchemasAdminApi
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 ISchemasAdminApi : IApiAccessor
Methods
CreateSchemaByConfigId(string, string, object, CancellationToken)
Create Schema
Declaration
ApiOperation CreateSchemaByConfigId(string projectId, string configId, object body, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Unity Project Id |
string | configId | Configuration Id |
object | body | |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |
DeleteSchemaByConfigIdAndId(string, string, string, CancellationToken)
Delete Schema
Declaration
ApiOperation DeleteSchemaByConfigIdAndId(string projectId, string configId, string id, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Unity Project Id |
string | configId | Configuration Id |
string | id | Schema Id |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |
GetSchemaByConfigIdAndId(string, string, string, CancellationToken)
Get Schema
Declaration
ApiOperation<object> GetSchemaByConfigIdAndId(string projectId, string configId, string id, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Unity Project Id |
string | configId | Configuration Id |
string | id | Schema Id |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |
GetSchemasByConfigId(string, string, CancellationToken)
Get All Schemas
Declaration
ApiOperation<GetAllSchemasResponse> GetSchemasByConfigId(string projectId, string configId, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Unity Project Id |
string | configId | Configuration Id |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |