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

Typescript SDK and CURL command only displayed on creation of API Configuration #48

Open
KennethLeeJE8 opened this issue Feb 26, 2025 · 5 comments

Comments

@KennethLeeJE8
Copy link

I found the typescript SDK and CURL command at the end of the API Configuration(screenshot below) process very helpful with the process of implementation, it also allows for manual tweaking if you want to change up the call up slightly.

Image

However, I couldn't find the typescript SDK and CURL command after the first run of an API configuration, when trying to edit or amend the API configuration after creation. (screenshot below)

Image

Am I missing something or is the typescript SDK and CURL command only accessible on creating the API config?

@nimarb
Copy link
Contributor

nimarb commented Feb 26, 2025

good catch @KennethLeeJE8 - we're taking a look at the edit config, to bring it up-to-speed with the new config create flow.

@KennethLeeJE8
Copy link
Author

I was working on trying to add an extra tab to the edit API Configuration page to display this information, but to my understanding, there needs to be a change to the getAPI function to pull the necessary information and generate the typescript SDK and CURL command.

@nimarb
Copy link
Contributor

nimarb commented Feb 27, 2025

@KennethLeeJE8 - actually, look at this function here to generate the curl:

info should be there :) happy to help more in the evening today

@KennethLeeJE8
Copy link
Author

KennethLeeJE8 commented Feb 27, 2025

Let's take a look at it tomorrow. I had some issues importing it into the edit API configurations view. Sending you a dm on Discord

@KennethLeeJE8
Copy link
Author

@nimarb Hey, had a look at implementing the view into the edit API configurations view, but I ran into some problems, would you be available to chat about this?

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