Add Documents to Object mapping
post
https://apigateway.boost.rs
/matchbox/objects/:id/documents
Create new documents and/or use existing ones and link them 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
You can have maximum 50 documents mapped (linked) to an object.
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
{
"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