Skip to content

Edge config patch items missing #34

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

Open
sport24-rtr opened this issue Feb 14, 2025 · 2 comments
Open

Edge config patch items missing #34

sport24-rtr opened this issue Feb 14, 2025 · 2 comments

Comments

@sport24-rtr
Copy link

This SDK seems to have no way of updating edge config items. Endpoint in the API: https://vercel.com/docs/rest-api/sdk/reference#tag/edge-config/update-edge-config-items-in-batch

@ismaelrumzan
Copy link
Collaborator

Can you provide an example code that you tried @sport24-rtr ? And apologies for the delayed response

@sport24-rtr
Copy link
Author

@ismaelrumzan unfortunately i cannot show code for something that does not exist.

My use case is that I want to update edge config items.

The Vercel API has this exposed via https://vercel.com/docs/sdk/reference#tag/edge-config/update-edge-config-schema - PATCH /v1/edge-config/{edgeConfigId}/items

However, the SDK does not have anything else than "get" on items, see: https://github.com/vercel/sdk/blob/main/docs/sdks/edgeconfig/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants