@veritree/services 2.49.0 → 2.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -55,6 +55,16 @@ class OrganizationsApi extends Api {
|
|
|
55
55
|
return { all };
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
pins(orgId){
|
|
59
|
+
const single = async (pinId, params) => {
|
|
60
|
+
const url = `${this.getUrl()}/${orgId}/pins/${pinId}${this.getUrlParams(
|
|
61
|
+
params
|
|
62
|
+
)}`;
|
|
63
|
+
return await this.get(url)
|
|
64
|
+
};
|
|
65
|
+
return {single}
|
|
66
|
+
}
|
|
67
|
+
|
|
58
68
|
metrics(orgId) {
|
|
59
69
|
const all = async (args) => {
|
|
60
70
|
const url = `${this.getUrl()}/${orgId}/metrics${this.getUrlParams(args)}`;
|