Comments (9)
Just be careful not to assume JSON Schema - remember Iglu will be used for other formats too.
Maybe something like:
/api/schemas/validate/jsonschema/instance=
from iglu.
Very true.
from iglu.
This is done, except for the naming of the query param, but I will do a complete overhaul of the names of the query params soon.
from iglu.
Nice one. I wanted to ask about the query params. For a POST (i.e. new resource) in a RESTful world, is it best practice to use a query param for the thing you are posting, or is it better just to make the new resource the post body? What do e.g. Zendesk or Stripe do?
from iglu.
Mostly through the request's body, but for our post requests, both are supported.
from iglu.
Yes - I guess the advantage of going through the request's body is that you don't need to come up with a parameter name for the thing being posted, which would vary with the type of resource...
from iglu.
I had a look at the stripe's api (eg https://stripe.com/docs/api#create_refund) and they mostly go through form-like parameters. I think supporting both might still be the way to go.
from iglu.
Okay cool
from iglu.
Done in r2, closing.
from iglu.
Related Issues (20)
- Add CONTRIBUTING.md
- Update Readme files
- Convert CHANGELOG to Markdown
- Add iglu-javascript-client submodule
- Rename iglu-objc-client submodule
- Rename iglu-ruby-client submodule
- Rename iglu-scala-client submodule
- Remove iglu-server from working tree
- Add iglu-server submodule
- Add iglu-central submodule
- Add example-schema-registry submodule
- Add terraform-aws-iglu-server-ec2 submodule
- Add terraform-google-iglu-server-ce submodule
- Add github actions workflows for updating submodules
- Add link to snowplow-iglu-server helm chart
- Rename Static repo to Static registry in README
- Remove usage of git submodule--helper
- Bump actions/checkout to v3
- Bump copyright to 2023
- Warning issued when an optional field does not allow nulls HOT 1
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 iglu.