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

REST API for commands #320

Closed
kaosko opened this issue Dec 15, 2020 · 5 comments
Closed

REST API for commands #320

kaosko opened this issue Dec 15, 2020 · 5 comments
Labels
feature New feature request

Comments

@kaosko
Copy link

kaosko commented Dec 15, 2020

Would be great if you could issue the same CLI commands via a rest api. Now it seems the only rest api is for fetching info about repos and artifacts.

@dzikoysk
Copy link
Owner

Someone mentioned it in the past as far as I remember. Probably you'd like to use it locally to invoke commands without direct access to CLI?

@kaosko
Copy link
Author

kaosko commented Dec 15, 2020

The CLI is great. However, we have a use case where we'd like to create customer specific access tokens (i.e. lots of them) and the REST api would make it easier to create and manage them programmatically.

@dzikoysk dzikoysk added the feature New feature request label Dec 15, 2020
@dzikoysk
Copy link
Owner

dzikoysk commented Dec 15, 2020

I think it could be implemented with #268. I'll try to find a moment on the weekend.

@kaosko
Copy link
Author

kaosko commented Dec 15, 2020

Thanks, appreciated!

dzikoysk added a commit that referenced this issue Dec 19, 2020
dzikoysk added a commit that referenced this issue Dec 19, 2020
…x AuthDto property in AuthEndpoint unit test
@dzikoysk
Copy link
Owner

dzikoysk commented Dec 19, 2020

Using 2.9.7 you should be able to execute commands through the api. Take a look at:

dzikoysk added a commit that referenced this issue Jul 8, 2022
dzikoysk added a commit that referenced this issue Jul 8, 2022
…x AuthDto property in AuthEndpoint unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants