(create xform-id name service-url & [options])
Create a rest service.
xform-id
is the numeric id of the x-form to associate the service with
name
is one of 1. generic_json
2. generic_xml
3. textit
4. f2dhis2
5. bamboo
service-url
is the URL of the webhook receiving endpoint
options
is a map for additional configuration, containing the following
keys in the case of textit:
:service
- Service being configured:auth_token
- Authentication token:flow_uuid
- UUID of the flow in textit:contacts
- The contact in the flowCreate a rest service. `xform-id` is the numeric id of the x-form to associate the service with `name` is one of 1. `generic_json` 2. `generic_xml` 3. `textit` 4. `f2dhis2` 5. `bamboo` `service-url` is the URL of the webhook receiving endpoint `options` is a map for additional configuration, containing the following keys in the case of textit: 1. `:service` - Service being configured 2. `:auth_token` - Authentication token 3. `:flow_uuid` - UUID of the flow in textit 4. `:contacts` - The contact in the flow
(get-all)
Get all rest services the requesting user has access to
Get all rest services the requesting user has access to
(get-by-form-id formid & {:keys [no-cache?]})
Get rest services for a form
Get rest services for a form
(get-by-id id & {:keys [no-cache?]})
Get information for a specific rest service
Get information for a specific rest service
(update-restservice id xform-id name service-url & [options])
Updates a rest service.
Updates a rest service.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close