Skip to content

Commit e50c0bb

Browse files
committed
updated logo
1 parent 0396d63 commit e50c0bb

File tree

1 file changed

+56
-11
lines changed

1 file changed

+56
-11
lines changed

articles/azure-video-indexer/detect-textual-logo.md

Lines changed: 56 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ For example, if a user would create a textual logo: “Microsoft”, different a
2020
"name": "Microsoft",
2121
"wikipediaSearchTerm": "Microsoft",
2222
"textVariations": [{
23-
"text": "Microsoft",
24-
"caseSensitive": false
23+
"text": "Microsoft",
24+
"caseSensitive": false
2525
}, {
26-
"text": "MSFT",
27-
"caseSensitive": true
26+
"text": "MSFT",
27+
"caseSensitive": true
2828
}]
2929
}
3030
```
@@ -70,11 +70,11 @@ The default body is:
7070
"name": "Microsoft",
7171
"wikipediaSearchTerm": "Microsoft",
7272
"textVariations": [{
73-
"text": "Microsoft",
74-
"caseSensitive": false
73+
"text": "Microsoft",
74+
"caseSensitive": false
7575
}, {
76-
"text": "MSFT",
77-
"caseSensitive": true
76+
"text": "MSFT",
77+
"caseSensitive": true
7878
}]
7979
}
8080
```
@@ -88,6 +88,32 @@ The default body is:
8888

8989
The response should return **201 Created**.
9090

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+
```
91117
## Create a new textual logo group
92118

93119
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.
105131

106132
```json
107133
{
108-
"logos":[{
109-
"logoId": "id"
110-
]},
134+
"logos": [{
135+
"logoId": "id"
136+
}],
111137
"name": "Technology",
112138
"description": "A group of logos of technology companies."
113139
}
@@ -117,6 +143,25 @@ In the **Body** paste the logo ID from the previous step.
117143

118144
The response should return **201 Created**.
119145

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."
162+
}
163+
```
164+
120165
## Upload from URL
121166
122167
Use the upload API call:

0 commit comments

Comments
 (0)