revelrylabs / prodops_ex

The Elixir SDK for ProdOps
MIT License
0 stars 0 forks source link

Artifact Types List Endpoint #11

Closed jacksonoberkirch closed 6 months ago

jacksonoberkirch commented 6 months ago

What I'm doing:

Updating client with get and adding artifact type module needed for artifact types list endpoint What it looks like:

## Returns
  {:ok, %{status: "ok", response: %{ "artifact_types": [
            {
                "slug": "story",
                "name": "Story",
                "description": "This is a story"
            }
  ]}}}
  """
  def list_artifact_types(config) do
    ArtifactType.list(config)
  end

What I'd like feedback on:

Anything you can think of, let me know if you have any questions!