POST api/EasyFace?LabelsBlackList={LabelsBlackList}&EmailNotification={EmailNotification}&s3Url={s3Url}&DeviceName={DeviceName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
LabelsBlackList

string

Required

EmailNotification

string

Required

s3Url

string

Required

DeviceName

string

Required

Body Parameters

Collection of Label
NameDescriptionTypeAdditional information
Confidence

decimal number

None.

Instances

Collection of Instance

None.

Name

string

None.

Parents

Collection of Parent

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Confidence": 1.1,
    "Instances": [
      {
        "BoundingBox": {
          "Height": 1.1,
          "Left": 2.1,
          "Top": 3.1,
          "Width": 4.1
        },
        "Confidence": 1.1
      },
      {
        "BoundingBox": {
          "Height": 1.1,
          "Left": 2.1,
          "Top": 3.1,
          "Width": 4.1
        },
        "Confidence": 1.1
      }
    ],
    "Name": "sample string 2",
    "Parents": [
      {
        "Name": "sample string 1"
      },
      {
        "Name": "sample string 1"
      }
    ]
  },
  {
    "Confidence": 1.1,
    "Instances": [
      {
        "BoundingBox": {
          "Height": 1.1,
          "Left": 2.1,
          "Top": 3.1,
          "Width": 4.1
        },
        "Confidence": 1.1
      },
      {
        "BoundingBox": {
          "Height": 1.1,
          "Left": 2.1,
          "Top": 3.1,
          "Width": 4.1
        },
        "Confidence": 1.1
      }
    ],
    "Name": "sample string 2",
    "Parents": [
      {
        "Name": "sample string 1"
      },
      {
        "Name": "sample string 1"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfLabel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Amazon.Rekognition.Model">
  <Label>
    <Confidence>1.1</Confidence>
    <Instances>
      <Instance>
        <BoundingBox>
          <Height>1.1</Height>
          <Left>2.1</Left>
          <Top>3.1</Top>
          <Width>4.1</Width>
        </BoundingBox>
        <Confidence>1.1</Confidence>
      </Instance>
      <Instance>
        <BoundingBox>
          <Height>1.1</Height>
          <Left>2.1</Left>
          <Top>3.1</Top>
          <Width>4.1</Width>
        </BoundingBox>
        <Confidence>1.1</Confidence>
      </Instance>
    </Instances>
    <Name>sample string 2</Name>
    <Parents>
      <Parent>
        <Name>sample string 1</Name>
      </Parent>
      <Parent>
        <Name>sample string 1</Name>
      </Parent>
    </Parents>
  </Label>
  <Label>
    <Confidence>1.1</Confidence>
    <Instances>
      <Instance>
        <BoundingBox>
          <Height>1.1</Height>
          <Left>2.1</Left>
          <Top>3.1</Top>
          <Width>4.1</Width>
        </BoundingBox>
        <Confidence>1.1</Confidence>
      </Instance>
      <Instance>
        <BoundingBox>
          <Height>1.1</Height>
          <Left>2.1</Left>
          <Top>3.1</Top>
          <Width>4.1</Width>
        </BoundingBox>
        <Confidence>1.1</Confidence>
      </Instance>
    </Instances>
    <Name>sample string 2</Name>
    <Parents>
      <Parent>
        <Name>sample string 1</Name>
      </Parent>
      <Parent>
        <Name>sample string 1</Name>
      </Parent>
    </Parents>
  </Label>
</ArrayOfLabel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.