nerves_hub_user_api v0.4.0 NervesHubUserAPI.Product

Manage products on NervesHub

Path: /orgs/:org_name/products

Link to this section Summary

Functions

Delete an existing product

List all products for an org

Update parameters of an existing product

Link to this section Functions

Link to this function create(org_name, product_name, auth)
create(atom() | binary(), any(), NervesHubUserAPI.Auth.t()) ::
  {:error, any()} | {:ok, any()}

Create a new product.

Verb: POST Path: /orgs/:org_name/products

Link to this function delete(org_name, product_name, auth)
delete(atom() | binary(), atom() | binary(), NervesHubUserAPI.Auth.t()) ::
  {:error, any()} | {:ok, any()}

Delete an existing product.

Verb: DELETE Path: /orgs/:org_name/products/:product_name

Link to this function list(org_name, auth)
list(atom() | binary(), NervesHubUserAPI.Auth.t()) ::
  {:error, any()} | {:ok, any()}

List all products for an org.

Verb: GET Path: /orgs/:org_name/products

Link to this function update(org_name, product_name, params, auth)
update(atom() | binary(), atom() | binary(), map(), NervesHubUserAPI.Auth.t()) ::
  {:error, any()} | {:ok, any()}

Update parameters of an existing product.

Verb: PUT Path: /orgs/:org_name/products/:product_name