Skip to content

Incorrect information about device function ARGS #1109

Description

@sethherr

TL;DR update the Cloud API docs with the function argument information from the Device OS API Docs.

In call a function on the Cloud API docs the information about the ARG parameter reads:

Function argument with a maximum length of 63 characters

Screen Shot 2020-07-21 at 12 03 47 PM

In the Device OS API Docs (e.g. Argon Particle.function) it has different information:

A cloud function is set up to take one argument of the String datatype. This argument length is limited to a max of 63 characters (prior to 0.8.0), 622 characters (since 0.8.0). The String is UTF-8 encoded.

Screen Shot 2020-07-21 at 12 05 52 PM

The arg parameter does appear to be limited to 622 characters now - which is great!

p.s. I would've submitted a PR to fix this, but it doesn't appear to be possible, I couldn't find the text in the repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions