Add reference

POST {{ask-filerobot-server}}/images/matcher/reference/add?type=face

Creates new references associated with a label.

Accepted data:

  • label_id - ID of the label the new references will be associated with. Should exist for the given token.

  • uuids - A list with image UUIDs containing a single object each to be added as references.

Request Params

KeyDatatypeRequiredDescription
typestringThe type of objects that will be matched

Request Body

{"label_id"=>4, "uuids"=>["f5bd814d-df15-59d4-bbd0-7199f3150000", "47e3dcdf-6d71-57db-b1ca-424803350000", "c972de67-57c6-574c-b304-9e2fb3e50000"]}

HEADERS

KeyDatatypeRequiredDescription
Filerobot-Tokenstring
Filerobot-Keystring

RESPONSES

status: Created

{"status":"success","version":"3.2.2","token":"fdocs","request_uuid":"008a7823-a0e1-49ce-8dd9-c9a6f86fbe81","operation":"add_reference","add_reference":{"references":[{"uuid":"f5bd814d-df15-59d4-bbd0-7199f3150000","id":10},{"uuid":"47e3dcdf-6d71-57db-b1ca-424803350000","id":11},{"uuid":"c972de67-57c6-574c-b304-9e2fb3e50000","id":12}],"errors":[]}}