Liking cljdoc? Tell your friends :D

milia.api.rest-services


createclj/s

(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:

  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
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:
 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
raw docstring

deleteclj/s

(delete id)

Delete a rest service

Delete a rest service
raw docstring

get-allclj/s

(get-all)

Get all rest services the requesting user has access to

Get all rest services the requesting user has access to
raw docstring

get-by-form-idclj/s

(get-by-form-id formid & {:keys [no-cache?]})

Get rest services for a form

Get rest services for a form
raw docstring

get-by-idclj/s

(get-by-id id & {:keys [no-cache?]})

Get information for a specific rest service

Get information for a specific rest service
raw docstring

update-restserviceclj/s

(update-restservice id xform-id name service-url & [options])

Updates a rest service.

Updates a rest service.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close