Skip to content

Instantly share code, notes, and snippets.

@goldoraf
Created October 25, 2017 14:10
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/1ec11f09c68e3d08e5d027d3013cb90e to your computer and use it in GitHub Desktop.
Save goldoraf/1ec11f09c68e3d08e5d027d3013cb90e to your computer and use it in GitHub Desktop.
{
"data": {
"type": "io.cozy.sharings",
"id": "17532fc7633100ae334ceaa8ec625d36",
"attributes": {
"desc": "Errors",
"sharing_id": "gdkUGIKRowbaKHmhCdBmGJuuWClEuNmu",
"sharing_type": "master-slave",
"app_slug": "",
"owner": true,
"sharer": {
"url": "",
"sharer_status": null
},
"permissions": {
"collection": {
"type": "io.cozy.photos.albums",
"values": [
"935fe14c466757dbf09e5bace0866e57"
]
},
"files": {
"type": "io.cozy.files",
"selector": "referenced_by",
"values": [
"io.cozy.photos.albums/935fe14c466757dbf09e5bace0866e57"
]
}
},
"recipients": [
{
"status": "pending",
"recipient": {
"id": "f2e4ef334cddbf2f38e953b46c0fbb22",
"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": ""
},
{
"recipient": {
"id": "f2e4ef334cddbf2f38e953b46c11fd58",
"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": ""
}
]
},
"meta": {
"rev": "2-f515eb8993aad307be7c67edf7fee2e1"
},
"links": {
"self": "/sharings/17532fc7633100ae334ceaa8ec625d36"
},
"relationships": {
"recipients": {
"data": [
{
"id": "f2e4ef334cddbf2f38e953b46c0fbb22",
"type": "io.cozy.contacts"
},
{
"id": "f2e4ef334cddbf2f38e953b46c11fd58",
"type": "io.cozy.contacts"
}
]
}
}
},
"included": [
{
"type": "io.cozy.contacts",
"id": "f2e4ef334cddbf2f38e953b46c0fbb22",
"attributes": {
"email": [
{
"address": "joseph.silvestre38@gmail.com"
}
]
},
"meta": {
"rev": "2-635b0fcaad1415c0b821e28c62fbca46"
},
"links": {
"self": "/recipients/f2e4ef334cddbf2f38e953b46c0fbb22"
}
},
{
"type": "io.cozy.contacts",
"id": "f2e4ef334cddbf2f38e953b46c11fd58",
"attributes": {
"email": [
{
"address": "zoe@cozycloud.cc"
}
]
},
"meta": {
"rev": "2-386c9d0d13569e4ec89e668d4f848305"
},
"links": {
"self": "/recipients/f2e4ef334cddbf2f38e953b46c11fd58"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment