{"id":20138529,"url":"https://github.com/thiagobarradas/environment-api","last_synced_at":"2025-04-09T18:08:49.019Z","repository":{"id":94891479,"uuid":"197792220","full_name":"ThiagoBarradas/environment-api","owner":"ThiagoBarradas","description":"Basic API with \"Get Environment\" feature to use in demo projects","archived":false,"fork":false,"pushed_at":"2024-09-26T03:41:06.000Z","size":32,"stargazers_count":2,"open_issues_count":3,"forks_count":7,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-23T20:05:50.749Z","etag":null,"topics":["api","demo","docker","dotnet","environment","environment-variables","environment-vars","http","microsoft","rest-api"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/thiagobarradas/environment-api","language":"C#","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/ThiagoBarradas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-19T14:56:08.000Z","updated_at":"2021-09-29T13:21:03.000Z","dependencies_parsed_at":"2023-07-29T19:15:57.442Z","dependency_job_id":null,"html_url":"https://github.com/ThiagoBarradas/environment-api","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/ThiagoBarradas%2Fenvironment-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThiagoBarradas%2Fenvironment-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThiagoBarradas%2Fenvironment-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThiagoBarradas%2Fenvironment-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThiagoBarradas","download_url":"https://codeload.github.com/ThiagoBarradas/environment-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248084911,"owners_count":21045135,"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":["api","demo","docker","dotnet","environment","environment-variables","environment-vars","http","microsoft","rest-api"],"created_at":"2024-11-13T21:38:35.239Z","updated_at":"2025-04-09T18:08:49.011Z","avatar_url":"https://github.com/ThiagoBarradas.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://barradas.visualstudio.com/Contributions/_apis/build/status/ThiagoBarradas.environment-api?branchName=master)](https://barradas.visualstudio.com/Contributions/_build/latest?definitionId=2\u0026branchName=master)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=ThiagoBarradas_environment-api\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=ThiagoBarradas_environment-api)\n![Sonar Violations (long format)](https://img.shields.io/sonar/violations/ThiagoBarradas_environment-api.svg?format=long\u0026server=https%3A%2F%2Fsonarcloud.io)\n![Sonar Tech Debt](https://img.shields.io/sonar/tech_debt/ThiagoBarradas_environment-api.svg?server=https%3A%2F%2Fsonarcloud.io)\n![Sonar Coverage](https://img.shields.io/sonar/coverage/ThiagoBarradas_environment-api.svg?server=https%3A%2F%2Fsonarcloud.io)\n \n# Environment API\n\nA simple API that returns environment variables to use in talks, demos, etc;\n\n## Running with Docker\n\nCommand to run Environment API (port 8088)\n\n```\ndocker run --name environment-api -p 8088:80 -d thiagobarradas/environment-api:latest\n```\n\n## How to use\n\nSend a request to get environment variables:\n\n`GET environment/{environmentVariables}`\n\nYou can send many values in `environmentVariables` separated by pipe like `VAR_X|VAR_Y|VAR_Z`;\n\nWhen some variable not exists, your value in response will be `[not found]`\n\n### Sample\n\nRequest: \n\n`GET environment/ASPNETCORE_ENVIRONMENT|OTHER_VAR`\n\nResponse:\n\n```\n{\n  \"ASPNETCORE_ENVIRONMENT\": \"Development\",\n  \"OTHER_VAR\": \"[not found]\"\n}\n```\n\n## How can I contribute?\nPlease, refer to [CONTRIBUTING](.github/CONTRIBUTING.md)\n\n## Found something strange or need a new feature?\nOpen a new Issue following our issue template [ISSUE TEMPLATE](.github/ISSUE_TEMPLATE.md)\n\n## Did you like it? Please, make a donate :)\n\nif you liked this project, please make a contribution and help to keep this and other initiatives, send me some Satochis.\n\nBTC Wallet: `1G535x1rYdMo9CNdTGK3eG6XJddBHdaqfX`\n\n![1G535x1rYdMo9CNdTGK3eG6XJddBHdaqfX](https://i.imgur.com/mN7ueoE.png) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagobarradas%2Fenvironment-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagobarradas%2Fenvironment-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagobarradas%2Fenvironment-api/lists"}