Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4652,7 +4652,8 @@
"description": "Face list object.",
"type": "object",
"required": [
"faceListId"
"faceListId",
"name"
],
"properties": {
"faceListId": {
Expand All @@ -4661,16 +4662,25 @@
"maxLength": 64,
"pattern": "^[a-z0-9-_]+$"
},
"name": {
"type": "string",
"description": "User defined name, maximum length is 128.",
"maxLength": 128,
"minLength": 1
},
"userData": {
"type": "string",
"description": "User specified data. Length should not exceed 16KB.",
"maxLength": 16384
},
"recognitionModel": {
"$ref": "#/definitions/RecognitionModel"
},
"persistedFaces": {
"description": "Persisted faces within the face list.",
"$ref": "#/definitions/PersistedFaces"
}
},
"allOf": [
{
"$ref": "#/definitions/MetaDataContract"
}
]
}
},
"FaceLists": {
"type": "array",
Expand All @@ -4682,7 +4692,8 @@
"PersonGroup": {
"type": "object",
"required": [
"personGroupId"
"personGroupId",
"name"
],
"description": "Person group object.",
"properties": {
Expand All @@ -4691,13 +4702,22 @@
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9-_]+$"
},
"name": {
"type": "string",
"description": "User defined name, maximum length is 128.",
"maxLength": 128,
"minLength": 1
},
"userData": {
"type": "string",
"description": "User specified data. Length should not exceed 16KB.",
"maxLength": 16384
},
"recognitionModel": {
"$ref": "#/definitions/RecognitionModel"
}
},
"allOf": [
{
"$ref": "#/definitions/MetaDataContract"
}
]
}
},
"PersonGroups": {
"type": "array",
Expand Down Expand Up @@ -4771,21 +4791,31 @@
"description": "Large face list object.",
"type": "object",
"required": [
"largeFaceListId"
"largeFaceListId",
"name"
],
"properties": {
"largeFaceListId": {
"type": "string",
"description": "LargeFaceListId of the target large face list.",
"maxLength": 64,
"pattern": "^[a-z0-9-_]+$"
},
"name": {
"type": "string",
"description": "User defined name, maximum length is 128.",
"maxLength": 128,
"minLength": 1
},
"userData": {
"type": "string",
"description": "User specified data. Length should not exceed 16KB.",
"maxLength": 16384
},
"recognitionModel": {
"$ref": "#/definitions/RecognitionModel"
}
},
"allOf": [
{
"$ref": "#/definitions/MetaDataContract"
}
]
}
},
"LargeFaceLists": {
"type": "array",
Expand All @@ -4797,7 +4827,8 @@
"LargePersonGroup": {
"type": "object",
"required": [
"largePersonGroupId"
"largePersonGroupId",
"name"
],
"description": "Large person group object.",
"properties": {
Expand All @@ -4806,13 +4837,22 @@
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9-_]+$"
},
"name": {
"type": "string",
"description": "User defined name, maximum length is 128.",
"maxLength": 128,
"minLength": 1
},
"userData": {
"type": "string",
"description": "User specified data. Length should not exceed 16KB.",
"maxLength": 16384
},
"recognitionModel": {
"$ref": "#/definitions/RecognitionModel"
}
},
"allOf": [
{
"$ref": "#/definitions/MetaDataContract"
}
]
}
},
"LargePersonGroups": {
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"personGroupId": "abc",
"personId": "foobar",
"persistedFaceId": "asd"
"personId": "B8D802CF-DD8F-4E61-B15C-9E6C5844CCBA",
"persistedFaceId": "015839fb-fbd9-4f79-ace9-7675fc2f1dd9"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3727,7 +3727,8 @@
"description": "Face list object.",
"type": "object",
"required": [
"faceListId"
"faceListId",
"name"
],
"properties": {
"faceListId": {
Expand All @@ -3736,16 +3737,25 @@
"maxLength": 64,
"pattern": "^[a-z0-9-_]+$"
},
"name": {
"type": "string",
"description": "User defined name, maximum length is 128.",
"maxLength": 128,
"minLength": 1
},
"userData": {
"type": "string",
"description": "User specified data. Length should not exceed 16KB.",
"maxLength": 16384
},
"recognitionModel": {
"$ref": "#/definitions/RecognitionModel"
},
"persistedFaces": {
"description": "Persisted faces within the face list.",
"$ref": "#/definitions/PersistedFaces"
}
},
"allOf": [
{
"$ref": "#/definitions/MetaDataContract"
}
]
}
},
"FaceLists": {
"type": "array",
Expand All @@ -3757,7 +3767,8 @@
"PersonGroup": {
"type": "object",
"required": [
"personGroupId"
"personGroupId",
"name"
],
"description": "Person group object.",
"properties": {
Expand All @@ -3766,13 +3777,22 @@
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9-_]+$"
},
"name": {
"type": "string",
"description": "User defined name, maximum length is 128.",
"maxLength": 128,
"minLength": 1
},
"userData": {
"type": "string",
"description": "User specified data. Length should not exceed 16KB.",
"maxLength": 16384
},
"recognitionModel": {
"$ref": "#/definitions/RecognitionModel"
}
},
"allOf": [
{
"$ref": "#/definitions/MetaDataContract"
}
]
}
},
"PersonGroups": {
"type": "array",
Expand Down Expand Up @@ -3846,21 +3866,31 @@
"description": "Large face list object.",
"type": "object",
"required": [
"largeFaceListId"
"largeFaceListId",
"name"
],
"properties": {
"largeFaceListId": {
"type": "string",
"description": "LargeFaceListId of the target large face list.",
"maxLength": 64,
"pattern": "^[a-z0-9-_]+$"
},
"name": {
"type": "string",
"description": "User defined name, maximum length is 128.",
"maxLength": 128,
"minLength": 1
},
"userData": {
"type": "string",
"description": "User specified data. Length should not exceed 16KB.",
"maxLength": 16384
},
"recognitionModel": {
"$ref": "#/definitions/RecognitionModel"
}
},
"allOf": [
{
"$ref": "#/definitions/MetaDataContract"
}
]
}
},
"LargeFaceLists": {
"type": "array",
Expand All @@ -3872,7 +3902,8 @@
"LargePersonGroup": {
"type": "object",
"required": [
"largePersonGroupId"
"largePersonGroupId",
"name"
],
"description": "Large person group object.",
"properties": {
Expand All @@ -3881,13 +3912,22 @@
"type": "string",
"maxLength": 64,
"pattern": "^[a-z0-9-_]+$"
},
"name": {
"type": "string",
"description": "User defined name, maximum length is 128.",
"maxLength": 128,
"minLength": 1
},
"userData": {
"type": "string",
"description": "User specified data. Length should not exceed 16KB.",
"maxLength": 16384
},
"recognitionModel": {
"$ref": "#/definitions/RecognitionModel"
}
},
"allOf": [
{
"$ref": "#/definitions/MetaDataContract"
}
]
}
},
"LargePersonGroups": {
"type": "array",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"Content-Type": "application/json",
"Ocp-Apim-Subscription-Key": "{API key}",
"personGroupId": "abc",
"personId": "foobar",
"persistedFaceId": "asd"
"personId": "B8D802CF-DD8F-4E61-B15C-9E6C5844CCBA",
"persistedFaceId": "015839fb-fbd9-4f79-ace9-7675fc2f1dd9"
},
"responses": {
"200": {
Expand Down