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
sourceraw docstring

deleteclj/s

(delete id)

Delete a rest service

Delete a rest service
sourceraw 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
sourceraw 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
sourceraw 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
sourceraw docstring

update-restserviceclj/s

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

Updates a rest service.

Updates a rest service.
sourceraw docstring

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

× close