Implement CAIKnowledge and CDokumente junction functionality; add API routes, metadata, and localization files
This commit is contained in:
17
custom/Espo/Custom/Resources/routes.json
Normal file
17
custom/Espo/Custom/Resources/routes.json
Normal file
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"route": "/JunctionData/CAIKnowledge/:knowledgeId/dokumentes",
|
||||
"method": "get",
|
||||
"actionClassName": "Espo\\Custom\\Api\\JunctionData\\GetDokumentes"
|
||||
},
|
||||
{
|
||||
"route": "/JunctionData/CAIKnowledge/:knowledgeId/dokumentes/:documentId",
|
||||
"method": "put",
|
||||
"actionClassName": "Espo\\Custom\\Api\\JunctionData\\UpdateJunction"
|
||||
},
|
||||
{
|
||||
"route": "/JunctionData/CAIKnowledge/:knowledgeId/dokumentes/:documentId",
|
||||
"method": "post",
|
||||
"actionClassName": "Espo\\Custom\\Api\\JunctionData\\LinkDokument"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user