evergreen icon indicating copy to clipboard operation
evergreen copied to clipboard

[Feature]: How to contribute on the API project

Open ricoroodenburg opened this issue 1 year ago • 5 comments

What is your feature request?

Hi,

I very like the API endpoints. They are so much better and ofcourse quicker!

How can we contribute on the API project? I like to see filter options (query) and some changes for making it consistent. At this moment there are different keywords for the same goal, for example ‘Ring’ and ‘Channel’.

Another issue; when there are more results returned, the results will be added to an array. Unfortunately when there is only 1 item returned, it won’t be included in an array.

For scripting purposes all of these items must be fix

Have you tested against the current version?

  • [ ] Yes, I've updated Evergreen and tested against the current version.

Have you reviewed the documentation?

  • [ ] Documentation at: https://stealthpuppy.com/evergreen/

ricoroodenburg avatar Dec 09 '23 21:12 ricoroodenburg

The API repo is private at the moment, but I can open it up. The API is written in Javascript, and I'm not an experience Javascript developer.

One thing I will need to do is ensure that changes to the API are first pushed into a staging Cloudflare worker before being pushed to prod.

aaronparker avatar Dec 09 '23 22:12 aaronparker

Sounds like a good plan!

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Aaron Parker @.> Sent: Saturday, December 9, 2023 11:38:52 PM To: aaronparker/evergreen @.> Cc: ricoroodenburg @.>; Author @.> Subject: Re: [aaronparker/evergreen] [Feature]: How to contribute on the API project (Issue #598)

The API repo is private at the moment, but I can open it up. The API is written in Javascript, and I'm not an experience Javascript developer.

One thing I will need to do is ensure that changes to the API are first pushed into a staging Cloudflare worker before being pushed to prod.

— Reply to this email directly, view it on GitHubhttps://github.com/aaronparker/evergreen/issues/598#issuecomment-1848769069, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS64OBCXQX7YN5A6OZNIZX3YITR7ZAVCNFSM6AAAAABAOB3VH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYG43DSMBWHE. You are receiving this because you authored the thread.Message ID: @.***>

ricoroodenburg avatar Dec 09 '23 22:12 ricoroodenburg

@aaronparker have you ever looked into Pode? It's great for writing APIs in cross platform PowerShell:

https://github.com/Badgerati/Pode

Or are you an Antipodean?

DanGough avatar Dec 09 '23 23:12 DanGough

I see what you did there.

The API is in Javascript so that it can run on Cloudflare Workers - giving me up to 100,000 requests per day before I need to pay. 100,000 requests be more than enough for the foreseeable future.

aaronparker avatar Dec 09 '23 23:12 aaronparker

https://github.com/aaronparker/evergreen-api/

aaronparker avatar Dec 10 '23 03:12 aaronparker