Skip to content

Instantly share code, notes, and snippets.

@goldoraf
Created September 15, 2017 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goldoraf/148813a4568118800b54a7dd4e666837 to your computer and use it in GitHub Desktop.
Save goldoraf/148813a4568118800b54a7dd4e666837 to your computer and use it in GitHub Desktop.
sharing.json
[
{
"_id": "fe909b86b67ba8e1fb7bccf1bc0f77e8",
"_type": "io.cozy.sharings",
"_rev": "6-e9b5a119998072474884483fe500ad33",
"links": {
"self": "/sharings/fe909b86b67ba8e1fb7bccf1bc0f77e8"
},
"attributes": {
"desc": "Suits",
"sharing_id": "RGwpLkJYNWKkhrrerEUCZxyuqEVuEplF",
"sharing_type": "master-slave",
"app_slug": "",
"owner": true,
"revoked": true,
"sharer": {
"url": "",
"sharer_status": null
},
"permissions": {
"collection": {
"type": "io.cozy.photos.albums",
"values": [
"fe909b86b67ba8e1fb7bccf1bc0e23b5"
]
},
"files": {
"type": "io.cozy.files",
"selector": "referenced_by",
"values": [
"io.cozy.photos.albums/fe909b86b67ba8e1fb7bccf1bc0e23b5"
]
}
},
"recipients": [
{
"status": "accepted",
"recipient": {
"id": "fe909b86b67ba8e1fb7bccf1bc0f6e13",
"type": "io.cozy.contacts"
},
"Client": {
"client_secret": "",
"client_secret_expires_at": 0,
"registration_access_token": "",
"redirect_uris": null,
"client_name": "",
"software_id": ""
},
"AccessToken": {
"token_type": "",
"access_token": "",
"refresh_token": "",
"scope": ""
},
"HostClientID": ""
}
]
},
"relationships": {
"recipients": {
"data": [
{
"id": "fe909b86b67ba8e1fb7bccf1bc0f6e13",
"type": "io.cozy.contacts"
}
]
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment