Comments (4)
I'll discuss this with some people internally and see how we want to handle this. We could update the comments in the code here but it would keep getting out of sync with the API.
I'll try and find out if it's possible for the api.cloudflare.com docs to have an exhaustive list of actions and values.
from cloudflare-go.
@OJFord @jamesog I'm not sure when (if ever) this will help with v4, but as we move towards the next generation of APIs we plan to publish the JSON Schemas used to generated the documentation so that clients can be driven from the same descriptions of the API. This will ensure that clients and the API docs are always in sync going forward, and the the schemas correctly validate all JSON representations.
We may or may not be able to retrofit this for v4- some of the v4 design decisions are not conducive to easily supporting a fully schema-driven approach. We also want to get feedback on the idea on a few new APIs before going all-in on it across the board.
Look for some blog posts that I'll be publishing in the coming few weeks with more details.
In the meantime, I don't know the specifics of these exact fields but assuming nothing unusual is going on, we should definitely enumerate sets of values correctly in the docs.
from cloudflare-go.
Thanks @handrews! I'll raise another internal ticket to track this.
from cloudflare-go.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from cloudflare-go.
Related Issues (20)
- Version tag not recognized by go (`V0.77.0` instead of `v0.77.0`) HOT 3
- Add `maxDurationSeconds` and `Expiry` for TUS Uploads
- Zerotrust / Access User endpoints. HOT 2
- All API documentation links are incorrect HOT 1
- What does "foo" mean in `CHANGELOG.md`? HOT 3
- ListLoadBalancerPools doesn't return Pagination details to impossible to tell if you have more results to go through HOT 1
- Support for List Images v2 and continuation tokens
- I've asked repeatedly HOT 1
- Support for Send Email Worker Bindings
- Delete by filters HOT 1
- Zone command group doesn't work in flarectl amd64 build of v0.83.0 github release HOT 4
- Stream file in UploadImage to reduce memory usage
- No pagination options for ListOriginCertificates
- UpdateAccessUsersSeats does not work because API expects an Array, and method sends a single object HOT 1
- ListAccessUsers returns wrong results for AccessSeat and GatewaySeat when it paginates due to loop variable HOT 1
- Add missing draft property to Image struct
- Support for Build Cache of Pages Project
- Add support for Hyperdrive
- Add Support for Images Variants HOT 1
- Streaming Worker Content
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 cloudflare-go.