This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Token oauth | |
cozy@recette:~$ cozy-stack instances client-oauth test.zoe.fr http://localhost/ test github.com/cozy-labs/cozy-desktop | |
51e67bf69b31972f7efcd436d4163e04 | |
cozy@recette:~$ cozy-stack instances token-oauth test.zoe.fr 51e67bf69b31972f7efcd436d4163445 io.cozy.files io.cozy.calendar | |
eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhY2Nlc3MiLCJpYXQiOjE0ODg0NzAwMTAsImlzcyI6InRlc3Quem9lLmZyIiwic3ViIjoiNTFlNjdiZjY5YjMxOTcyZjdlZmNkNDM2ZDQxNjM0NDUiLCJzY29wZSI6ImlvLmNvenkuZmlsZXMgaW8uY296eS5jYWxlbmRhciJ9.uWRFY2plCmxxkmivl9Ncl7UfGbNWYLbEjV4d2dLTvPLDmspEkPJNmxyhhLq3ZYs5waKNjcXeZBEV8ruyXpuxsQ | |
## Création d'un album | |
cozy@recette:~$ curl -X POST http://localhost:8080/data/io.cozy.calendar/ -H 'Host:test.zoe.fr' -d'{"name":"test2"}' -H 'Content-Type: application/json' -H 'Accept:application/json' -H 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJhY2Nlc3MiLCJpYXQiOjE0ODg0NzAwMTAsImlzcyI6InRlc3Quem9lLmZyIiwic3ViIjoiNTFlNjdiZjY5YjMxOTcyZjdlZmNkNDM2ZDQxNjM0NDUiLCJzY29wZSI6ImlvLmNvenkuZmlsZXMga |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pouch : | |
{ | |
"_id": "ABppareils photo/For-the-next-festival.jpg", | |
"docType": "file", | |
"class": "image", | |
"lastModification": "2015-02-21T15:57:54.000Z", | |
"creationDate": "2015-02-21T15:57:54.000Z", | |
"size": 119590, | |
"tags": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am poupotte on github. | |
* I am poupotte (https://keybase.io/poupotte) on keybase. | |
* I have a public key whose fingerprint is FCB8 71C0 0783 49B9 CFA5 5316 7E09 833E BB85 D636 | |
To claim this, I am signing this object: |