Search & Match
Update the config for the logged in user's embeddable resume search tool
Changed onUpdate configurations such as which fields can be displayed in the logged in user's embeddable resume search tool, what are their weights, what is the maximum number of results that can be returned, etc.
patch/v3/resume_search/config
Request
- Base URLhttps://api.affinda.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"maxResults": 10,
"indices": [
"all-resumes",
"my-index"
],
"userId": 1234,
"username": "big.smoke",
"actions": [
{
"label": "Add to shortlist",
"eventName": "addToShortlist"
}
],
"customFieldsConfig": [
{
"dataPoint": "RdNAniIH",
"weight": 0.5
}
],
"distanceUnit": "km"
}Response
Successfully updated configurations.
Example response
{
"maxResults": 10,
"indices": [
"all-resumes",
"my-index"
],
"userId": 1234,
"username": "big.smoke",
"actions": [
{
"label": "Add to shortlist",
"eventName": "addToShortlist"
}
],
"customFieldsConfig": [
{
"dataPoint": "RdNAniIH",
"weight": 0.5
}
],
"distanceUnit": "km"
}Changes
- info
api tag
Search & Matchadded - info
api tag
Search & Match API - Embeddingremoved
- info
- breaking
added to the
request propertyallOflist - warning
the
request property's min was set to1.00 - info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added to the
response propertyallOflist for the response status
- breaking