This repository has been archived by the owner on May 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi-manager-export.json
1443 lines (1443 loc) · 51.3 KB
/
api-manager-export.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
{
"Metadata" : {
"id" : 1618066115889,
"exportedOn" : "2021-04-10T14:48:35Z",
"apimanVersion" : "2.0.1-SNAPSHOT"
},
"Users" : [ {
"username" : "admin",
"fullName" : "Admin User",
"email" : "admin@example.org",
"joinedOn" : "2021-04-10T08:33:29Z",
"admin" : false
} ],
"Gateways" : [ {
"id" : "TheGateway",
"name" : "The Gateway",
"description" : "This is the default gateway.",
"createdBy" : "admin",
"createdOn" : "2018-05-09T12:00:00Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T09:03:08Z",
"type" : "REST",
"configuration" : "{\"endpoint\":\"${apiman.gateway-endpoint:https://localhost:8443/apiman-gateway-api}\",\"username\":\"${apiman.gateway-endpoint.username:apimanager}\",\"password\":\"${apiman.gateway-endpoint.password:apiman123!}\"}"
} ],
"Plugins" : [ {
"id" : 999,
"groupId" : "io.apiman.plugins",
"artifactId" : "apiman-plugins-http-security-policy",
"version" : "2.0.0.Final",
"name" : "HTTP Security Policy Plugin",
"description" : "Security-related HTTP headers can be set which can help mitigate a range of common security vulnerabilities.",
"createdBy" : "admin",
"createdOn" : "2021-04-05T10:10:48Z",
"deleted" : false
}, {
"id" : 1000,
"groupId" : "io.apiman.plugins",
"artifactId" : "apiman-plugins-simple-header-policy",
"version" : "2.0.0.Final",
"name" : "HTTP Header Policy Plugin",
"description" : "Offers a simple policy that allows request headers to be added or stripped from the HTTP request (outgoing) or HTTP response (incoming).",
"createdBy" : "admin",
"createdOn" : "2021-04-05T10:11:17Z",
"deleted" : false
}, {
"id" : 1001,
"groupId" : "io.apiman.plugins",
"artifactId" : "apiman-plugins-cors-policy",
"version" : "2.0.0.Final",
"name" : "CORS Policy Plugin",
"description" : "This plugin implements CORS (Cross-origin resource sharing): A method of controlling access to resources outside of an originating domain.",
"createdBy" : "admin",
"createdOn" : "2021-04-05T10:11:28Z",
"deleted" : false
}, {
"id" : 1002,
"groupId" : "io.apiman.plugins",
"artifactId" : "apiman-plugins-jwt-policy",
"version" : "2.0.0.Final",
"name" : "JWT Policy",
"description" : "Validating JWTs.",
"createdBy" : "admin",
"createdOn" : "2021-04-05T16:07:56Z",
"deleted" : true
}, {
"id" : 1003,
"groupId" : "io.apiman.plugins",
"artifactId" : "apiman-plugins-transformation-policy",
"version" : "2.0.0.Final",
"name" : "Transformation Policy Plugin",
"description" : "This plugin provides a very simple policy which can transform the request and/or response payload between XML and JSON.",
"createdBy" : "admin",
"createdOn" : "2021-04-08T15:00:37Z",
"deleted" : true
} ],
"Roles" : [ {
"id" : "APIDeveloper",
"name" : "API Developer",
"description" : "Users responsible for creating and managing APIs should be granted this role within an Organization.",
"createdBy" : "admin",
"createdOn" : "2016-05-16T12:34:14Z",
"autoGrant" : false,
"permissions" : [ "planEdit", "planView", "apiAdmin", "planAdmin", "apiEdit", "apiView", "orgView" ]
}, {
"id" : "ClientAppDeveloper",
"name" : "Client App Developer",
"description" : "Users responsible for creating and managing client apps should be granted this role within an Organization.",
"createdBy" : "admin",
"createdOn" : "2016-05-16T12:34:14Z",
"autoGrant" : false,
"permissions" : [ "clientView", "clientEdit", "clientAdmin", "orgView" ]
}, {
"id" : "OrganizationOwner",
"name" : "Organization Owner",
"description" : "Automatically granted to the user who creates an Organization. Grants all privileges.",
"createdBy" : "admin",
"createdOn" : "2016-05-16T12:34:14Z",
"autoGrant" : true,
"permissions" : [ "orgEdit", "planEdit", "planView", "clientView", "apiAdmin", "planAdmin", "clientEdit", "apiEdit", "clientAdmin", "apiView", "orgView", "orgAdmin" ]
} ],
"PolicyDefinitions" : [ {
"id" : "AuthorizationPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.AuthorizationPolicy",
"name" : "Authorization Policy",
"description" : "Enables fine grained authorization to API resources based on authenticated user roles.",
"icon" : "users",
"templates" : [ {
"template" : "Appropriate authorization roles are required. There are ${rules.size()} authorization rules defined."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "BASICAuthenticationPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.BasicAuthenticationPolicy",
"name" : "BASIC Authentication Policy",
"description" : "Enables HTTP BASIC Authentication on an API. Some configuration required.",
"icon" : "lock",
"templates" : [ {
"template" : "Access to the API is protected by BASIC Authentication through the '${realm}' authentication realm. @if{forwardIdentityHttpHeader != null}Successfully authenticated requests will forward the authenticated identity to the back end API via the '${forwardIdentityHttpHeader}' custom HTTP header.@end{}"
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "CachingResourcesPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.CachingResourcesPolicy",
"name" : "Caching Resources Policy",
"description" : "Allows caching of API responses in the Gateway to reduce overall traffic to the back-end API.",
"icon" : "hdd-o",
"templates" : [ {
"template" : "API responses will be cached for @{ttl} seconds."
} ],
"deleted" : false
}, {
"id" : "IPBlacklistPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.IPBlacklistPolicy",
"name" : "IP Blacklist Policy",
"description" : "Requests that originate from a specified set of valid IP addresses will be denied access.",
"icon" : "thumbs-down",
"templates" : [ {
"template" : "Requests that originate from the set of ${ipList.size()} configured IP address(es) will be denied access to the managed API."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "IPWhitelistPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.IPWhitelistPolicy",
"name" : "IP Whitelist Policy",
"description" : "Only requests that originate from a specified set of valid IP addresses will be allowed through.",
"icon" : "filter",
"templates" : [ {
"template" : "Only requests that originate from the set of ${ipList.size()} configured IP address(es) will be allowed to invoke the managed API."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "IgnoredResourcesPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.IgnoredResourcesPolicy",
"name" : "Ignored Resources Policy",
"description" : "Requests satisfying the provided regular expression will be ignored.",
"icon" : "eye-slash",
"templates" : [ {
"template" : "Requests matching any of the ${rules.size()} regular expressions provided will receive a 404 error code."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "QuotaPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.QuotaPolicy",
"name" : "Quota Policy",
"description" : "Provides a way to limit the total number of requests that can be sent to an API.",
"icon" : "exchange",
"templates" : [ {
"template" : "Consumers cannot exceed their quota of ${limit} requests per ${granularity} per ${period}."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "RateLimitingPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.RateLimitingPolicy",
"name" : "Rate Limiting Policy",
"description" : "Enforces rate configurable request rate limits on an API. This ensures that consumers can't overload an API with too many requests.",
"icon" : "sliders",
"templates" : [ {
"template" : "Consumers are limited to ${limit} requests per ${granularity} per ${period}."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "TimeRestrictedAccessPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.TimeRestrictedAccessPolicy",
"name" : "Time Restricted Access Policy",
"description" : "Requests matching the specified regular expression and made within the specified time period will be ignored.",
"icon" : "clock-o",
"templates" : [ {
"template" : "Requests matching the regular expression and made outside the specified time period will receive a 423 error code."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "TransferQuotaPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.TransferQuotaPolicy",
"name" : "Transfer Quota Policy",
"description" : "Provides a way to limit the total number of bytes that can be transferred from (or to) an API.",
"icon" : "download",
"templates" : [ {
"template" : "Consumers are limited to transferring ${limit} bytes per ${granularity} per ${period}."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "URLRewritingPolicy",
"policyImpl" : "class:io.apiman.gateway.engine.policies.URLRewritingPolicy",
"name" : "URL Rewriting Policy",
"description" : "Responses from the back-end API will be modified by fixing up any incorrect URLs found with modified ones. This is useful because apiman works through an API Gateway.",
"icon" : "pencil-square",
"templates" : [ {
"template" : "Requests and/or responses will be modified by finding all text matching regular expression '${fromRegex}' with '${toReplacement}'."
} ],
"formType" : "Default",
"deleted" : false
}, {
"id" : "cors-policy",
"policyImpl" : "plugin:io.apiman.plugins:apiman-plugins-cors-policy:2.0.0.Final:war/io.apiman.plugins.cors_policy.CorsPolicy",
"name" : "CORS Policy",
"description" : "CORS regulates access resource requests from outside of an originating domain. Configuration required.",
"icon" : "gavel",
"templates" : [ {
"template" : "Cross-origin requests from @if{allowOrigin.contains(\"*\")} any @else{} @{allowOrigin.size()} @end{} origin(s) will be permitted upon satisfying method, header and credential constraints. @if{errorOnCorsFailure} Denied requests will be terminated. @end{} Preflight requests will be cached for @{maxAge} delta seconds."
} ],
"pluginId" : 1001,
"formType" : "JsonSchema",
"form" : "schemas/cors-policyDef.schema",
"deleted" : false
}, {
"id" : "http-security-policy",
"policyImpl" : "plugin:io.apiman.plugins:apiman-plugins-http-security-policy:2.0.0.Final:war/io.apiman.plugins.httpsecuritypolicy.HttpSecurityPolicy",
"name" : "HTTP Security Policy",
"description" : "Security-related HTTP headers can be set, such as HSTS, CSP and XSS protection.",
"icon" : "bullhorn",
"templates" : [ {
"template" : "HTTP security headers have been set."
} ],
"pluginId" : 999,
"formType" : "JsonSchema",
"form" : "schemas/http-security-policyDef.schema",
"deleted" : false
}, {
"id" : "jwt-policy",
"policyImpl" : "plugin:io.apiman.plugins:apiman-plugins-jwt-policy:2.0.0.Final:war/io.apiman.plugins.jwt.JWTPolicy",
"name" : "JWT Policy",
"description" : "Generic JWT authentication policy.",
"icon" : "lock",
"templates" : [ {
"template" : "JWT authentication is @if{requireJWT} required @else{} enabled @end{}."
} ],
"pluginId" : 1002,
"formType" : "JsonSchema",
"form" : "schemas/jwt-policyDef.schema",
"deleted" : true
}, {
"id" : "simple-header-policy",
"policyImpl" : "plugin:io.apiman.plugins:apiman-plugins-simple-header-policy:2.0.0.Final:war/io.apiman.plugins.simpleheaderpolicy.SimpleHeaderPolicy",
"name" : "Simple Header Policy",
"description" : "Allows the granular addition and removal of headers.",
"icon" : "header",
"templates" : [ {
"template" : "@{addHeaders.size()} addition rules and @{stripHeaders.size()} deletion rules are active."
} ],
"pluginId" : 1000,
"formType" : "JsonSchema",
"form" : "schemas/simple-header-policyDef.schema",
"deleted" : false
}, {
"id" : "transformation-policy",
"policyImpl" : "plugin:io.apiman.plugins:apiman-plugins-transformation-policy:2.0.0.Final:war/io.apiman.plugins.transformation_policy.TransformationPolicy",
"name" : "Transformation Policy",
"description" : "Transforms the data from one format to another.",
"icon" : "adjust",
"templates" : [ ],
"pluginId" : 1003,
"formType" : "JsonSchema",
"form" : "schemas/transformation-policyDef.schema",
"deleted" : true
} ],
"Developers" : [ ],
"Orgs" : [ {
"OrganizationBean" : {
"id" : "XLM",
"name" : "XLM",
"description" : "Excellium organization",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:11:23Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T07:11:23Z"
},
"Memberships" : [ {
"id" : 1004,
"userId" : "admin",
"roleId" : "OrganizationOwner",
"organizationId" : "XLM",
"createdOn" : "2021-04-05T07:11:23Z"
} ],
"Plans" : [ {
"PlanBean" : {
"id" : "standard",
"name" : "standard",
"description" : "Standard API plan offered to any paid clients.",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:12:57Z"
},
"Versions" : [ {
"PlanVersionBean" : {
"id" : 1005,
"status" : "Locked",
"version" : "1.0",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:12:57Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T07:16:52Z",
"lockedOn" : "2021-04-05T07:22:49Z"
},
"Policies" : [ {
"id" : 1006,
"type" : "Plan",
"organizationId" : "XLM",
"entityId" : "standard",
"entityVersion" : "1.0",
"name" : "IP Whitelist Policy",
"configuration" : "{\"ipList\":[\"127.*.*.*\"],\"responseCode\":\"403\"}",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:16:52Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T07:16:52Z",
"definition" : {
"id" : "IPWhitelistPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 1
} ]
}, {
"PlanVersionBean" : {
"id" : 1007,
"status" : "Locked",
"version" : "1.1",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:35:17Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T07:36:23Z",
"lockedOn" : "2021-04-05T07:36:51Z"
},
"Policies" : [ {
"id" : 1008,
"type" : "Plan",
"organizationId" : "XLM",
"entityId" : "standard",
"entityVersion" : "1.1",
"name" : "IP Whitelist Policy",
"configuration" : "{\"ipList\":[\"127.*.*.*\"],\"responseCode\":\"403\"}",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:35:17Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T07:35:17Z",
"definition" : {
"id" : "IPWhitelistPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 1
}, {
"id" : 1009,
"type" : "Plan",
"organizationId" : "XLM",
"entityId" : "standard",
"entityVersion" : "1.1",
"name" : "Rate Limiting Policy",
"configuration" : "{\"limit\":10,\"granularity\":\"Client\",\"period\":\"Minute\"}",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:36:23Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T07:36:23Z",
"definition" : {
"id" : "RateLimitingPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 2
} ]
}, {
"PlanVersionBean" : {
"id" : 1010,
"status" : "Locked",
"version" : "1.2",
"createdBy" : "admin",
"createdOn" : "2021-04-08T16:47:56Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-08T16:48:09Z",
"lockedOn" : "2021-04-08T16:48:14Z"
},
"Policies" : [ {
"id" : 1011,
"type" : "Plan",
"organizationId" : "XLM",
"entityId" : "standard",
"entityVersion" : "1.2",
"name" : "IP Whitelist Policy",
"configuration" : "{\"ipList\":[\"127.*.*.*\"],\"responseCode\":\"403\"}",
"createdBy" : "admin",
"createdOn" : "2021-04-08T16:47:56Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-08T16:47:56Z",
"definition" : {
"id" : "IPWhitelistPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 1
}, {
"id" : 1012,
"type" : "Plan",
"organizationId" : "XLM",
"entityId" : "standard",
"entityVersion" : "1.2",
"name" : "Rate Limiting Policy",
"configuration" : "{\"limit\":10,\"granularity\":\"Client\",\"period\":\"Second\"}",
"createdBy" : "admin",
"createdOn" : "2021-04-08T16:47:56Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-08T16:48:09Z",
"definition" : {
"id" : "RateLimitingPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 2
} ]
}, {
"PlanVersionBean" : {
"id" : 1079,
"status" : "Locked",
"version" : "1.3",
"createdBy" : "admin",
"createdOn" : "2021-04-10T08:38:17Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-10T08:38:47Z",
"lockedOn" : "2021-04-10T08:38:53Z"
},
"Policies" : [ {
"id" : 1081,
"type" : "Plan",
"organizationId" : "XLM",
"entityId" : "standard",
"entityVersion" : "1.3",
"name" : "IP Whitelist Policy",
"configuration" : "{\"ipList\":[\"127.*.*.*\",\"172.*.*.*\"],\"responseCode\":\"403\"}",
"createdBy" : "admin",
"createdOn" : "2021-04-10T08:38:17Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-10T08:38:47Z",
"definition" : {
"id" : "IPWhitelistPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 1
}, {
"id" : 1083,
"type" : "Plan",
"organizationId" : "XLM",
"entityId" : "standard",
"entityVersion" : "1.3",
"name" : "Rate Limiting Policy",
"configuration" : "{\"limit\":10,\"granularity\":\"Client\",\"period\":\"Minute\"}",
"createdBy" : "admin",
"createdOn" : "2021-04-10T08:38:17Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-10T08:38:17Z",
"definition" : {
"id" : "RateLimitingPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 2
} ]
} ]
} ],
"Apis" : [ {
"ApiBean" : {
"id" : "bin",
"name" : "bin",
"description" : "API allowing to interact with \"requestbin.net\" backend API.",
"createdBy" : "admin",
"createdOn" : "2021-04-05T15:13:38Z",
"numPublished" : 4
},
"Versions" : [ {
"ApiVersionBean" : {
"id" : 1013,
"status" : "Published",
"endpoint" : "https://requestbin.net/r/",
"endpointType" : "rest",
"endpointContentType" : "json",
"endpointProperties" : { },
"gateways" : [ {
"gatewayId" : "TheGateway"
} ],
"publicAPI" : true,
"plans" : [ ],
"version" : "1.0",
"createdBy" : "admin",
"createdOn" : "2021-04-05T15:13:38Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T15:36:47Z",
"publishedOn" : "2021-04-05T15:36:50Z",
"definitionType" : "None",
"parsePayload" : false,
"disableKeysStrip" : false
},
"Policies" : [ {
"id" : 1014,
"type" : "Api",
"organizationId" : "XLM",
"entityId" : "bin",
"entityVersion" : "1.0",
"name" : "Simple Header Policy",
"configuration" : "{\"addHeaders\":[],\"stripHeaders\":[{\"stripType\":\"Key\",\"with\":\"String\",\"pattern\":\" cf-request-id\",\"applyTo\":\"Response\"},{\"stripType\":\"Key\",\"with\":\"String\",\"pattern\":\"Report-To\",\"applyTo\":\"Response\"},{\"stripType\":\"Key\",\"with\":\"String\",\"pattern\":\"Server\",\"applyTo\":\"Response\"},{\"stripType\":\"Key\",\"with\":\"String\",\"pattern\":\"CF-RAY\",\"applyTo\":\"Response\"},{\"stripType\":\"Key\",\"with\":\"String\",\"pattern\":\"NEL\",\"applyTo\":\"Response\"},{\"stripType\":\"Key\",\"with\":\"String\",\"pattern\":\"CF-Cache-Status\",\"applyTo\":\"Response\"},{\"stripType\":\"Key\",\"with\":\"String\",\"pattern\":\"Sponsored-By\",\"applyTo\":\"Response\"}]}",
"createdBy" : "admin",
"createdOn" : "2021-04-05T15:20:46Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T15:36:47Z",
"definition" : {
"id" : "simple-header-policy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 0
}, {
"id" : 1015,
"type" : "Api",
"organizationId" : "XLM",
"entityId" : "bin",
"entityVersion" : "1.0",
"name" : "HTTP Security Policy",
"configuration" : "{\"hsts\":{\"enabled\":false,\"includeSubdomains\":false,\"maxAge\":0,\"preload\":false},\"contentSecurityPolicy\":{\"mode\":\"ENABLED\",\"csp\":\"default-src 'self'\"},\"frameOptions\":\"DENY\",\"xssProtection\":\"OFF\",\"contentTypeOptions\":true}",
"createdBy" : "admin",
"createdOn" : "2021-04-05T15:18:52Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T15:24:09Z",
"definition" : {
"id" : "http-security-policy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 1
}, {
"id" : 1016,
"type" : "Api",
"organizationId" : "XLM",
"entityId" : "bin",
"entityVersion" : "1.0",
"name" : "CORS Policy",
"configuration" : "{\"errorOnCorsFailure\":true,\"allowOrigin\":[\"https://localhost:8443\",\"http://localhost:8080\"],\"allowCredentials\":false,\"exposeHeaders\":[],\"allowHeaders\":[],\"allowMethods\":[],\"maxAge\":10}",
"createdBy" : "admin",
"createdOn" : "2021-04-05T15:17:13Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T15:23:04Z",
"definition" : {
"id" : "cors-policy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 2
} ]
} ]
}, {
"ApiBean" : {
"id" : "blog",
"name" : "blog",
"description" : "API allowing to interact with \"jsonplaceholder.typicode.com\" backend API.",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:18:57Z",
"numPublished" : 3
},
"Versions" : [ {
"ApiVersionBean" : {
"id" : 1017,
"status" : "Published",
"endpoint" : "http://jsonplaceholder.typicode.com/",
"endpointType" : "rest",
"endpointContentType" : "json",
"endpointProperties" : { },
"gateways" : [ {
"gatewayId" : "TheGateway"
} ],
"publicAPI" : false,
"plans" : [ {
"planId" : "standard",
"version" : "1.1"
} ],
"version" : "1.0",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:18:57Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T07:37:11Z",
"publishedOn" : "2021-04-05T09:03:49Z",
"definitionType" : "None",
"parsePayload" : true,
"disableKeysStrip" : false
},
"Policies" : [ {
"id" : 1018,
"type" : "Api",
"organizationId" : "XLM",
"entityId" : "blog",
"entityVersion" : "1.0",
"name" : "BASIC Authentication Policy",
"configuration" : "{\"realm\":\"Blog\",\"forwardIdentityHttpHeader\":\"X-User\",\"staticIdentity\":{\"identities\":[{\"username\":\"user\",\"password\":\"password\"}]},\"requireBasicAuth\":true}",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:31:52Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-05T07:31:52Z",
"definition" : {
"id" : "BASICAuthenticationPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 1
} ]
}, {
"ApiVersionBean" : {
"id" : 1019,
"status" : "Published",
"endpoint" : "http://jsonplaceholder.typicode.com/",
"endpointType" : "rest",
"endpointContentType" : "json",
"endpointProperties" : { },
"gateways" : [ {
"gatewayId" : "TheGateway"
} ],
"publicAPI" : false,
"plans" : [ {
"planId" : "standard",
"version" : "1.2"
} ],
"version" : "1.1",
"createdBy" : "admin",
"createdOn" : "2021-04-08T16:48:34Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-08T16:48:42Z",
"publishedOn" : "2021-04-08T16:48:49Z",
"definitionType" : "None",
"parsePayload" : false,
"disableKeysStrip" : false
},
"Policies" : [ {
"id" : 1020,
"type" : "Api",
"organizationId" : "XLM",
"entityId" : "blog",
"entityVersion" : "1.1",
"name" : "BASIC Authentication Policy",
"configuration" : "{\"realm\":\"Blog\",\"forwardIdentityHttpHeader\":\"X-User\",\"staticIdentity\":{\"identities\":[{\"username\":\"user\",\"password\":\"password\"}]},\"requireBasicAuth\":true}",
"createdBy" : "admin",
"createdOn" : "2021-04-08T16:48:34Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-08T16:48:34Z",
"definition" : {
"id" : "BASICAuthenticationPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 1
} ]
}, {
"ApiVersionBean" : {
"id" : 1087,
"status" : "Published",
"endpoint" : "http://jsonplaceholder.typicode.com/",
"endpointType" : "rest",
"endpointContentType" : "json",
"endpointProperties" : { },
"gateways" : [ {
"gatewayId" : "TheGateway"
} ],
"publicAPI" : false,
"plans" : [ {
"planId" : "standard",
"version" : "1.3"
} ],
"version" : "1.2",
"createdBy" : "admin",
"createdOn" : "2021-04-10T08:39:11Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-10T08:39:20Z",
"publishedOn" : "2021-04-10T08:39:24Z",
"definitionType" : "None",
"parsePayload" : false,
"disableKeysStrip" : false
},
"Policies" : [ {
"id" : 1090,
"type" : "Api",
"organizationId" : "XLM",
"entityId" : "blog",
"entityVersion" : "1.2",
"name" : "BASIC Authentication Policy",
"configuration" : "{\"realm\":\"Blog\",\"forwardIdentityHttpHeader\":\"X-User\",\"staticIdentity\":{\"identities\":[{\"username\":\"user\",\"password\":\"password\"}]},\"requireBasicAuth\":true}",
"createdBy" : "admin",
"createdOn" : "2021-04-10T08:39:11Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-10T08:39:11Z",
"definition" : {
"id" : "BASICAuthenticationPolicy",
"templates" : [ ],
"deleted" : false
},
"orderIndex" : 1
} ]
} ]
} ],
"Clients" : [ {
"ClientBean" : {
"id" : "blog-consumer",
"name" : "blog-consumer",
"description" : "Command line consumer of the Blog API.",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:38:31Z"
},
"Versions" : [ {
"ClientVersionBean" : {
"id" : 1021,
"status" : "Registered",
"version" : "1.0",
"createdBy" : "admin",
"createdOn" : "2021-04-05T07:38:31Z",
"modifiedBy" : "admin",
"modifiedOn" : "2021-04-10T08:41:08Z",
"publishedOn" : "2021-04-10T08:41:13Z",
"apikey" : "d09e70b2-2abc-47d8-9168-80878e662e6a"
},
"Policies" : [ ],
"Contracts" : [ {
"id" : 1096,
"api" : {
"api" : {
"organization" : {
"id" : "XLM"
},
"id" : "blog"
},
"endpointProperties" : { },
"publicAPI" : false,
"version" : "1.2",
"parsePayload" : false,
"disableKeysStrip" : false
},
"plan" : {
"plan" : {
"organization" : {
"id" : "XLM"
},
"id" : "standard"
},
"version" : "1.3"
},
"createdBy" : "admin",
"createdOn" : "2021-04-10T08:41:08Z"
} ]
} ]
} ],
"Audits" : [ {
"id" : 1022,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Organization",
"createdOn" : "2021-04-05T07:11:23Z",
"what" : "Create"
}, {
"id" : 1023,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Plan",
"entityId" : "standard",
"createdOn" : "2021-04-05T07:12:57Z",
"what" : "Create"
}, {
"id" : 1024,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Plan",
"entityId" : "standard",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:12:57Z",
"what" : "Create"
}, {
"id" : 1025,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Plan",
"entityId" : "standard",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:16:52Z",
"what" : "AddPolicy",
"data" : "{\"policyDefId\":\"IPWhitelistPolicy\"}"
}, {
"id" : 1026,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "blog",
"createdOn" : "2021-04-05T07:18:57Z",
"what" : "Create"
}, {
"id" : 1027,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "blog",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:18:57Z",
"what" : "Create"
}, {
"id" : 1028,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "blog",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:20:56Z",
"what" : "Update",
"data" : "{\"changes\":[{\"name\":\"endpoint\",\"before\":null,\"after\":\"http://jsonplaceholder.typicode.com/\"},{\"name\":\"endpointType\",\"before\":null,\"after\":\"rest\"},{\"name\":\"endpointContentType\",\"before\":null,\"after\":\"json\"},{\"name\":\"parsePayload\",\"before\":\"false\",\"after\":\"true\"}]}"
}, {
"id" : 1029,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Plan",
"entityId" : "standard",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:22:49Z",
"what" : "Lock"
}, {
"id" : 1030,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "blog",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:23:16Z",
"what" : "Update",
"data" : "{\"changes\":[{\"name\":\"plans\",\"before\":\"\",\"after\":\"standard:1.0\"}]}"
}, {
"id" : 1031,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "blog",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:31:52Z",
"what" : "AddPolicy",
"data" : "{\"policyDefId\":\"BASICAuthenticationPolicy\"}"
}, {
"id" : 1032,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Plan",
"entityId" : "standard",
"entityVersion" : "1.1",
"createdOn" : "2021-04-05T07:35:17Z",
"what" : "Create"
}, {
"id" : 1033,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Plan",
"entityId" : "standard",
"entityVersion" : "1.1",
"createdOn" : "2021-04-05T07:35:17Z",
"what" : "AddPolicy",
"data" : "{\"policyDefId\":\"IPWhitelistPolicy\"}"
}, {
"id" : 1034,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Plan",
"entityId" : "standard",
"entityVersion" : "1.1",
"createdOn" : "2021-04-05T07:36:23Z",
"what" : "AddPolicy",
"data" : "{\"policyDefId\":\"RateLimitingPolicy\"}"
}, {
"id" : 1035,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Plan",
"entityId" : "standard",
"entityVersion" : "1.1",
"createdOn" : "2021-04-05T07:36:51Z",
"what" : "Lock"
}, {
"id" : 1036,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "blog",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:37:11Z",
"what" : "Update",
"data" : "{\"changes\":[{\"name\":\"plans\",\"before\":\"standard:1.0\",\"after\":\"standard:1.1\"}]}"
}, {
"id" : 1037,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Client",
"entityId" : "blog-consumer",
"createdOn" : "2021-04-05T07:38:31Z",
"what" : "Create"
}, {
"id" : 1038,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Client",
"entityId" : "blog-consumer",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T07:38:31Z",
"what" : "Create"
}, {
"id" : 1039,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Organization",
"createdOn" : "2021-04-05T08:46:29Z",
"what" : "Grant",
"data" : "{\"userId\":\"publisher\",\"roles\":[\"APIDeveloper\"]}"
}, {
"id" : 1040,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Organization",
"createdOn" : "2021-04-05T08:48:52Z",
"what" : "Revoke",
"data" : "{\"userId\":\"publisher\",\"roles\":[\"*\"]}"
}, {
"id" : 1041,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "blog",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T09:03:49Z",
"what" : "Publish"
}, {
"id" : 1042,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Client",
"entityId" : "blog-consumer",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T09:07:15Z",
"what" : "CreateContract",
"data" : "{\"clientOrgId\":\"XLM\",\"clientId\":\"blog-consumer\",\"clientVersion\":\"1.0\",\"apiOrgId\":\"XLM\",\"apiId\":\"blog\",\"apiVersion\":\"1.0\",\"planId\":\"standard\",\"planVersion\":\"1.1\"}"
}, {
"id" : 1043,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "blog",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T09:07:15Z",
"what" : "CreateContract",
"data" : "{\"clientOrgId\":\"XLM\",\"clientId\":\"blog-consumer\",\"clientVersion\":\"1.0\",\"apiOrgId\":\"XLM\",\"apiId\":\"blog\",\"apiVersion\":\"1.0\",\"planId\":\"standard\",\"planVersion\":\"1.1\"}"
}, {
"id" : 1044,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Client",
"entityId" : "blog-consumer",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T09:07:30Z",
"what" : "Register"
}, {
"id" : 1045,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "bin",
"createdOn" : "2021-04-05T15:13:38Z",
"what" : "Create"
}, {
"id" : 1046,
"who" : "admin",
"organizationId" : "XLM",
"entityType" : "Api",
"entityId" : "bin",
"entityVersion" : "1.0",
"createdOn" : "2021-04-05T15:13:38Z",
"what" : "Create"
}, {
"id" : 1047,
"who" : "admin",
"organizationId" : "XLM",