File tree Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Expand file tree Collapse file tree 1 file changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -373,6 +373,7 @@ components:
373
373
BatchContext :
374
374
properties :
375
375
operations :
376
+ description : Array of requests to Agent endpoints, batched into one request
376
377
type : array
377
378
items :
378
379
$ref : ' #/components/schemas/BatchOperation'
@@ -382,27 +383,37 @@ components:
382
383
BatchOperation :
383
384
properties :
384
385
method :
386
+ description : The REST request method
385
387
type : string
386
388
enum :
387
389
- GET
388
390
- POST
389
391
url :
392
+ description : The base and endpoint components of the API request's path
390
393
type : string
391
- operationID :
394
+ operationID :
395
+ description : Index of the request in the batch
392
396
type : string
393
397
body :
398
+ description : The body for the request as JSON
394
399
type : object
395
400
parameters :
401
+ description : The parameters for the request as JSON
396
402
type : object
397
403
headers :
404
+ description : The headers for the request as JSON
398
405
type : object
399
406
example :
400
- method : " GET "
401
- url : " /v1/config "
407
+ method : " POST "
408
+ url : " /v1/activate "
402
409
operationID : 1
403
- body : {}
404
- parameters : {}
405
- headers : {"X-Optimizely-SDK-Key": "<sdk_key>"}
410
+ body : {"userId": "user1"}
411
+ parameters : {
412
+ " type " : " feature" ,
413
+ " experimentKey " : " ab_test_experiment" }
414
+ headers : {
415
+ " X-Optimizely-SDK-Key " : " <sdk_key>" ,
416
+ " Content-Type " : " application/json" }
406
417
407
418
BatchResponse :
408
419
properties :
You can’t perform that action at this time.
0 commit comments