你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Reviews - Get Review
Returns review details for the passed review ID.
GET {Endpoint}/contentmoderator/review/v1.0/teams/{teamName}/reviews/{reviewId}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Supported Azure Cognitive Services endpoints (protocol and host name, such as https://westus.api.cognitive.microsoft.com). |
review
|
path | True |
string |
ID of the review. |
team
|
path | True |
string |
Your team name. |
Request Header
Name | Required | Type | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. |
|
Other Status Codes |
Error response. |
Security
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Examples
Get Review request
Sample Request
GET {Endpoint}/contentmoderator/review/v1.0/teams/ModeratorTeam/reviews/201709i96f295aa5748101436064c42ddf
Sample Response
{
"ReviewId": "201709i96f295aa5748101436064c42ddf",
"SubTeam": "public",
"CreatedBy": "ModeratorTeam",
"Metadata": [
{
"Key": "string",
"Value": "string"
}
],
"ReviewerResultTags": [],
"Type": "Image",
"Content": "https://reviewcontentstoragesea.blob.core.windows.net/ModeratorTeam/IMG_201709i96f295987701f9955036064c42ddf",
"ContentId": "contentIdA",
"CallbackEndpoint": "",
"Status": "Pending"
}
Definitions
Name | Description |
---|---|
APIError |
Error information that the API returns. |
Error |
Error body. |
Key |
Key/value pair object properties. |
Review |
Review object. |
APIError
Error information that the API returns.
Name | Type | Description |
---|---|---|
Error |
Error body. |
Error
Error body.
Name | Type | Description |
---|---|---|
Code |
string |
|
Message |
string |
KeyValuePair
Key/value pair object properties.
Name | Type | Description |
---|---|---|
Key |
string |
Key parameter. |
Value |
string |
Value parameter. |
Review
Review object.
Name | Type | Description |
---|---|---|
CallbackEndpoint |
string |
Callback endpoint. |
Content |
string |
Content value. |
ContentId |
string |
ID of the content. |
CreatedBy |
string |
Reviewer name. |
Metadata |
Array of key/value pairs. |
|
ReviewId |
string |
ID of the review. |
ReviewerResultTags |
Array of key/value pairs with reviewer-set tags. |
|
Status |
string |
Status string (<Pending, Complete>). |
SubTeam |
string |
Name of the subteam. |
Type |
string |
Type of content. |