@@ -25,7 +25,13 @@ var defaultClient = SibApiV3Sdk.ApiClient.instance;
25
25
var apiKey = defaultClient .authentications [' api-key' ];
26
26
apiKey .apiKey = ' YOUR API KEY' ;
27
27
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
28
- // apiKey.apiKeyPrefix = 'Token';
28
+ // apikey.apiKeyPrefix = 'Token';
29
+
30
+ // Configure API key authorization: partner-key
31
+ var partnerKey = defaultClient .authentications [' partner-key' ];
32
+ partnerKey .apiKey = ' YOUR API KEY' ;
33
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
34
+ // partnerKey.apiKeyPrefix = 'Token';
29
35
30
36
var apiInstance = new SibApiV3Sdk.AttributesApi ();
31
37
@@ -57,7 +63,7 @@ null (empty response body)
57
63
58
64
### Authorization
59
65
60
- [ api-key] ( ../README.md#api-key )
66
+ [ api-key] ( ../README.md#api-key ) , [ partner-key ] ( ../README.md#partner-key )
61
67
62
68
### HTTP request headers
63
69
@@ -79,7 +85,13 @@ var defaultClient = SibApiV3Sdk.ApiClient.instance;
79
85
var apiKey = defaultClient .authentications [' api-key' ];
80
86
apiKey .apiKey = ' YOUR API KEY' ;
81
87
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
82
- // apiKey.apiKeyPrefix = 'Token';
88
+ // apikey.apiKeyPrefix = 'Token';
89
+
90
+ // Configure API key authorization: partner-key
91
+ var partnerKey = defaultClient .authentications [' partner-key' ];
92
+ partnerKey .apiKey = ' YOUR API KEY' ;
93
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
94
+ // partnerKey.apiKeyPrefix = 'Token';
83
95
84
96
var apiInstance = new SibApiV3Sdk.AttributesApi ();
85
97
@@ -108,7 +120,7 @@ null (empty response body)
108
120
109
121
### Authorization
110
122
111
- [ api-key] ( ../README.md#api-key )
123
+ [ api-key] ( ../README.md#api-key ) , [ partner-key ] ( ../README.md#partner-key )
112
124
113
125
### HTTP request headers
114
126
@@ -130,7 +142,13 @@ var defaultClient = SibApiV3Sdk.ApiClient.instance;
130
142
var apiKey = defaultClient .authentications [' api-key' ];
131
143
apiKey .apiKey = ' YOUR API KEY' ;
132
144
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
133
- // apiKey.apiKeyPrefix = 'Token';
145
+ // apikey.apiKeyPrefix = 'Token';
146
+
147
+ // Configure API key authorization: partner-key
148
+ var partnerKey = defaultClient .authentications [' partner-key' ];
149
+ partnerKey .apiKey = ' YOUR API KEY' ;
150
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
151
+ // partnerKey.apiKeyPrefix = 'Token';
134
152
135
153
var apiInstance = new SibApiV3Sdk.AttributesApi ();
136
154
apiInstance .getAttributes ().then (function (data ) {
@@ -150,7 +168,7 @@ This endpoint does not need any parameter.
150
168
151
169
### Authorization
152
170
153
- [ api-key] ( ../README.md#api-key )
171
+ [ api-key] ( ../README.md#api-key ) , [ partner-key ] ( ../README.md#partner-key )
154
172
155
173
### HTTP request headers
156
174
@@ -172,7 +190,13 @@ var defaultClient = SibApiV3Sdk.ApiClient.instance;
172
190
var apiKey = defaultClient .authentications [' api-key' ];
173
191
apiKey .apiKey = ' YOUR API KEY' ;
174
192
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
175
- // apiKey.apiKeyPrefix = 'Token';
193
+ // apikey.apiKeyPrefix = 'Token';
194
+
195
+ // Configure API key authorization: partner-key
196
+ var partnerKey = defaultClient .authentications [' partner-key' ];
197
+ partnerKey .apiKey = ' YOUR API KEY' ;
198
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
199
+ // partnerKey.apiKeyPrefix = 'Token';
176
200
177
201
var apiInstance = new SibApiV3Sdk.AttributesApi ();
178
202
@@ -204,7 +228,7 @@ null (empty response body)
204
228
205
229
### Authorization
206
230
207
- [ api-key] ( ../README.md#api-key )
231
+ [ api-key] ( ../README.md#api-key ) , [ partner-key ] ( ../README.md#partner-key )
208
232
209
233
### HTTP request headers
210
234
0 commit comments