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...
Amplification asked 15/4, 2015 at 20:10

2

Solved

I have the following resource defined: item = { 'wrapper': { 'type': 'dict', 'schema': { 'element': { 'type': 'objectid', 'data_relation': { 'resource': 'code', 'field': '_id', 'embeddabl...
Up asked 23/11, 2016 at 16:11

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...
Flaggy asked 29/5, 2015 at 18:55

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...
Appointee asked 6/1, 2015 at 12:36

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=...
Cremator asked 29/6, 2016 at 23:41

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...
eve
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...
eve
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...
Terefah asked 10/6, 2014 at 6:33

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...
Careycarfare asked 17/2, 2014 at 8:0

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.
Amine asked 11/2, 2014 at 11:5

1

Solved

I'm using Eve to create a REST API for MongoDB. It's all working fine, except for the fact that I can't reach the API from any other computer (in the same network), or even a different URL (e.g.: i...
Reserved asked 9/1, 2014 at 22:39
1

© 2022 - 2024 — McMap. All rights reserved.