Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Korifi API users should be able to get app env vars #2332

Open
danail-branekov opened this issue Mar 21, 2023 · 1 comment · May be fixed by #3583
Open

[Feature]: Korifi API users should be able to get app env vars #2332

danail-branekov opened this issue Mar 21, 2023 · 1 comment · May be fixed by #3583
Labels
mta support the MTA controller

Comments

@danail-branekov
Copy link
Member

Blockers/Dependencies

No response

Background

As a CF API client I want to be able to get environment variables for apps

Acceptance Criteria

GIVEN Korifi is deployed
WHEN I request

curl "https://api.example.org/v3/apps/[guid]/environment_variables" \
  -X GET \
  -H "Authorization: bearer [token]"

THEN I get response similar to

HTTP/1.1 200 OK
Content-Type: application/json

{
  "var": {
    "RAILS_ENV": "production"
  },
  "links": {
    "self": {
      "href": "https://api.example.org/v3/apps/[guid]/environment_variables"
    },
    "app": {
      "href": "https://api.example.org/v3/apps/[guid]"
    }
  }
}

Dev Notes

@danail-branekov danail-branekov added the mta support the MTA controller label Mar 21, 2023
@gogolok
Copy link
Contributor

gogolok commented Oct 30, 2024

I will give this a try next month/November.

gogolok added a commit to gogolok/korifi that referenced this issue Oct 31, 2024
gogolok added a commit to gogolok/korifi that referenced this issue Oct 31, 2024
gogolok added a commit to gogolok/korifi that referenced this issue Oct 31, 2024
gogolok added a commit to gogolok/korifi that referenced this issue Nov 1, 2024
@gogolok gogolok linked a pull request Nov 1, 2024 that will close this issue
gogolok added a commit to gogolok/korifi that referenced this issue Nov 1, 2024
gogolok added a commit to gogolok/korifi that referenced this issue Nov 3, 2024
danail-branekov pushed a commit to gogolok/korifi that referenced this issue Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mta support the MTA controller
Projects
Status: 🧊 Icebox
Development

Successfully merging a pull request may close this issue.

2 participants