Liveness Session Operations - Patch Settings
ライブネス設定オブジェクトを更新します。
PATCH {endpoint}/face/{apiVersion}/settings
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
api
|
path | True |
string |
APIバージョン |
|
endpoint
|
path | True |
string (uri) |
サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://{resource-name}.cognitiveservices.azure.com)。 |
要求本文
| 名前 | 型 | 説明 |
|---|---|---|
| livenessAbuseMonitoring |
ライブネスの悪用監視設定 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
要求は成功しました。 |
|
| Other Status Codes |
予期しないエラー応答。 ヘッダー x-ms-error-code: string |
セキュリティ
Ocp-Apim-Subscription-Key
Azure AI Face サブスクリプションの秘密キー。
型:
apiKey
/:
header
AADToken
Azure Active Directory OAuth2 フロー
型:
oauth2
フロー:
accessCode
Authorization URL (承認 URL):
https://api.example.com/oauth2/authorize
Token URL (トークン URL):
https://api.example.com/oauth2/token
スコープ
| 名前 | 説明 |
|---|---|
| https://cognitiveservices.azure.com/.default |
例
Patch LivenessSessionOperations Settings
要求のサンプル
PATCH {endpoint}/face/v1.3-preview.1/settings
{
"livenessAbuseMonitoring": {
"enabled": true
}
}
応答のサンプル
{
"livenessAbuseMonitoring": {
"enabled": true
}
}
定義
| 名前 | 説明 |
|---|---|
|
Face |
エラー オブジェクト。 Faceサービスから返されるエラーコードとメッセージの詳細については、次のリンクを参照してください: https://aka.ms/face-error-codes-and-messages。 |
|
Face |
エラーの詳細を含む応答。 |
|
Liveness |
ライブネスの悪用監視の設定。 |
|
Liveness |
ライブネスの悪用監視の設定。 |
| Settings |
設定の応答モデル。 |
|
Settings |
設定の応答モデル。 |
FaceError
エラー オブジェクト。 Faceサービスから返されるエラーコードとメッセージの詳細については、次のリンクを参照してください: https://aka.ms/face-error-codes-and-messages。
| 名前 | 型 | 説明 |
|---|---|---|
| code |
string |
サーバー定義のエラー・コード・セットの 1 つ。 |
| message |
string |
人間が判読できるエラー表現。 |
FaceErrorResponse
エラーの詳細を含む応答。
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー オブジェクト。 |
LivenessAbuseMonitoringSetting
ライブネスの悪用監視の設定。
| 名前 | 型 | 説明 |
|---|---|---|
| enabled |
object |
ライブネスの悪用監視が有効になっているかどうか |
LivenessAbuseMonitoringSettingUpdate
ライブネスの悪用監視の設定。
| 名前 | 型 | 説明 |
|---|---|---|
| enabled |
object |
ライブネスの悪用監視が有効になっているかどうか |
Settings
設定の応答モデル。
| 名前 | 型 | 説明 |
|---|---|---|
| livenessAbuseMonitoring |
ライブネスの悪用監視設定 |
SettingsUpdate
設定の応答モデル。
| 名前 | 型 | 説明 |
|---|---|---|
| livenessAbuseMonitoring |
ライブネスの悪用監視設定 |