You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-video-indexer/detect-textual-logo.md
+56-11Lines changed: 56 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,11 @@ For example, if a user would create a textual logo: “Microsoft”, different a
20
20
"name": "Microsoft",
21
21
"wikipediaSearchTerm": "Microsoft",
22
22
"textVariations": [{
23
-
"text": "Microsoft",
24
-
"caseSensitive": false
23
+
"text": "Microsoft",
24
+
"caseSensitive": false
25
25
}, {
26
-
"text": "MSFT",
27
-
"caseSensitive": true
26
+
"text": "MSFT",
27
+
"caseSensitive": true
28
28
}]
29
29
}
30
30
```
@@ -70,11 +70,11 @@ The default body is:
70
70
"name": "Microsoft",
71
71
"wikipediaSearchTerm": "Microsoft",
72
72
"textVariations": [{
73
-
"text": "Microsoft",
74
-
"caseSensitive": false
73
+
"text": "Microsoft",
74
+
"caseSensitive": false
75
75
}, {
76
-
"text": "MSFT",
77
-
"caseSensitive": true
76
+
"text": "MSFT",
77
+
"caseSensitive": true
78
78
}]
79
79
}
80
80
```
@@ -88,6 +88,32 @@ The default body is:
88
88
89
89
The response should return **201 Created**.
90
90
91
+
```
92
+
HTTP/1.1 201 Created
93
+
94
+
content-type: application/json; charset=utf-8
95
+
96
+
{
97
+
"id": "id"
98
+
"creationTime": "2023-01-15T13:08:14.9518235Z",
99
+
"lastUpdateTime": "2023-01-15T13:08:14.9518235Z",
100
+
"lastUpdatedBy": "Jhon Doe",
101
+
"createdBy": "Jhon Doe",
102
+
"name": "Microsoft",
103
+
"wikipediaSearchTerm": "Microsoft",
104
+
"textVariations": [{
105
+
"text": "Microsoft",
106
+
"caseSensitive": false,
107
+
"creationTime": "2023-01-15T13:08:14.9518235Z",
108
+
"createdBy": "Jhon Doe"
109
+
}, {
110
+
"text": "MSFT",
111
+
"caseSensitive": true,
112
+
"creationTime": "2023-01-15T13:08:14.9518235Z",
113
+
"createdBy": "Jhon Doe"
114
+
}]
115
+
}
116
+
```
91
117
## Create a new textual logo group
92
118
93
119
Use the [Create Logo Group](https://api-portal.videoindexer.ai/api-details#api=Operations&operation=Create-Logo-Group) API to create a logo group. Use the **try it** button.
@@ -105,9 +131,9 @@ In the **Body** paste the logo ID from the previous step.
105
131
106
132
```json
107
133
{
108
-
"logos":[{
109
-
"logoId": "id"
110
-
]},
134
+
"logos":[{
135
+
"logoId": "id"
136
+
}],
111
137
"name": "Technology",
112
138
"description": "A group of logos of technology companies."
113
139
}
@@ -117,6 +143,25 @@ In the **Body** paste the logo ID from the previous step.
117
143
118
144
The response should return **201 Created**.
119
145
146
+
```
147
+
HTTP/1.1 201 Created
148
+
149
+
content-type: application/json; charset=utf-8
150
+
151
+
{
152
+
"id": "id",
153
+
"creationTime": "2023-01-15T14:41:11.4860104Z",
154
+
"lastUpdateTime": "2023-01-15T14:41:11.4860104Z",
155
+
"lastUpdatedBy": "Jhon Doe",
156
+
"createdBy": "Jhon Doe",
157
+
"logos": [{
158
+
"logoId": " e9d609b4-d6a6-4943-86ff-557e724bd7c6"
159
+
}],
160
+
"name": "Technology",
161
+
"description": "A group of logos of technology companies."
0 commit comments