List Management Term Lists - Refresh Index
Uppdaterar indexet för listan med listId lika med det skickade list-ID:t.
POST {Endpoint}/contentmoderator/lists/v1.0/termlists/{listId}/RefreshIndex?language={language}
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Azure Cognitive Services-slutpunkter som stöds (protokoll och värdnamn, till exempel https://westus.api.cognitive.microsoft.com). |
list
|
path | True |
string |
List-ID för bildlistan. |
language
|
query | True |
string |
Språk för termerna. |
Begärandehuvud
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Svar
Name | Typ | Description |
---|---|---|
200 OK |
OK. |
|
Other Status Codes |
Felsvar. |
Säkerhet
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Exempel
Refresh Term Index request
Sample Request
POST {Endpoint}/contentmoderator/lists/v1.0/termlists/89003/RefreshIndex?language=eng
Sample Response
{
"ContentSourceId": "89003",
"IsUpdateSuccess": true,
"AdvancedInfo": [],
"Status": {
"Code": 3000,
"Description": "RefreshIndex successfully completed.",
"Exception": ""
},
"TrackingId": "WE_7be12265b82742749e6b6b1b0_ContentModerator.Preview_e220d7be-49d0-4553-94f6-fa5ad4ae488e"
}
Definitioner
Name | Description |
---|---|
APIError |
Felinformation som API:et returnerar. |
Error |
Feltext. |
Refresh |
Svar när du har uppdaterat indexet. |
Status |
Statusegenskaper. |
APIError
Felinformation som API:et returnerar.
Name | Typ | Description |
---|---|---|
Error |
Feltext. |
Error
Feltext.
Name | Typ | Description |
---|---|---|
Code |
string |
|
Message |
string |
RefreshIndex
Svar när du har uppdaterat indexet.
Name | Typ | Description |
---|---|---|
AdvancedInfo |
object[] |
Avancerad informationslista. |
ContentSourceId |
string |
Innehållskällans ID. |
IsUpdateSuccess |
boolean |
Uppdatera status för lyckad uppdatering. |
Status |
Status för att uppdatera indexet. |
|
TrackingId |
string |
Spårnings-ID. |
Status
Statusegenskaper.
Name | Typ | Description |
---|---|---|
Code |
integer |
Statuskod. |
Description |
string |
Statusbeskrivning. |
Exception |
string |
Undantagsstatus. |