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
@@ -23,43 +23,15 @@ You can use the Video Indexer APIs to create, use, and edit custom Brands models
23
23
24
24
## Create a Brand
25
25
26
-
This creates a new custom brand and adds it to the custom Brands model for the specified account.
26
+
The [create a brand](https://api-portal.videoindexer.ai/docs/services/operations/operations/Create-Brand) API creates a new custom brand and adds it to the custom Brands model for the specified account.
[See required parameters and test out using the Video Indexer Developer Portal](https://api-portal.videoindexer.ai/docs/services/operations/operations/Create-Brand).
35
-
36
-
### Request parameters
37
-
38
-
|**Name**|**Type**|**Required**|**Description**|
39
-
|---|---|---|---|
40
-
|location|string|Yes|The Azure region to which the call should be routed. For more information, see [Azure regions and Video Indexer](regions.md).|
41
-
|accountId|string|Yes|Globally unique identifier for the account|
42
-
|accessToken|string|Yes|Access token (must be of scope [Account Access Token](https://api-portal.videoindexer.ai/docs/services/authorization/operations/Get-Account-Access-Token?)) to authenticate against the call. Access tokens expire within 1 hour.|
43
-
44
-
### Request body
45
-
46
-
In addition to these parameters, you must provide a request body JSON object that provides information on the new brand following the format of the example below.
Setting **enabled** to true puts the brand in the *Include* list for Video Indexer to detect. Setting **enabled** to false puts the brand in the *Exclude* list, so Video Indexer will not detect it.
28
+
> [!NOTE]
29
+
> Setting **enabled** (in the body) to true puts the brand in the *Include* list for Video Indexer to detect. Setting **enabled** to false puts the brand in the *Exclude* list, so Video Indexer will not detect it.
59
30
60
-
The **referenceUrl** value can be any reference websites for the brand such as a link to its Wikipedia page.
31
+
Some other parameters that you can set in the body:
61
32
62
-
The **tags** value is a list of tags for the brand. This shows up in the brand's *Category* field in the Video Indexer website. For example, the brand "Azure" can be tagged or categorized as "Cloud".
33
+
* The **referenceUrl** value can be any reference websites for the brand such as a link to its Wikipedia page.
34
+
* The **tags** value is a list of tags for the brand. This shows up in the brand's *Category* field in the Video Indexer website. For example, the brand "Azure" can be tagged or categorized as "Cloud".
63
35
64
36
### Response
65
37
@@ -85,57 +57,15 @@ The response provides information on the brand that you just created following t
85
57
86
58
## Delete a Brand
87
59
88
-
Removes a brand from the custom Brands model for the specified account. The account is specified in the **accountId** parameter. Once called successfully, the brand will no longer be in the *Include* or *Exclude* brands lists.
[See required parameters and test out using the Video Indexer Developer Portal](https://api-portal.videoindexer.ai/docs/services/operations/operations/Delete-Brand?).
97
-
98
-
### Request parameters
99
-
100
-
|**Name**|**Type**|**Required**|**Description**|
101
-
|---|---|---|---|
102
-
|location|string|Yes|The Azure region to which the call should be routed. For more information, see [Azure regions and Video Indexer](regions.md).|
103
-
|accountId|string|Yes|Globally unique identifier for the account|
104
-
|id|integer|Yes|The brand id (generated when the brand was created)|
105
-
|accessToken|string|Yes|Access token (must be of scope [Account Access Token](https://api-portal.videoindexer.ai/docs/services/authorization/operations/Get-Account-Access-Token?)) to authenticate against the call. Access tokens expire within 1 hour.|
106
-
107
-
### Request body
108
-
109
-
There is no further request body required for this call.
60
+
The [delete a brand](https://api-portal.videoindexer.ai/docs/services/operations/operations/Delete-Brand?) API removes a brand from the custom Brands model for the specified account. The account is specified in the **accountId** parameter. Once called successfully, the brand will no longer be in the *Include* or *Exclude* brands lists.
110
61
111
62
### Response
112
63
113
64
There is no returned content when the brand is deleted successfully.
114
65
115
66
## Get a specific Brand
116
67
117
-
This lets you search for the details of a brand in the custom Brands model for the specified account using the brand id.
[See required parameters and test out using the Video Indexer Developer Portal](https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-Brand?).
126
-
127
-
### Request parameters
128
-
129
-
|**Name**|**Type**|**Required**|**Description**|
130
-
|---|---|---|---|
131
-
|location|string|Yes|The Azure region to which the call should be routed. For more information, see [Azure regions and Video Indexer](regions.md).|
132
-
|accountId|string|Yes|Globally unique identifier for the account|
133
-
|id|integer|Yes|The brand ID (generated when the brand was created)|
134
-
|accessToken|string|Yes|Access token (must be of scope [Account Access Token](https://api-portal.videoindexer.ai/docs/services/authorization/operations/Get-Account-Access-Token?)) to authenticate against the call. Access tokens expire within 1 hour.|
135
-
136
-
### Request body
137
-
138
-
There is no further request body required for this call.
68
+
The [get a brand](https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-Brand?) API lets you search for the details of a brand in the custom Brands model for the specified account using the brand ID.
139
69
140
70
### Response
141
71
@@ -164,44 +94,7 @@ The response provides information on the brand that you searched (using brand ID
164
94
165
95
## Update a specific brand
166
96
167
-
This lets you search for the details of a brand in the custom Brands model for the specified account using the brand ID.
[See required parameters and test out using the Video Indexer Developer Portal](https://api-portal.videoindexer.ai/docs/services/operations/operations/Update-Brand?).
176
-
177
-
### Request parameters
178
-
179
-
|**Name**|**Type**|**Required**|**Description**|
180
-
|---|---|---|---|
181
-
|location|string|Yes|The Azure region to which the call should be routed. For more information, see [Azure regions and Video Indexer](regions.md).|
182
-
|accountId|string|Yes|Globally unique identifier for the account|
183
-
|id|integer|Yes|The brand ID (generated when the brand was created)|
184
-
|accessToken|string|Yes|Access token (must be of scope [Account Access Token](https://api-portal.videoindexer.ai/docs/services/authorization/operations/Get-Account-Access-Token?)) to authenticate against the call. Access tokens expire within 1 hour.|
185
-
186
-
### Request body
187
-
188
-
In addition to these parameters, you must provide a request body JSON object that provides updated information on the brand that you want to update following the format of the example below.
> In this example the brand that was created in the example request body in the **Create a Brand** section is being updated here with a new tag and new description. The **enabled** value has also been changed to false to put it in the *Exclude* list.
97
+
The [update a brand](https://api-portal.videoindexer.ai/docs/services/operations/operations/Update-Brand?) API lets you search for the details of a brand in the custom Brands model for the specified account using the brand ID.
205
98
206
99
### Response
207
100
@@ -227,27 +120,7 @@ The response provides the updated information on the brand that you updated foll
227
120
228
121
## Get all of the Brands
229
122
230
-
This returns all of the brands in the custom Brands model for the specified account regardless of whether the brand is meant to be in the *Include* or *Exclude* brands list.
[See required parameters and test out using the Video Indexer Developer Portal](https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-Brands?).
239
-
240
-
### Request parameters
241
-
242
-
|**Name**|**Type**|**Required**|**Description**|
243
-
|---|---|---|---|
244
-
|location|string|Yes|The Azure region to which the call should be routed. For more information, see [Azure regions and Video Indexer](regions.md).|
245
-
|accountId|string|Yes|Globally unique identifier for the account|
246
-
|accessToken|string|Yes|Access token (must be of scope [Account Access Token](https://api-portal.videoindexer.ai/docs/services/authorization/operations/Get-Account-Access-Token?)) to authenticate against the call. Access tokens expire within 1 hour.|
247
-
248
-
### Request body
249
-
250
-
There is no further request body required for this call.
123
+
The [get all brands](https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-Brands?) API returns all of the brands in the custom Brands model for the specified account regardless of whether the brand is meant to be in the *Include* or *Exclude* brands list.
251
124
252
125
### Response
253
126
@@ -287,27 +160,7 @@ The response provides a list of all of the brands in your account and each of th
287
160
288
161
## Get Brands model settings
289
162
290
-
This returns the Brands model settings in the specified account. The Brands model settings represent whether detection from the Bing brands database is enabled or not. If Bing brands are not enabled, Video Indexer will only detect brands from the custom Brands model of the specified account.
[See required parameters and test out using the Video Indexer Developer Portal](https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-Brands).
299
-
300
-
### Request parameters
301
-
302
-
|**Name**|**Type**|**Required**|**Description**|
303
-
|---|---|---|---|
304
-
|location|string|Yes|The Azure region to which the call should be routed. For more information, see [Azure regions and Video Indexer](regions.md).|
305
-
|accountId|string|Yes|Globally unique identifier for the account|
306
-
|accessToken|string|Yes|Access token (must be of scope [Account Access Token](https://api-portal.videoindexer.ai/docs/services/authorization/operations/Get-Account-Access-Token?)) to authenticate against the call. Access tokens expire within 1 hour.|
307
-
308
-
### Request body
309
-
310
-
There is no further request body required for this call.
163
+
The [get brands settings](https://api-portal.videoindexer.ai/docs/services/operations/operations/Get-Brands) API returns the Brands model settings in the specified account. The Brands model settings represent whether detection from the Bing brands database is enabled or not. If Bing brands are not enabled, Video Indexer will only detect brands from the custom Brands model of the specified account.
311
164
312
165
### Response
313
166
@@ -325,35 +178,9 @@ The response shows whether Bing brands are enabled following the format of the e
325
178
326
179
## Update Brands model settings
327
180
328
-
This updates the Brands model settings in the specified account. The Brands model settings represent whether detection from the Bing brands database is enabled or not. If Bing brands are not enabled, Video Indexer will only detect brands from the custom Brands model of the specified account.
[See required parameters and test out using the Video Indexer Developer Portal](https://api-portal.videoindexer.ai/docs/services/operations/operations/Update-Brands-Model-Settings?).
336
-
337
-
### Request parameters
338
-
339
-
|**Name**|**Type**|**Required**|**Description**|
340
-
|---|---|---|---|
341
-
|location|string|Yes|The Azure region to which the call should be routed. For more information, see [Azure regions and Video Indexer](regions.md).|
342
-
|accountId|string|Yes|Globally unique identifier for the account|
343
-
|accessToken|string|Yes|Access token (must be of scope [Account Access Token](https://api-portal.videoindexer.ai/docs/services/authorization/operations/Get-Account-Access-Token?)) to authenticate against the call. Access tokens expire within 1 hour.|
181
+
The [update brands](https://api-portal.videoindexer.ai/docs/services/operations/operations/Update-Brands-Model-Settings?) updates the Brands model settings in the specified account. The Brands model settings represent whether detection from the Bing brands database is enabled or not. If Bing brands are not enabled, Video Indexer will only detect brands from the custom Brands model of the specified account.
344
182
345
-
### Request body
346
-
347
-
In addition to these parameters, you must provide a request body JSON object that provides information on the new brand following the format of the example below.
348
-
349
-
```json
350
-
{
351
-
"useBuiltIn":true
352
-
}
353
-
```
354
-
355
-
> [!NOTE]
356
-
> **useBuiltIn** being set to true represents that Bing brands are enabled. If *useBuiltin* is false, Bing brands are disabled.
183
+
The **useBuiltIn** flag set to true represents that Bing brands are enabled. If *useBuiltin* is false, Bing brands are disabled.
0 commit comments