Questions tagged [kinto]
Kinto is an open-source web-service that helps storing, synchronising and sharing JSON objects. Add this tag if you want Kinto developers to help you about using, configuring or adding functionality to Kinto.
13
questions
0
votes
1
answer
25
views
Policy for owner-only record visibility
I am considering to use Kinto to provide a storage backend for user-created/-managed data.
However, all examples I have seen in the docs only talk about "everyone can read" scenarios. In my ...
1
vote
1
answer
55
views
how to read different block setting from kinto.ini file
I created a different block in my kinto.ini file and i want to use those setting in my program.
#kinto.ini
[mysetting]
name = json
username = jsonmellow
password = *********
[app:main]
use = egg:...
0
votes
1
answer
41
views
Request in IAuthorizationPolicy
I'm trying to implement a custom IAuthorizationPolicy in Kinto. The documentation points to https://docs.pylonsproject.org/projects/pyramid/en/latest/quick_tutorial/authorization.html, which does not ...
1
vote
0
answers
226
views
New Relic: Slow queries with actual query with the values not showing in Database section
I am new to New Relic and trying to explore the slow queries.
I integrated the new relic with the kinto.ini with postgres db.
Please see the highlighted section of screen-shot.
I set the "...
2
votes
1
answer
2k
views
Alamofire JsonEncoding and UrlEncoding
I need to send patch request using Alamofire, my problem is I need to use both URLEncoding and JSONEncoding in this request.
let url = URL(string: "https://kinto.dev.mozaws.net/v1/buckets/\(self....
0
votes
1
answer
106
views
Kinto postgresql connection not released
I deployed kinto on heroku using this base https://github.com/Kinto/kinto-heroku
My app using kinto is working.
Then I added some monitoring using the __heartbeat__ endpoint.
After a few minutes all ...
1
vote
1
answer
75
views
`collection.sync()` doesn't work as expected [Kinto.js]
I have two clients A and B which performed this operations:
Client A created and .sync()ed a one record collection.
Client B .sync()ed and it received the collection with a single record.
Client A ...
2
votes
1
answer
78
views
How does the .sync() function works?
I was looking at the diagram for a sync operation in Kinto docs and i have a doubt.
Why does .sync() is a pull.then(push).then(pull) instead of just pull.then(push)?
What do we need the last pull ...
0
votes
1
answer
55
views
How do I create a validator for a single collection?
I need to build a custom id validator that will apply to a single collection, whose id will always be pre-defined (won't need a generator).
In the docs about id generators, it's written:
Currently ...
0
votes
1
answer
86
views
Read notification in Kinto
In Kinto I would like to get read notifications. I have following settings:
kinto.event_listeners = testev
kinto.event_listeners.testev.actions = read
kinto.event_listeners.testev.use = fnc_testev
...
1
vote
2
answers
351
views
How do I serve Kinto via https from a docker container?
As written in the Kinto docs, I can specify a custom configuration this way:
docker run --env-file ./kinto.env -p 8888:8888 kinto/kinto-server.
Also, it seems I can suggest an http scheme using the ...
0
votes
2
answers
92
views
How do I undo changed to an un-synced collection?
How am I able to undo un-synced changes to the database?
A use case scenario
I want to give the user the possibility to undo a database operation (i.e. deletion) for at least a few seconds after he ...
4
votes
2
answers
452
views
What is the difference between Kinto and Cliquet?
Why is Kinto using Cliquet and what is the difference between the two ?
Disclaimer: I am one of the authors of both tools. Since this is frequently asked question, I thought it would be relevant to ...