forked from asyncapi/modelina
-
Notifications
You must be signed in to change notification settings - Fork 0
/
postman-collection-2_1.json
1146 lines (1146 loc) · 51.7 KB
/
postman-collection-2_1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://schema.getpostman.com/json/draft-07/collection/v2.1.0/",
"type": "object",
"properties": {
"info": {
"$ref": "#/definitions/info"
},
"item": {
"type": "array",
"description": "Items are the basic unit for a Postman collection. You can think of them as corresponding to a single API endpoint. Each Item has one request and may have multiple API responses associated with it.",
"items": {
"title": "Items",
"oneOf": [
{
"$ref": "#/definitions/item"
},
{
"$ref": "#/definitions/item-group"
}
]
}
},
"event": {
"$ref": "#/definitions/event-list"
},
"variable": {
"$ref": "#/definitions/variable-list"
},
"auth": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/auth"
}
]
},
"protocolProfileBehavior": {
"$ref": "#/definitions/protocol-profile-behavior"
}
},
"required": [
"info",
"item"
],
"definitions": {
"auth-attribute": {
"type": "object",
"title": "AuthAttribute",
"$id": "#/definitions/auth-attribute",
"description": "Represents an attribute for any authorization method provided by Postman. For example `username` and `password` are set as auth attributes for Basic Authentication method.",
"properties": {
"key": {
"type": "string"
},
"value": {},
"type": {
"type": "string"
}
},
"required": [
"key"
]
},
"auth": {
"type": "object",
"title": "Auth",
"$id": "#/definitions/auth",
"description": "Represents authentication helpers provided by Postman",
"properties": {
"type": {
"type": "string",
"enum": [
"apikey",
"awsv4",
"basic",
"bearer",
"digest",
"edgegrid",
"hawk",
"noauth",
"oauth1",
"oauth2",
"ntlm"
]
},
"noauth": {},
"apikey": {
"type": "array",
"title": "API Key Authentication",
"description": "The attributes for API Key Authentication.",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"awsv4": {
"type": "array",
"title": "AWS Signature v4",
"description": "The attributes for [AWS Auth](http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html).",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"basic": {
"type": "array",
"title": "Basic Authentication",
"description": "The attributes for [Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication).",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"bearer": {
"type": "array",
"title": "Bearer Token Authentication",
"description": "The helper attributes for [Bearer Token Authentication](https://tools.ietf.org/html/rfc6750)",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"digest": {
"type": "array",
"title": "Digest Authentication",
"description": "The attributes for [Digest Authentication](https://en.wikipedia.org/wiki/Digest_access_authentication).",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"edgegrid": {
"type": "array",
"title": "EdgeGrid Authentication",
"description": "The attributes for [Akamai EdgeGrid Authentication](https://developer.akamai.com/legacy/introduction/Client_Auth.html).",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"hawk": {
"type": "array",
"title": "Hawk Authentication",
"description": "The attributes for [Hawk Authentication](https://github.com/hueniverse/hawk)",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"ntlm": {
"type": "array",
"title": "NTLM Authentication",
"description": "The attributes for [NTLM Authentication](https://msdn.microsoft.com/en-us/library/cc237488.aspx)",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"oauth1": {
"type": "array",
"title": "OAuth1",
"description": "The attributes for [OAuth2](https://oauth.net/1/)",
"items": {
"$ref": "#/definitions/auth-attribute"
}
},
"oauth2": {
"type": "array",
"title": "OAuth2",
"description": "Helper attributes for [OAuth2](https://oauth.net/2/)",
"items": {
"$ref": "#/definitions/auth-attribute"
}
}
},
"required": [
"type"
]
},
"certificate-list": {
"$id": "#/definitions/certificate-list",
"title": "Certificate List",
"description": "A representation of a list of ssl certificates",
"type": "array",
"items": {
"$ref": "#/definitions/certificate"
}
},
"certificate": {
"$id": "#/definitions/certificate",
"title": "Certificate",
"description": "A representation of an ssl certificate",
"type": "object",
"properties": {
"name": {
"description": "A name for the certificate for user reference",
"type": "string"
},
"matches": {
"description": "A list of Url match pattern strings, to identify Urls this certificate can be used for.",
"type": "array",
"items": {
"type": "string",
"description": "An Url match pattern string"
}
},
"key": {
"description": "An object containing path to file containing private key, on the file system",
"type": "object",
"properties": {
"src": {
"description": "The path to file containing key for certificate, on the file system"
}
}
},
"cert": {
"description": "An object containing path to file certificate, on the file system",
"type": "object",
"properties": {
"src": {
"description": "The path to file containing key for certificate, on the file system"
}
}
},
"passphrase": {
"description": "The passphrase for the certificate",
"type": "string"
}
}
},
"cookie-list": {
"$id": "#/definitions/cookie-list",
"title": "Certificate List",
"description": "A representation of a list of cookies",
"type": "array",
"items": {
"$ref": "#/definitions/cookie"
}
},
"cookie": {
"type": "object",
"title": "Cookie",
"$id": "#/definitions/cookie",
"description": "A Cookie, that follows the [Google Chrome format](https://developer.chrome.com/extensions/cookies)",
"properties": {
"domain": {
"type": "string",
"description": "The domain for which this cookie is valid."
},
"expires": {
"type": [
"string",
"null"
],
"description": "When the cookie expires."
},
"maxAge": {
"type": "string"
},
"hostOnly": {
"type": "boolean",
"description": "True if the cookie is a host-only cookie. (i.e. a request's URL domain must exactly match the domain of the cookie)."
},
"httpOnly": {
"type": "boolean",
"description": "Indicates if this cookie is HTTP Only. (if True, the cookie is inaccessible to client-side scripts)"
},
"name": {
"type": "string",
"description": "This is the name of the Cookie."
},
"path": {
"type": "string",
"description": "The path associated with the Cookie."
},
"secure": {
"type": "boolean",
"description": "Indicates if the 'secure' flag is set on the Cookie, meaning that it is transmitted over secure connections only. (typically HTTPS)"
},
"session": {
"type": "boolean",
"description": "True if the cookie is a session cookie."
},
"value": {
"type": "string",
"description": "The value of the Cookie."
},
"extensions": {
"type": "array",
"description": "Custom attributes for a cookie go here, such as the [Priority Field](https://code.google.com/p/chromium/issues/detail?id=232693)"
}
},
"required": [
"domain",
"path"
]
},
"description": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#/definitions/description",
"description": "A Description can be a raw text, or be an object, which holds the description along with its format.",
"oneOf": [
{
"type": "object",
"title": "Description",
"properties": {
"content": {
"type": "string",
"description": "The content of the description goes here, as a raw string."
},
"type": {
"type": "string",
"description": "Holds the mime type of the raw description content. E.g: 'text/markdown' or 'text/html'.\nThe type is used to correctly render the description when generating documentation, or in the Postman app."
},
"version": {
"description": "Description can have versions associated with it, which should be put in this property."
}
}
},
{
"type": "string"
},
{
"type": "null"
}
]
},
"event-list": {
"$id": "#/definitions/event-list",
"title": "Event List",
"type": "array",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "Postman allows you to configure scripts to run when specific events occur. These scripts are stored here, and can be referenced in the collection by their ID.",
"items": {
"$ref": "#/definitions/event"
}
},
"event": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#/definitions/event",
"title": "Event",
"description": "Defines a script associated with an associated event name",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A unique identifier for the enclosing event."
},
"listen": {
"type": "string",
"description": "Can be set to `test` or `prerequest` for test scripts or pre-request scripts respectively."
},
"script": {
"$ref": "#/definitions/script"
},
"disabled": {
"type": "boolean",
"default": false,
"description": "Indicates whether the event is disabled. If absent, the event is assumed to be enabled."
}
},
"required": [
"listen"
]
},
"header-list": {
"$id": "#/definitions/header-list",
"title": "Header List",
"description": "A representation for a list of headers",
"type": "array",
"items": {
"$ref": "#/definitions/header"
}
},
"header": {
"type": "object",
"title": "Header",
"$id": "#/definitions/header",
"description": "Represents a single HTTP Header",
"properties": {
"key": {
"description": "This holds the LHS of the HTTP Header, e.g ``Content-Type`` or ``X-Custom-Header``",
"type": "string"
},
"value": {
"type": "string",
"description": "The value (or the RHS) of the Header is stored in this field."
},
"disabled": {
"type": "boolean",
"default": false,
"description": "If set to true, the current header will not be sent with requests."
},
"description": {
"$ref": "#/definitions/description"
}
},
"required": [
"key",
"value"
]
},
"info": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#/definitions/info",
"title": "Information",
"description": "Detailed description of the info block",
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Name of the collection",
"description": "A collection's friendly name is defined by this field. You would want to set this field to a value that would allow you to easily identify this collection among a bunch of other collections, as such outlining its usage or content."
},
"_postman_id": {
"type": "string",
"description": "Every collection is identified by the unique value of this field. The value of this field is usually easiest to generate using a UID generator function. If you already have a collection, it is recommended that you maintain the same id since changing the id usually implies that is a different collection than it was originally.\n *Note: This field exists for compatibility reasons with Collection Format V1.*"
},
"description": {
"$ref": "#/definitions/description"
},
"version": {
"$ref": "#/definitions/version"
},
"schema": {
"description": "This should ideally hold a link to the Postman schema that is used to validate this collection. E.g: https://schema.getpostman.com/collection/v1",
"type": "string"
}
},
"required": [
"name",
"schema"
]
},
"item-group": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Folder",
"$id": "#/definitions/item-group",
"description": "One of the primary goals of Postman is to organize the development of APIs. To this end, it is necessary to be able to group requests together. This can be achived using 'Folders'. A folder just is an ordered set of requests.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "A folder's friendly name is defined by this field. You would want to set this field to a value that would allow you to easily identify this folder."
},
"description": {
"$ref": "#/definitions/description"
},
"variable": {
"$ref": "#/definitions/variable-list"
},
"item": {
"description": "Items are entities which contain an actual HTTP request, and sample responses attached to it. Folders may contain many items.",
"type": "array",
"items": {
"title": "Items",
"anyOf": [
{
"$ref": "#/definitions/item"
},
{
"$ref": "#/definitions/item-group"
}
]
}
},
"event": {
"$ref": "#/definitions/event-list"
},
"auth": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/auth"
}
]
},
"protocolProfileBehavior": {
"$ref": "#/definitions/protocol-profile-behavior"
}
},
"required": [
"item"
]
},
"item": {
"type": "object",
"title": "Item",
"$id": "#/definitions/item",
"description": "Items are entities which contain an actual HTTP request, and sample responses attached to it.",
"properties": {
"id": {
"type": "string",
"description": "A unique ID that is used to identify collections internally"
},
"name": {
"type": "string",
"description": "A human readable identifier for the current item."
},
"description": {
"$ref": "#/definitions/description"
},
"variable": {
"$ref": "#/definitions/variable-list"
},
"event": {
"$ref": "#/definitions/event-list"
},
"request": {
"$ref": "#/definitions/request"
},
"response": {
"type": "array",
"title": "Responses",
"items": {
"$ref": "#/definitions/response"
}
},
"protocolProfileBehavior": {
"$ref": "#/definitions/protocol-profile-behavior"
}
},
"required": [
"request"
]
},
"protocol-profile-behavior": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Protocol Profile Behavior",
"$id": "#/definitions/protocol-profile-behavior",
"description": "Set of configurations used to alter the usual behavior of sending the request"
},
"proxy-config": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#/definitions/proxy-config",
"title": "Proxy Config",
"description": "Using the Proxy, you can configure your custom proxy into the postman for particular url match",
"type": "object",
"properties": {
"match": {
"default": "http+https://*/*",
"description": "The Url match for which the proxy config is defined",
"type": "string"
},
"host": {
"type": "string",
"description": "The proxy server host"
},
"port": {
"type": "integer",
"minimum": 0,
"default": 8080,
"description": "The proxy server port"
},
"tunnel": {
"description": "The tunneling details for the proxy config",
"default": false,
"type": "boolean"
},
"disabled": {
"type": "boolean",
"default": false,
"description": "When set to true, ignores this proxy configuration entity"
}
}
},
"request": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#/definitions/request",
"title": "Request",
"description": "A request represents an HTTP request. If a string, the string is assumed to be the request URL and the method is assumed to be 'GET'.",
"oneOf": [
{
"type": "object",
"title": "Request",
"properties": {
"url": {
"$ref": "#/definitions/url"
},
"auth": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/auth"
}
]
},
"proxy": {
"$ref": "#/definitions/proxy-config"
},
"certificate": {
"$ref": "#/definitions/certificate"
},
"method": {
"anyOf": [
{
"description": "The Standard HTTP method associated with this request.",
"type": "string",
"enum": [
"GET",
"PUT",
"POST",
"PATCH",
"DELETE",
"COPY",
"HEAD",
"OPTIONS",
"LINK",
"UNLINK",
"PURGE",
"LOCK",
"UNLOCK",
"PROPFIND",
"VIEW"
]
},
{
"description": "The Custom HTTP method associated with this request.",
"type": "string"
}
]
},
"description": {
"$ref": "#/definitions/description"
},
"header": {
"oneOf": [
{
"$ref": "#/definitions/header-list"
},
{
"type": "string"
}
]
},
"body": {
"oneOf": [
{
"type": "object",
"description": "This field contains the data usually contained in the request body.",
"properties": {
"mode": {
"description": "Postman stores the type of data associated with this request in this field.",
"enum": [
"raw",
"urlencoded",
"formdata",
"file",
"graphql"
]
},
"raw": {
"type": "string"
},
"graphql": {
"type": "object"
},
"urlencoded": {
"type": "array",
"items": {
"type": "object",
"title": "UrlEncodedParameter",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
},
"disabled": {
"type": "boolean",
"default": false
},
"description": {
"$ref": "#/definitions/description"
}
},
"required": [
"key"
]
}
},
"formdata": {
"type": "array",
"items": {
"type": "object",
"title": "FormParameter",
"anyOf": [
{
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
},
"disabled": {
"type": "boolean",
"default": false,
"description": "When set to true, prevents this form data entity from being sent."
},
"type": {
"type": "string",
"const": "text"
},
"contentType": {
"type": "string",
"description": "Override Content-Type header of this form data entity."
},
"description": {
"$ref": "#/definitions/description"
}
},
"required": [
"key"
]
},
{
"properties": {
"key": {
"type": "string"
},
"src": {
"type": [
"array",
"string",
"null"
]
},
"disabled": {
"type": "boolean",
"default": false,
"description": "When set to true, prevents this form data entity from being sent."
},
"type": {
"type": "string",
"const": "file"
},
"contentType": {
"type": "string",
"description": "Override Content-Type header of this form data entity."
},
"description": {
"$ref": "#/definitions/description"
}
},
"required": [
"key"
]
}
]
}
},
"file": {
"type": "object",
"properties": {
"src": {
"oneOf": [
{
"type": "string",
"description": "Contains the name of the file to upload. _Not the path_."
},
{
"type": "null",
"description": "A null src indicates that no file has been selected as a part of the request body"
}
]
},
"content": {
"type": "string"
}
}
},
"options": {
"type": "object",
"description": "Additional configurations and options set for various body modes."
},
"disabled": {
"type": "boolean",
"default": false,
"description": "When set to true, prevents request body from being sent."
}
}
},
{
"type": "null"
}
]
}
}
},
{
"type": "string"
}
]
},
"response": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#/definitions/response",
"title": "Response",
"description": "A response represents an HTTP response.",
"properties": {
"id": {
"description": "A unique, user defined identifier that can be used to refer to this response from requests.",
"type": "string"
},
"originalRequest": {
"$ref": "#/definitions/request"
},
"responseTime": {
"title": "ResponseTime",
"type": [
"null",
"string",
"number"
],
"description": "The time taken by the request to complete. If a number, the unit is milliseconds. If the response is manually created, this can be set to `null`."
},
"timings": {
"title": "Response Timings",
"description": "Set of timing information related to request and response in milliseconds",
"type": [
"object",
"null"
]
},
"header": {
"title": "Headers",
"oneOf": [
{
"type": "array",
"title": "Header",
"description": "No HTTP request is complete without its headers, and the same is true for a Postman request. This field is an array containing all the headers.",
"items": {
"oneOf": [
{
"$ref": "#/definitions/header"
},
{
"title": "Header",
"type": "string"
}
]
}
},
{
"type": [
"string",
"null"
]
}
]
},
"cookie": {
"type": "array",
"items": {
"$ref": "#/definitions/cookie"
}
},
"body": {
"type": [
"null",
"string"
],
"description": "The raw text of the response."
},
"status": {
"type": "string",
"description": "The response status, e.g: '200 OK'"
},
"code": {
"type": "integer",
"description": "The numerical response code, example: 200, 201, 404, etc."
}
}
},
"script": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#/definitions/script",
"title": "Script",
"type": "object",
"description": "A script is a snippet of Javascript code that can be used to to perform setup or teardown operations on a particular response.",
"properties": {
"id": {
"description": "A unique, user defined identifier that can be used to refer to this script from requests.",
"type": "string"
},
"type": {
"description": "Type of the script. E.g: 'text/javascript'",
"type": "string"
},
"exec": {
"oneOf": [
{
"type": "array",
"description": "This is an array of strings, where each line represents a single line of code. Having lines separate makes it possible to easily track changes made to scripts.",
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
},
"src": {
"$ref": "#/definitions/url"
},
"name": {
"type": "string",
"description": "Script name"
}
}
},
"url": {
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "If object, contains the complete broken-down URL for this request. If string, contains the literal request URL.",
"$id": "#/definitions/url",
"title": "Url",
"oneOf": [
{
"type": "object",
"properties": {
"raw": {
"type": "string",
"description": "The string representation of the request URL, including the protocol, host, path, hash, query parameter(s) and path variable(s)."
},
"protocol": {
"type": "string",
"description": "The protocol associated with the request, E.g: 'http'"
},
"host": {
"title": "Host",
"description": "The host for the URL, E.g: api.yourdomain.com. Can be stored as a string or as an array of strings.",
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
},
"description": "The host, split into subdomain strings."
}
]
},
"path": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"description": "The complete path of the current url, broken down into segments. A segment could be a string, or a path variable.",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
]
}
}
]
},
"port": {
"type": "string",
"description": "The port number present in this URL. An empty value implies 80/443 depending on whether the protocol field contains http/https."
},
"query": {
"type": "array",
"description": "An array of QueryParams, which is basically the query string part of the URL, parsed into separate variables",
"items": {
"type": "object",
"title": "QueryParam",
"properties": {
"key": {
"type": [
"string",
"null"
]
},
"value": {
"type": [
"string",
"null"
]
},
"disabled": {