You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,12 +37,6 @@ createUser();
37
37
38
38
```
39
39
40
-
# ⚠️ Warnings
41
-
42
-
1. This package is not currently in npm. Please see the Local development section for installation instructions.
43
-
44
-
2. This library is intended for server to server requests. **Do not use in a browser environment**. This SDK uses the Master API Token, which should never be exposed to the outside world like in a webpage or app.
45
-
46
40
# ⚒️ Prerequisite
47
41
48
42
In order to make requests with this SDK you will need you master API token. This can be found through the [Sendbird dashboard](https://dashboard.sendbird.com/). Each app you create in Sendbird has its own master api token. These tokens can be found in Settings > Application > General.
Copy file name to clipboardExpand all lines: dist/api/MetadataApi.js
+41-25Lines changed: 41 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
38
38
/**
39
39
* Metadata service.
40
40
* @module api/MetadataApi
41
-
* @version1.0.7
41
+
* @version0.0.13
42
42
*/
43
43
varMetadataApi=/*#__PURE__*/function(){
44
44
/**
@@ -687,7 +687,7 @@ var MetadataApi = /*#__PURE__*/function () {
687
687
* @param {String} key
688
688
* @param {Object} opts Optional parameters
689
689
* @param {Object.<String, Object>} opts.body
690
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
690
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
691
691
*/
692
692
693
693
},{
@@ -728,7 +728,9 @@ var MetadataApi = /*#__PURE__*/function () {
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
763
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
762
764
*/
763
765
764
766
},{
@@ -793,7 +795,9 @@ var MetadataApi = /*#__PURE__*/function () {
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
811
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
808
812
*/
809
813
810
814
},{
@@ -823,7 +827,7 @@ var MetadataApi = /*#__PURE__*/function () {
823
827
* @param {String} key
824
828
* @param {Object} opts Optional parameters
825
829
* @param {Object.<String, Object>} opts.body
826
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
830
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
827
831
*/
828
832
829
833
},{
@@ -864,7 +868,9 @@ var MetadataApi = /*#__PURE__*/function () {
@@ -876,7 +882,7 @@ var MetadataApi = /*#__PURE__*/function () {
876
882
* @param {String} key
877
883
* @param {Object} opts Optional parameters
878
884
* @param {Object.<String, Object>} opts.body
879
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
885
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
880
886
*/
881
887
882
888
},{
@@ -950,7 +956,7 @@ var MetadataApi = /*#__PURE__*/function () {
950
956
* @param {String} key
951
957
* @param {Object} opts Optional parameters
952
958
* @param {Object.<String, Object>} opts.body
953
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
959
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
954
960
*/
955
961
956
962
},{
@@ -985,7 +991,9 @@ var MetadataApi = /*#__PURE__*/function () {
@@ -996,7 +1004,7 @@ var MetadataApi = /*#__PURE__*/function () {
996
1004
* @param {String} key
997
1005
* @param {Object} opts Optional parameters
998
1006
* @param {Object.<String, Object>} opts.body
999
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1007
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
1000
1008
*/
1001
1009
1002
1010
},{
@@ -1015,7 +1023,7 @@ var MetadataApi = /*#__PURE__*/function () {
1015
1023
* @param {Object} opts Optional parameters
1016
1024
* @param {String} opts.key
1017
1025
* @param {Array.<String>} opts.keys
1018
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1026
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
1019
1027
*/
1020
1028
1021
1029
},{
@@ -1053,7 +1061,9 @@ var MetadataApi = /*#__PURE__*/function () {
@@ -1065,7 +1075,7 @@ var MetadataApi = /*#__PURE__*/function () {
1065
1075
* @param {Object} opts Optional parameters
1066
1076
* @param {String} opts.key
1067
1077
* @param {Array.<String>} opts.keys
1068
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1078
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
1069
1079
*/
1070
1080
1071
1081
},{
@@ -1151,7 +1161,7 @@ var MetadataApi = /*#__PURE__*/function () {
1151
1161
* @param {Object} opts Optional parameters
1152
1162
* @param {String} opts.key
1153
1163
* @param {Array.<String>} opts.keys
1154
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1164
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
1155
1165
*/
1156
1166
1157
1167
},{
@@ -1189,7 +1199,9 @@ var MetadataApi = /*#__PURE__*/function () {
@@ -1201,7 +1213,7 @@ var MetadataApi = /*#__PURE__*/function () {
1201
1213
* @param {Object} opts Optional parameters
1202
1214
* @param {String} opts.key
1203
1215
* @param {Array.<String>} opts.keys
1204
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1216
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
1205
1217
*/
1206
1218
1207
1219
},{
@@ -1218,7 +1230,7 @@ var MetadataApi = /*#__PURE__*/function () {
1218
1230
* @param {String} channelType
1219
1231
* @param {String} channelUrl
1220
1232
* @param {String} key
1221
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1233
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
1222
1234
*/
1223
1235
1224
1236
},{
@@ -1258,7 +1270,9 @@ var MetadataApi = /*#__PURE__*/function () {
@@ -1268,7 +1282,7 @@ var MetadataApi = /*#__PURE__*/function () {
1268
1282
* @param {String} channelType
1269
1283
* @param {String} channelUrl
1270
1284
* @param {String} key
1271
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1285
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object.<String, {String: String}>}
1272
1286
*/
1273
1287
1274
1288
},{
@@ -1345,7 +1359,7 @@ var MetadataApi = /*#__PURE__*/function () {
1345
1359
* @param {String} apiToken
1346
1360
* @param {String} userId
1347
1361
* @param {String} key
1348
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1362
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object.<String, {String: String}>} and HTTP response
1349
1363
*/
1350
1364
1351
1365
},{
@@ -1379,7 +1393,9 @@ var MetadataApi = /*#__PURE__*/function () {
0 commit comments