{"id":17682464,"url":"https://github.com/stephlow/kong","last_synced_at":"2025-03-12T14:31:21.520Z","repository":{"id":57513983,"uuid":"91708888","full_name":"stephlow/kong","owner":"stephlow","description":null,"archived":true,"fork":false,"pushed_at":"2017-05-22T15:40:55.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T10:05:21.668Z","etag":null,"topics":["client","kong"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephlow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-18T15:22:13.000Z","updated_at":"2024-10-15T15:16:23.000Z","dependencies_parsed_at":"2022-08-31T06:40:23.145Z","dependency_job_id":null,"html_url":"https://github.com/stephlow/kong","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephlow%2Fkong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephlow%2Fkong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephlow%2Fkong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephlow%2Fkong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephlow","download_url":"https://codeload.github.com/stephlow/kong/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243234561,"owners_count":20258483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["client","kong"],"created_at":"2024-10-24T09:13:56.129Z","updated_at":"2025-03-12T14:31:21.149Z","avatar_url":"https://github.com/stephlow.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kong\n\nSimple wrapper around the Kong Admin REST API.\n\n## Requirements\n\n- Kong (0.10.x)\n\n## Installation\n\nKong is [available in Hex](https://hex.pm/packages/kong), the package can be installed\nby adding `kong` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:kong, \"~\u003e 0.0.1\"}]\nend\n```\n\n## Configuration\n\nYou can configure which Node the client connects with. If not set, it will default to `http://localhost:8001`.\n\n```elixir\nconfig :kong, host: \"http://example.com:8001\"\n```\n\n## Examples\n\nThis library mostly maps Elixir types to Kong Admin API requests and responses. You should consult the Kong documentation on how to form your requests.\n\nList APIs:\n\n```elixir\n{:ok, apis} = Kong.API.list\n```\n\nPassing Querystring parameters to the list call:\n\n```elixir\n{:ok, page_one} = Kong.API.list size: 10\n{:ok, page_two} = Kong.API.list size: 10, offset: page_one[\"offset\"]\n```\n\nCreating a new API:\n\n```elixir\n{:ok, api} = Kong.API.add %{name: \"Testing\", upstream_url: \"http://localhost:4000/api\", hosts: [\"api.example.com\"]}\n```\n\n## Documentation\n\nDocumentation can be found at [https://hexdocs.pm/kong](https://hexdocs.pm/kong).\n\n## ToDo\n\n### Client\n\n- [ ] Tests\n\n### Routes\n\n- [x] Node Routes\n- [x] Cluster Routes\n- [x] API Routes\n- [x] Consumer Routes\n- [x] Plugin Routes\n- [ ] Certificate Routes\n- [ ] SNI Routes\n- [ ] Upstream Routes\n- [ ] Target Routes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephlow%2Fkong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephlow%2Fkong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephlow%2Fkong/lists"}