GET api/Tags/{id}?api={api}&userId={userId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api | string |
Required |
|
| id | string |
Required |
|
| userId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TagDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PhotoId | integer |
None. |
|
| Value | string |
None. |
|
| TagType | TagType |
None. |
|
| Source | string |
None. |
|
| Confidence | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"PhotoId": 2,
"Value": "sample string 3",
"TagType": 0,
"Source": "sample string 4",
"Confidence": 5.1
},
{
"Id": 1,
"PhotoId": 2,
"Value": "sample string 3",
"TagType": 0,
"Source": "sample string 4",
"Confidence": 5.1
}
]
application/xml, text/xml
Sample:
<ArrayOfTagDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PixelEntities.Tags">
<TagDTO>
<Confidence>5.1</Confidence>
<Id>1</Id>
<PhotoId>2</PhotoId>
<Source>sample string 4</Source>
<TagType>Text</TagType>
<Value>sample string 3</Value>
</TagDTO>
<TagDTO>
<Confidence>5.1</Confidence>
<Id>1</Id>
<PhotoId>2</PhotoId>
<Source>sample string 4</Source>
<TagType>Text</TagType>
<Value>sample string 3</Value>
</TagDTO>
</ArrayOfTagDTO>