Sharing
Pending share count
Count pending org-library shares.
GET
/
api
/
v2
/
library
/
shares
/
pending-count
/
Pending-share count for the current user's org (mod-driven badge)
curl --request GET \
--url https://api.example.com/api/v2/library/shares/pending-count/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/library/shares/pending-count/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v2/library/shares/pending-count/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}⌘I
Pending-share count for the current user's org (mod-driven badge)
curl --request GET \
--url https://api.example.com/api/v2/library/shares/pending-count/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v2/library/shares/pending-count/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v2/library/shares/pending-count/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}
