publish_odkc_draft_form: Publish a draft form See reference ODK API documentation in...

View source: R/query_odkapi.R

publish_odkc_draft_formR Documentation

Publish a draft form See reference ODK API documentation in https://odkcentral.docs.apiary.io/#reference/forms/draft-form/publishing-a-draft-form for more details.

Description

Publish a draft form See reference ODK API documentation in https://odkcentral.docs.apiary.io/#reference/forms/draft-form/publishing-a-draft-form for more details.

Usage

publish_odkc_draft_form(un, pw, form_url, new_id)

Arguments

un

string containing the ODK Central username.

pw

string containing the password for user 'un'.

form_url

string containing the URL of the ODK Central form to be published, e.g. "https://sandbox.central.getodk.org/v1/projects/project-id/forms/form-id".

new_id

string containing the version of the form to be published. If 'new_id' conflicts with an older version of the form, you will get an error.

Value

This function returns the content of the request to the ODK Central API.


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.