   """
   @spec list(pid, Map, List, List) :: term
   def list(api \\ ManagerApi.get_api, queryparams \\ %{}, headers \\ [], options \\ []) do
-    get(api, get_path("workflows", queryparams), headers, options)
-  end
-
-  @doc """
-  Retrieves the entire list of Workflows. 
-
-  ## Options
-  The `api` option defines the OpenAperture.ManagerApi used for connection.
-
-  The `queryparams` option defines the query parameters (optional).
-
-  The `headers` option defines the header values (optional).
-
-  The `options` option defines any extra HTTP options (optional).
-
-  ## Return Values
-
-  Returns nil (if failure) or a list of Maps, each representing a Workflow.
+    get(api, get_path("deployments", queryparams), headers, options)
+  end
+
+  @doc """
+  Retrieves the entire list of deployments. 
+
+  ## Options
+  The `api` option defines the OpenAperture.ManagerApi used for connection.
+
+  The `queryparams` option defines the query parameters (optional).
+
+  The `headers` option defines the header values (optional).
+
+  The `options` option defines any extra HTTP options (optional).
+
+  ## Return Values
+
+  Returns nil (if failure) or a list of Maps, each representing a deployment.
   """
   @spec list(pid, Map, List, List) :: List[Map]
   def list!(api \\ ManagerApi.get_api, queryparams \\ %{}, headers \\ [], options \\ []) do

#
# == workflow.ex
#
# This module contains the resources for managing Workflows
#
defmodule OpenAperture.ManagerApi.Deployment do
  import OpenAperture.ManagerApi.Resource

  """
  @spec get_deployment(pid, term, Map, List, List) :: term
  def get_deployment(api \\ ManagerApi.get_api, product_name, id, queryparams \\ %{}, headers \\ [], options \\ []) do
    IO.puts("products/#{product_name}/deployments/#{id}")
    get(api, get_path("products/#{product_name}/deployments/#{id}", queryparams), headers, options)
  end

  @doc """
  Retrieves a specific deployment.

  ## Options
  The `api` option defines the OpenAperture.ManagerApi used for connection.

  The `id` option defines the deployment id.

  The `queryparams` option defines the query parameters (optional).

  The `headers` option defines the header values (optional).

  The `options` option defines any extra HTTP options (optional).

  ## Return Values

  Map of the deployment
  """
  @spec get_deployment!(pid, term, Map, List, List) :: Map
  def get_deployment!(api \\ ManagerApi.get_api, product_name, id, queryparams \\ %{}, headers \\ [], options \\ []) do
