...
The names of the parameters to the function will be the names that are used in the GET request query string, so picking good names for your function parameters will ensure that the API represented by your module will be more usable.
Aliases
The following CloudOS modules have aliases that can be used in place of the <rid>
in the URL.
Alias | RID |
---|---|
pds | a169x676 |
cloudos | a169x625 |
notify | a16x161 |
squaretag | a41x178 |
mythings | a169x667 |
pdsx | a369x202 |
Error Codes
The following errors will be returned in the JSON response:
Code | Meaning |
---|---|
100 | Sharing not on for module |
101 | Function does not exist |
102 | Module not installed for user |
103 | No ECI defined |
Example
Suppose that you had defined the following function:
...