hipo / django-api-playground Goto Github PK
View Code? Open in Web Editor NEWDjango-API-Playground
License: Other
Django-API-Playground
License: Other
Hi, Thanks for this project. I was thinking that it would be very cool if this project worked with the Swagger API definition specs. It's something that you might want to consider since there's a lot of overlap.
https://developers.helloreverb.com/swagger/
https://github.com/wordnik/swagger-core/wiki
https://github.com/wordnik/swagger-core/wiki/Resource-Listing
Please update the pip version of this project. There are a lot of features which are not available and people (like me) can get confused if they install the pip version and try to follow the git documentation. The examples don't work. Specially with the 'select' type.
E.g.:
/credit/{credit-id}/category/{category-id}
'{credit-id}' gets replaced correctly when leaving that input box, but reverts back to '{credit-id}' when leaving the category-id input box. Form action ends up being, e.g., /credit/{credit-id}/category/5
After installing Django-API-Playground following the basic instructions supplied the "Submit Bug & Feedback" form doesn't work because the database table need to store that information is not created.
I suggest creating the migration and adding it to the app itself so the users of this app don't need to create the migration themselves. Until the migrations are added to the app you could add this step to the install instructions to create the migration:
./manage.py schemamigration --initial apiplayground
I also suggest you add a the following step to the install instructions to apply the app's migration(s):
./manage.py migrate apiplayground
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/css/h5bp.css"
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/js/jquery.class.min.js"
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/css/screen.css"
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/js/jquery.rest-form.js"
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/js/jquery.form2json.js"
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/js/app.js"
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/js/jquery.class.min.js
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/js/jquery.rest-form.js"
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/js/jquery.form2json.js"
"NetworkError: 404 NOT FOUND - http://127.0.0.1:8000/api-explorer/api_browser/js/app.js"
And below -
ReferenceError: APIBrowser is not defined
new APIBrowser();
Hi,
I'm using a Token to authenticate my API, and use a header for this, it would be great to add a field to the resource for this auth methods, I imagine adding a section to the resource as 'authentication' will be fine with some 'headers' section or 'body' section for those using either headers or normal data to authenticate the request.
Bye.
I use an API that accepts raw PUT and POST data as input. It would be helpful if a textarea field could be used to send raw JSON data in the request body.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.