Update a collection
Changed onUpdate data of a collection.
Request
- Base URLhttps://api.affinda.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Uniquely identify a collection.
Collection's identifier
Request body
Example request
{
"extractorConfig": {
"resumeRedact": {
"redactHeadshot": true,
"redactPersonalDetails": true,
"redactWorkDetails": true,
"redactReferees": true,
"redactEducationDetails": true,
"redactLocations": true,
"redactDates": true,
"redactGender": true
}
}
}Response
Successfully updated collection data.
Example response
{
"identifier": "mEFayXdO",
"workspace": {
"identifier": "mEFayXdO",
"organization": {
"identifier": "mEFayXdO",
"name": "Grove Street King",
"userRole": "admin",
"avatar": "https://affinda-api.s3.amazonaws.com/media/org-avatar.png?AWSAccessKeyId=KEY&Signature=SIG",
"resthookSignatureKey": "465c6598bd34c0558f0ce256c43209d49fa85b0ff3e4c18b24e408b7563143ad"
}
},
"extractor": {
"identifier": "resume",
"baseExtractor": {
"identifier": "resume"
},
"organization": {
"identifier": "mEFayXdO",
"name": "Grove Street King",
"userRole": "admin",
"avatar": "https://affinda-api.s3.amazonaws.com/media/org-avatar.png?AWSAccessKeyId=KEY&Signature=SIG",
"resthookSignatureKey": "465c6598bd34c0558f0ce256c43209d49fa85b0ff3e4c18b24e408b7563143ad"
},
"category": "Recruitment"
},
"extractorConfig": {
"resumeRedact": {
"redactHeadshot": true,
"redactPersonalDetails": true,
"redactWorkDetails": true,
"redactReferees": true,
"redactEducationDetails": true,
"redactLocations": true,
"redactDates": true,
"redactGender": true
}
}
}Changes
- info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- info
- breaking
the response property
became nullable for the status - info
api tag
Deprecated End Pointsadded - info
api tag
Document API - Collectionremoved - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- breaking