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
+27-62Lines changed: 27 additions & 62 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ async function run() {
29
29
security: {
30
30
apiKey: "<YOUR_API_KEY_HERE>",
31
31
},
32
-
workspaceID: "string",
32
+
workspaceID: "<value>",
33
33
});
34
34
35
35
const res =awaitsdk.apis.getApis({
36
36
metadata: {
37
-
key: ["string"],
37
+
key: ["<value>"],
38
38
},
39
39
op: {
40
40
and: false,
@@ -93,6 +93,7 @@ run();
93
93
94
94
### [auth](docs/sdks/auth/README.md)
95
95
96
+
*[getWorkspaceAccess](docs/sdks/auth/README.md#getworkspaceaccess) - Get access allowances for a particular workspace
96
97
*[validateApiKey](docs/sdks/auth/README.md#validateapikey) - Validate the current api key.
97
98
98
99
### [requests](docs/sdks/requests/README.md)
@@ -137,14 +138,14 @@ async function run() {
137
138
security: {
138
139
apiKey: "<YOUR_API_KEY_HERE>",
139
140
},
140
-
workspaceID: "string",
141
+
workspaceID: "<value>",
141
142
});
142
143
143
144
let res;
144
145
try {
145
146
res=awaitsdk.apis.deleteApi({
146
-
apiID: "string",
147
-
versionID: "string",
147
+
apiID: "<value>",
148
+
versionID: "<value>",
148
149
});
149
150
} catch (err) {
150
151
if (errinstanceoferrors.SDKError) {
@@ -187,12 +188,12 @@ async function run() {
187
188
security: {
188
189
apiKey: "<YOUR_API_KEY_HERE>",
189
190
},
190
-
workspaceID: "string",
191
+
workspaceID: "<value>",
191
192
});
192
193
193
194
const res =awaitsdk.apis.deleteApi({
194
-
apiID: "string",
195
-
versionID: "string",
195
+
apiID: "<value>",
196
+
versionID: "<value>",
196
197
});
197
198
198
199
if (res.statusCode==200) {
@@ -217,12 +218,12 @@ async function run() {
217
218
security: {
218
219
apiKey: "<YOUR_API_KEY_HERE>",
219
220
},
220
-
workspaceID: "string",
221
+
workspaceID: "<value>",
221
222
});
222
223
223
224
const res =awaitsdk.apis.deleteApi({
224
-
apiID: "string",
225
-
versionID: "string",
225
+
apiID: "<value>",
226
+
versionID: "<value>",
226
227
});
227
228
228
229
if (res.statusCode==200) {
@@ -278,12 +279,12 @@ async function run() {
278
279
security: {
279
280
apiKey: "<YOUR_API_KEY_HERE>",
280
281
},
281
-
workspaceID: "string",
282
+
workspaceID: "<value>",
282
283
});
283
284
284
285
const res =awaitsdk.apis.deleteApi({
285
-
apiID: "string",
286
-
versionID: "string",
286
+
apiID: "<value>",
287
+
versionID: "<value>",
287
288
});
288
289
289
290
if (res.statusCode==200) {
@@ -301,7 +302,7 @@ run();
301
302
302
303
A parameter is configured globally. This parameter may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, This global value will be used as the default on the operations that use it. When such operations are called, there is a place in each to override the global value, if needed.
303
304
304
-
For example, you can set `workspaceID` to `"string"` at SDK initialization and then you do not have to pass the same value on calls to operations like `postWorkspaceEvents`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
305
+
For example, you can set `workspaceID` to `"<value>"` at SDK initialization and then you do not have to pass the same value on calls to operations like `postWorkspaceEvents`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
0 commit comments