NervesHubUserAPI.Product (nerves_hub_user_api v0.8.0) View Source
Manage products on NervesHub
Path: /orgs/:org_name/products
Link to this section Summary
Functions
Create a new product.
Delete an existing product.
List all products for an org.
Update parameters of an existing product.
Link to this section Functions
Specs
create(String.t(), any(), NervesHubUserAPI.Auth.t()) :: {:error, any()} | {:ok, any()}
Create a new product.
Verb: POST Path: /orgs/:org_name/products
Specs
delete(String.t(), String.t(), NervesHubUserAPI.Auth.t()) :: {:error, any()} | {:ok, any()}
Delete an existing product.
Verb: DELETE Path: /orgs/:org_name/products/:product_name
Specs
list(String.t(), NervesHubUserAPI.Auth.t()) :: {:error, any()} | {:ok, any()}
List all products for an org.
Verb: GET Path: /orgs/:org_name/products
Specs
Update parameters of an existing product.
Verb: PUT Path: /orgs/:org_name/products/:product_name