Comments (9)
@bebraw What do you think?
@tomByrer jsdelivr
is not redundant, we plan making api.jsdelivr.com a one stop API for all public CDNs out there.
http://api.jsdelivr.com/v1/jsdelivr
http://api.jsdelivr.com/v1/osscdn
...
Thanks for the feedback :)
from api.
Oh, awesome. Thought of doing the same with a JavaScript... let me dig up bookmarks.
edited above.
from api.
http://api.jsdelivr.com/v1/jsdelivr
http://api.jsdelivr.com/v1/osscdn
Are these v1 of the master API, or v1 of jsdelivr's API & v1 of of osscdn's API?
from api.
v1 of the master API. I dont think it makes sense to version each API separately. Anyway, @bebraw is the one to decide since its his project :)
from api.
Let's keep it simple for now. Ie. implement all the features we can think of now for v1 and if something comes up, worry about semver then. Introducing it right now wouldn't provide much value as the API doesn't have any users.
I would suggest we leave this issue open, though. But for now I would like to focus on actual use cases for the API and make v1 as nice as possible. I think maintaining multiple versions could easily become a nightmare so we had better do our homework now before things get too much out of hand.
from api.
maintaining multiple versions
Oh sorry, I assumed you were NOT going to maintain old versions, but bump the version when you make API changes / critical debugs. So:
http://api.jsdelivr.com/v1.0.0/jsdelivr //release
http://api.jsdelivr.com/v1.0.1/jsdelivr //first minor bug fix
http://api.jsdelivr.com/v1.1.0/jsdelivr //API changed
Or do you mean you are not going to host old versions?
from api.
If we want to keep it very simple, we'll make non-destructive changes (ie. new fields and such are ok) on v1. If the schema structure changes in a drastic manner breaking backwards compatibility, we'll bump the number (ie. v2, v3, ...). I don't know if it needs to be more complicated than that.
And yeah, hosting the old versions would be ideal. But let's not overengineer this yet. :)
from api.
Understood, cheers!
from api.
I'm closing this as we came up with a convention to use.
To recap, non-destructive changes will be implemented for old versions. In case bigger changes are made, that warrants a whole new version (like the upcoming v2).
from api.
Related Issues (20)
- Version sorting HOT 10
- API returns no versions (urgent) HOT 5
- Move the API away from AppFog HOT 8
- Am I right to assume that I cannot get data for multiple librarys with one api call? HOT 4
- Searching by URL HOT 1
- jQuery failed to update latest beta1 HOT 2
- File paths HOT 14
- Incorrect author format for some CDNJS projects HOT 3
- pagination need? HOT 3
- The result order is not right HOT 3
- Default filename for specified version HOT 8
- API is not detecting new projects HOT 2
- Specify Content Security Policy? HOT 1
- API future HOT 3
- Add SRI to API HOT 1
- Add a download/hit count to the API HOT 7
- API endpoint down? HOT 2
- "bootstrap" alias is gone in v1 HOT 7
- Remove X-Requested-With
- Make sure logentries is utilized HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.