Update Documents to Object mapping
The parameters and logic applied to this end-point are identical to the ones from the Add Documents to Object Mapping page.
patch
https://apigateway.boost.rs
/matchbox/objects/:id/documents
Update the documents details and their link (mapping) to an existing object.
Only one of these 4 parameters must be present in each item of the array:
jobtitle_id
, jobtitle
, content
, document_id
This request body will assign four documents to a specified
object_id
. The four documents that will be linked to the object are as follows:- an existing document with document_id
121
- a document that will automatically be generated from a platform job title with id 3413, meaning that a document will have the title from a Boostrs platform
jobtitle_id
3413
and will inherit the related description (content) and the existing associated skills - a custom job title with the value "mobile developer" for which the Boostrs algorithms will automatically generate the related skill set
- a document having the text from the
content
variable, for which the Boostrs algorithms will automatically generate the related skill set
All previously existing object mappings will be deleted.
{
"documents": [
{
"document_id": 121
},
{
"jobtitle_id": 3413
},
{
"jobtitle": "mobile developer"
},
{
"content": "description of a course in which you will learn some basic skills about a random topic"
}
]
}
Last modified 7mo ago