Looking for a way to purge the cache for Content Delivery 2 APIs on Amplience - amplience-dynamic-content

Please suggest an possible way to purge the cache of Content Delivery 2 APIs. In case there is no existing way to do it then will the amplience's sdk can help in this?

Related

What is the easiest way to fetch data dynamically from a cloud storage to a flutter app

I am looking for a way to fetch data to my flutter app which can be adjusted and modified dynamically after deploying the app. As an example, if I want to change the images of the carousel depending on promotions or launch new books to the digital library. I need an economic option to host the data in cloud storage and fetch it from there.
I have considered firebase as well as google drive, but have yet to find a good guide. being a beginner and having concerns about security I want some expert advice if possible.
*edit-
Seeing many a tutorial I assume there is no better way than linking file URLs from the
Cloud Storage. So to dynamically change those is it possible to refer the URLs to some excel sheet fields to obtain URLs. Those fields can certainly be adjusted then without any hard coding. but the question is how to refer to such a sheet file? *
I also want to segregate the users into paid and free users, I have successfully proceeded with the authentication with firebase but still don't understand(I do have some concepts but don't know where to do that) how to put them in groups and impose limitations on them about accessing the data. any guidance, links and helpful advice will be cordially appreciated.
According to what you are looking for, I highly recommend you to use Firebase Remote Config, which is a cloud tool that allows you to modify your app's functionality and appearance without forcing users to download an update. You define in-app default values that control the functionality and appearance of your app when you use Remote Config. Then, for all app users or for subsets of your user base, you may utilize the Firebase console or the Remote Config backend APIs to modify in-app default values.
Your program can control when updates are applied, and it can check for updates regularly and apply them with minimal performance impact.
Remote Config comes with a client library that takes care of essential functions like fetching parameter values and caching them while still allowing you to manage when new values are active and how they affect the user experience in your app.
Here is a tutorial that uses Flutter and Firebase Remote Config that could also help you.

flutter rest api I want to delete all pushes

I am using rest api. I want to delete all pushes, but I don't know how to write the query.
I know how to delete a specific push.
delete $apiUrl/pushes/$pushId
What I want is to delete all pushes for that user.
$apiUrl/pushes?owner=$ownerId/ ???
thank you
I would recommend 2 approaches
Do it in a non-rest way by sending a custom JSON object containing the ID's marked for deletion. Reference
Mozilla Storage Service SyncStorage API - to delete multiple records using REST. Reference
REST isn't the only way to solve any problem. “REST” is just an architectural style and you don't have to adhere to it (but you lose certain benefits of the internet if you don't). I suggest you look down this list of HTTP API architectures and pick the one that suits you.

CouchDB conflicts

I am developing an Ionic app that uses pouchDB/couchDB to keep data in a shared DB.
I am facing this issue:
if I run the app on two mobile phones, and both try to modify the same document in couchDB, they will be in conflict.
Is there a way to handle this server side? Or is there a way to handle this client side, better than put the document, get the document to see if there are conflicts, modify the document creating a new rev if there are conflicts?
Thanks
I point you to an answer to similar issue from Nolan Lawson.
There is not an automatic conflict resolution in CouchDB/PouchDB, the resolution should be part of your business logic.

Send updated version of my Enterprise App? How?

I have built an enterprise app and now i have an update coming up for this app. Now, how do i make my clients install this app? I read it here but just want to make sure that it works and want to know if i have to take any precautions or anything which i need to do before i send the updated app to my clients?
Anyone who has done this or who has an idea about this, please help me out!
if someone updates application then their document folder will remain as it is. so make sure that those existing data is not affecting your new version and if you want to retain some old data then keep same bundle identifier and ask user not to delete application.
Best way to test this is make a local server setup, then install old version, then update it with new version and test it again.
setup of local web server will not take more than 20 min.....
Hope this is helpful....

In mongoDB ,i have to request fo the new feature Compression where can i request for that?

I am using 64-bit MongoDB and am very much miserable about MongoDB on behalf of there is no compression in MongoDB.So, I have request for compression feature in MongoDB.In-order to give a request for it where can i do that?.Is there any specific website available?.Guys If anyone knew about that please help me to do so.
Advance Thanks,
To submit a MongoDB feature request you can use: http://jira.mongodb.org/
You can also talk directly to the developers via IRC (irc.freenode.net) in #mongodb
As for compression you might also want to look into this ...
http://learnmongo.com/posts/compacting-mongodb-data-files/
http://www.mongodb.org/display/DOCS/Community