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

Add hidden routes in your documentation #358

Open
locobastos opened this issue Jan 18, 2024 · 1 comment
Open

Add hidden routes in your documentation #358

locobastos opened this issue Jan 18, 2024 · 1 comment

Comments

@locobastos
Copy link

Hello,

Could you please add in your documentation all hidden routes and how to use them inside a CI/CD pipelines?
Here what I've found until now.

⚠️ All of the following are examples as I'm using an other language and syntax.

Authentication:

Create a New Flavor:

Create New Version:

  • Call https://electron-update.dev.ives.fr/api/version with your token in the cURL header ("Authorization: Bearer $TOKEN") and a JSON body:
    {"id":"1.1.0_MySoftware","name":"1.1.0","notes":"","channel":"stable","flavor":"MySoftware","availability":"2050-12-31T25:59:59.000Z"}

Create New Asset:

--${boundary}
Content-Disposition: form-data; name="token"

${TOKEN}
--${boundary}
Content-Disposition: form-data; name="version"

1.1.0_MySoftware
--${boundary}
Content-Disposition: form-data; name="platform"

osx_64
--${boundary}
Content-Disposition: form-data; name="file"; filename="MySoftware-1.1.0.zip"
Content-Type: application/x-zip-compressed


--${boundary}--

Currently, I'm stuck with the uploading file process and it would be great if all Admin API routes are documented.

Thank you!

@erameno
Copy link

erameno commented Sep 13, 2024

Hello, do we have any update on this subject ?
It would be really great if we had all the documentation to make a complete CI/CD pipelines.

Thank you.

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