...
Code Block |
---|
|
{
"container": "{container_id}",
"message": "Nice message inside",
"allowed_file_extensions": [
"csv", "png", "jpg", "pdf"
],
"type": "pull",
"max_files": 6
}
|
Example how to create an Feature Pull by cURL:
Code Block |
---|
|
curl -i --request POST "https://api.botdoc.io/v1/module_container_pushpull/pushpullfeature/" \
--header "Authorization: JWT <Authorization Token>" \
--header "Content-Type: application/json" \
--data-raw "{
"container": "{container_id}",
"message": "Nice message inside",
"allowed_file_extensions": [
"csv", "png", "jpg", "pdf"
],
"type": "pull",
"max_files": 6
}
" |
7.2 - Push Feature
If you want to SEND file(s) to your Receiver, you must send a Push Feature:
Endpoint: https://api.botdoc.io/v1/module_container_pushpull/pushpullfeature/
Method: POST.
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@75205211 |
---|
showSpace | false |
---|
sort | modified |
---|
typeshowSpace | pagefalse |
---|
reverse | true | labels |
---|
kb-how-to-articletype | page | cql | label = "kb-how-to-article" and type = "page" and space = "BOTDOC" |
---|
labels | kb-how-to-article |
---|
|
...