Lorenço Gonzaga
Posts: 0
Joined: Mon Dec 30, 2013 4:04 pm

Collection remote update

Can I use cURL command remotely, from my terminal(Mac) to update a json collection on my Appery database ? How I should proceed to update my json appery collection during 30min intervals without the need to open appery database console import option ?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Collection remote update

Hi Lorenço --

[quote:]
Can I use cURL command remotely, from my terminal(Mac) to update a json collection on my Appery database ?
[/quote]
Yes you can.

[quote:]
How I should proceed to update my json appery collection during 30min intervals without the need to open appery database console import option ?
[/quote]
Do you want to update or to import collection?
If you want to update - you can make it with JavaScript by executing the update collection service.

Lorenço Gonzaga
Posts: 0
Joined: Mon Dec 30, 2013 4:04 pm

Collection remote update

Hi Illya, thanks for the reply.

Any documentation that I could read to know the cURL command to remote update (from mac terminal) my Json collection in Appery database ?

Cheers

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Collection remote update

Here is the Object API that is used in Appery.io Database:
:: http://docs.appery.io/documentation/b...

-- and the particular object update with cURL command:
pre
curl -X PUT
-H "X-Appery-Database-Id: 526fdbd8e4b07c3286b537f1"
-H "Content-Type: application/json"
-d "{"priority":"High"}"
https://api.appery.io/rest/1/db/collections/todo/52710a7fe4b07c3286b54315
/pre
:: http://docs.appery.io/documentation/b...

Return to “Issues”