OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "experimental.record", | 3 "namespace": "experimental.record", |
4 "types": [ | 4 "types": [ |
5 { | 5 { |
6 "id": "SessionDetails", | 6 "id": "SessionDetails", |
7 "type": "object", | 7 "type": "object", |
8 "description": "", | 8 "description": "", |
9 "properties": { | 9 "properties": { |
10 "extensionPath": {"type": "string", "optional": true, "description": "
A path to an extension to run in the session. Should be an unpacked extension."}
, | 10 "extensionPath": {"type": "string", "optional": true, "description": "
A path to an extension to run in the session. Should be an unpacked extension."} |
11 "repeatCount": {"type": "integer", "optional": true, "description": "N
umber of times to repeat sequence. Defaults to 1."} | |
12 } | 11 } |
13 }, | 12 }, |
14 { | 13 { |
15 "id": "ReplayURLsResult", | 14 "id": "ReplayURLsResult", |
16 "type": "object", | 15 "type": "object", |
17 "description": "", | 16 "description": "", |
18 "properties": { | 17 "properties": { |
19 "runTime": {"type": "integer", "description": "Time in milliseconds to
complete all runs."}, | 18 "runTime": {"type": "integer", "description": "Time in milliseconds to
complete all runs."}, |
20 "stats": {"type": "string", "description": "Full multiline dump of out
put stats."}, | 19 "stats": {"type": "string", "description": "Full multiline dump of out
put stats."}, |
21 "errors": {"type": "array", "items": {"type": "string"}, "description"
: "List of errors during replay."} | 20 "errors": {"type": "array", "items": {"type": "string"}, "description"
: "List of errors during replay."} |
22 } | 21 } |
23 } | 22 } |
24 ], | 23 ], |
25 "functions": [ | 24 "functions": [ |
26 { | 25 { |
27 "name": "captureURLs", | 26 "name": "captureURLs", |
28 "description": "", | 27 "description": "", |
29 "type": "function", | 28 "type": "function", |
30 "parameters": [ | 29 "parameters": [ |
31 { | 30 { |
32 "type": "array", | 31 "type": "array", |
33 "items": {"type": "string"}, | 32 "items": {"type": "string"}, |
34 "name": "urls" | 33 "name": "urls" |
35 }, | 34 }, |
36 { | 35 { |
37 "type": "string", | 36 "type": "string", |
38 "name": "cacheDirectoryPath" | 37 "name": "cacheDirectoryPath" |
39 }, | 38 }, |
40 { | 39 { |
41 "$ref": "SessionDetails", | 40 "type": "integer", |
42 "name": "details", | 41 "name": "repeatCount" |
43 "optional": true | |
44 }, | 42 }, |
45 { | 43 { |
46 "name": "callback", | 44 "name": "callback", |
47 "type": "function", | 45 "type": "function", |
48 "description": "Called when capture has completed.", | 46 "description": "Called when capture has completed.", |
49 "optional": true, | 47 "optional": true, |
50 "parameters": [ | 48 "parameters": [ |
51 { | 49 { |
52 "type": "array", | 50 "type": "array", |
53 "items": {"type": "string"}, | 51 "items": {"type": "string"}, |
(...skipping 11 matching lines...) Expand all Loading... |
65 { | 63 { |
66 "type": "array", | 64 "type": "array", |
67 "items": {"type": "string"}, | 65 "items": {"type": "string"}, |
68 "name": "urls" | 66 "name": "urls" |
69 }, | 67 }, |
70 { | 68 { |
71 "type": "string", | 69 "type": "string", |
72 "name": "captureDirectoryPath" | 70 "name": "captureDirectoryPath" |
73 }, | 71 }, |
74 { | 72 { |
| 73 "type": "integer", |
| 74 "name": "repeatCount" |
| 75 }, |
| 76 { |
75 "$ref": "SessionDetails", | 77 "$ref": "SessionDetails", |
76 "name": "details", | 78 "name": "details", |
77 "optional": true | 79 "optional": true |
78 }, | 80 }, |
79 { | 81 { |
80 "name": "callback", | 82 "name": "callback", |
81 "type": "function", | 83 "type": "function", |
82 "description": "Called when playback has completed.", | 84 "description": "Called when playback has completed.", |
83 "parameters": [{"$ref": "ReplayURLsResult", "name": "result"}] | 85 "parameters": [{"$ref": "ReplayURLsResult", "name": "result"}] |
84 } | 86 } |
85 ] | 87 ] |
86 } | 88 } |
87 ] | 89 ] |
88 } | 90 } |
89 ] | 91 ] |
OLD | NEW |