@openfn/language-kobotoolbox 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -11
- package/configuration-schema.json +16 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,18 +5,12 @@ Language Pack for building expressions and operations to interact with the
|
|
|
5
5
|
|
|
6
6
|
## Documentation
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### Configuration
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"baseURL": "https://kf.kobotoolbox.org",
|
|
15
|
-
"username": "mamadou@openfn.org",
|
|
16
|
-
"password": "supersecret",
|
|
17
|
-
"apiVersion": "v2"
|
|
18
|
-
}
|
|
19
|
-
```
|
|
10
|
+
View all the required and optional properties for `state.configuration` in the
|
|
11
|
+
official
|
|
12
|
+
[configuration-schema](https://docs.openfn.org/adaptors/packages/kobotoolbox-configuration-schema/)
|
|
13
|
+
definition.
|
|
20
14
|
|
|
21
15
|
#### Get the list of forms
|
|
22
16
|
|
|
@@ -7,20 +7,29 @@
|
|
|
7
7
|
"default": "https://kf.kobotoolbox.org",
|
|
8
8
|
"description": "Kobotoolbox URL",
|
|
9
9
|
"format": "uri",
|
|
10
|
-
"minLength": 1
|
|
10
|
+
"minLength": 1,
|
|
11
|
+
"examples": [
|
|
12
|
+
"https://kf.kobotoolbox.org"
|
|
13
|
+
]
|
|
11
14
|
},
|
|
12
15
|
"username": {
|
|
13
16
|
"title": "Username",
|
|
14
17
|
"type": "string",
|
|
15
18
|
"description": "Kobotoolbox username",
|
|
16
|
-
"minLength": 1
|
|
19
|
+
"minLength": 1,
|
|
20
|
+
"examples": [
|
|
21
|
+
"test@openfn.org"
|
|
22
|
+
]
|
|
17
23
|
},
|
|
18
24
|
"password": {
|
|
19
25
|
"title": "Password",
|
|
20
26
|
"type": "string",
|
|
21
27
|
"description": "Kobotoolbox password",
|
|
22
28
|
"writeOnly": true,
|
|
23
|
-
"minLength": 1
|
|
29
|
+
"minLength": 1,
|
|
30
|
+
"examples": [
|
|
31
|
+
"@some(!)Strongpassword"
|
|
32
|
+
]
|
|
24
33
|
},
|
|
25
34
|
"apiVersion": {
|
|
26
35
|
"title": "API Version",
|
|
@@ -31,7 +40,10 @@
|
|
|
31
40
|
"v1",
|
|
32
41
|
"v2"
|
|
33
42
|
],
|
|
34
|
-
"minLength": 1
|
|
43
|
+
"minLength": 1,
|
|
44
|
+
"examples": [
|
|
45
|
+
"v2"
|
|
46
|
+
]
|
|
35
47
|
}
|
|
36
48
|
},
|
|
37
49
|
"type": "object",
|