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 | |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation | 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 |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation | 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 |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation<object> | 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 |
| CancellationToken | cancellationToken | Cancellation Token to cancel the request. |
Returns
| Type | Description |
|---|---|
| ApiOperation<GetAllSchemasResponse> | The operation |