eve Questions
3
Solved
I have a very similar setup to the person in this question:
How do I update a list data_relation in Python Eve
with a users resource and a friends sub-resource of list type.
users = {
…
‘friends...
2
Solved
I have the following resource defined:
item = {
'wrapper': {
'type': 'dict',
'schema': {
'element': {
'type': 'objectid',
'data_relation': {
'resource': 'code',
'field': '_id',
'embeddabl...
2
Solved
I am having a question about the architecture I am working with.
we have a backend restful service, a data layer(which is implemented by python eve and also a restful service), and the datab...
Crumpler asked 6/3, 2017 at 21:22
2
Background: (using Eve and Mongo)
I'm working in Python using the Eve REST provider library connecting and to a mongoDB to expose a number of REST endpoints from the database. I've had good luck u...
3
Solved
I am running Flask and Eve on localhost at a same time. The Flask app serves static files and makes requests to the Eve app to get some data. I want to run Eve only, without a separate Flask app. H...
2
Solved
Can I include multiple "where" clauses (or an AND operator) in an endpoint query string? I'd like to do something like this:
http://localhost:5000/regions?where=name=="El Salvador"&where=lang=...
3
Solved
In my application, the MongoDB collections need to be updated by a server-side script job (IE: a cron job that scrapes/pulls from other APIs every 30minutes). What I really want to do is make updat...
Purlin asked 15/8, 2014 at 0:45
1
Solved
I have a Document where a user has 2 addresses such as below. How would I create a schema for this in python-eve?
Also, How would I create an API request to allow a user to update only the zipcode...
Cuspidor asked 6/2, 2016 at 21:1
1
Solved
I have a model 'users' and a schema for it, which includes a one-to-many relation back to users:
'followers': {
'type': 'list',
'schema': {
'type': 'objectid',
'data_relation': {
'resource': ...
Pontianak asked 7/11, 2014 at 22:53
3
Basically, I just want to json encode the results of my sql query.
x = db.session.query(User).filter_by(username = request.form['username'], password = request.form['password']).first()
print var...
Hartebeest asked 12/5, 2014 at 3:22
1
Solved
I am attempting to build a MongoDB-backed Flask application which serves from the same endpoints:
A HTML web interface by default
A JSON response if Content-Type == application/json
The idea is...
3
may I have some example/typical use case of HATEOAS? I agree it can be a very powerful concept provide great flexibility but I am not sure how to properly get benefit from HATEOAS. would be great i...
Ferrocyanide asked 22/3, 2014 at 8:45
1
Solved
I know we now can upload/post a media type field to the python-eve REST-API framework and it will be stored in mongodb. Is there a way we can change the storage of those media?
E.g. a remote stora...
1
Solved
I'm using EVE for couple of days to create my own REST API but I want to have custom Flask Controller integrated with EVE is there any possibility to do this? Thanks.
1
© 2022 - 2024 — McMap. All rights reserved.