Skip to content

Document PUT usage with examples #139

@nlariviere2

Description

@nlariviere2

Most of the REST API examples included in Github and cbapi.readthedocs.io show GET usage and what is returned, but there are very few examples showing PUT methods for updating sensors and sensor groups, for example.

PUT methods may require different parameters in the JSON payload that might not be documented. For example, I tried to update a sensor ID with {"uninstall": "true"} but it also required that I include "groupid" or it would throw a traceback.

Could you add some more robust documentation around using PUT, POST, or DELETE methods for sensors and sensor groups (or everywhere) with examples using curl (for REST API).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions