Query Parameters1 of 1 keywords covered
force_fetch1 / 1
#validinvalidschema
166931052{
266931052 "type": "boolean"
366931052}
Headers1 of 1 keywords covered
authorization1 / 1
114269n/a{
214269n/a "type": "string"
314269n/a}
Body77 of 77 keywords covered
application/json77 / 77
Scope
1123681188{
212563902 "properties": {
34453383 "data": {
41n/a "allOf": [
54453383 {
74453383 }
81n/a ],
94453383 },
1012788651 "policy": {
111n/a "allOf": [
1212788651 {
1412788651 }
151n/a ],
1612788651 },
171326020 "scope_id": {
181326020 "type": "string"
191326020 }
2012563902 },
2113270266 "required": [
2213280256 "scope_id",
231343997 "policy"
2413270266 ],
251353620 "type": "object"
26123681188}
Referenced Components (8)89 of 89 keywords
14453383{
21955338 "properties": {
31955338 "entries": {
41955299 "items": {
61955299 },
7225439 "type": "array"
81955338 }
91955338 },
10479145 "type": "object"
114453383}
14381956{
24405900 "properties": {
32296182 "config": {
42296182 "type": "object"
52296182 },
62246338 "data": {
72246338 "anyOf": [
83032281 {
9303979 "items": {
11303979 },
1212821302 "type": "array"
133032281 },
1412821302 {
151282n/a "items": {},
1612821302 "type": "array"
1712821302 },
189641620 {
199641620 "type": "object"
209641620 }
212246338 ],
222246338 },
232274110 "dst_path": {
242274110 "type": "string"
252274110 },
262373134 "periodic_update_interval": {
272373134 "type": "number"
282373134 },
292284105 "save_method": {
302284105 "type": "string"
312284105 },
322343131 "topics": {
33234320 "items": {
341118551 "type": "string"
35234320 },
362363111 "type": "array"
372343131 },
38526219 "url": {
39526219 "type": "string"
40526219 }
414405900 },
42528133 "required": [
43528133 "url"
44528133 ],
45531423 "type": "object"
464381956}
1165911741{
216699317 "properties": {
316879293 "auth_type": {
416879293 "enum": [
51687n/a "github_token"
616879293 ],
71093545 "type": "string"
816879293 },
9167125 "token": {
10167125 "type": "string"
11167125 }
1216699317 },
13169611572 "required": [
14169611572 "token"
15169611572 ],
1613268132 "type": "object"
17165911741}
112788651{
212797609 "properties": {
313062338 "auth": {
413062338 "oneOf": [
584584942 {
784584942 },
8114512255 {
10114512255 },
11165911741 {
13165911741 },
14180011600 {
16180011600 }
1713062338 ],
1813062338 },
19426123 "branch": {
20426123 "type": "string"
21426123 },
22308070 "bundle_ignore": {
23308038 "items": {
249021145 "type": "string"
25308038 },
26311832 "type": "array"
27308070 },
28287853 "directories": {
29287830 "items": {
30877351 "type": "string"
31287830 },
32290823 "type": "array"
33287853 },
34306756 "extensions": {
35306731 "items": {
369668118 "type": "string"
37306731 },
38309825 "type": "array"
39306756 },
40290631 "manifest": {
41290631 "type": "string"
42290631 },
43282435 "poll_updates": {
44282435 "type": "boolean"
45282435 },
461335246 "source_type": {
471335246 "type": "string"
481335246 },
491334651 "url": {
501334651 "type": "string"
511334651 }
5212797609 },
531339224 "required": [
541339818 "source_type",
551339719 "url",
561340016 "auth"
571339224 ],
581341623 "type": "object"
5912788651}
1205574{
277201 "properties": {
313948 "from": {
413948 "type": "string"
513948 },
6163101 "op": {
7163101 "type": "string"
8163101 },
917752 "path": {
1017752 "type": "string"
1117752 },
1216n/a "value": {
1316n/a }
1477201 },
152212287 "required": [
162642244 "op",
172292279 "path"
182212287 ],
1925083086 "type": "object"
20205574}
184584942{
261704810 "properties": {
361704810 "auth_type": {
461704810 "enum": [
56170n/a "none"
661704810 ],
71093545 "type": "string"
861704810 }
961704810 },
1013268132 "type": "object"
1184584942}
1114512255{
211519844 "properties": {
312069774 "auth_type": {
412069774 "enum": [
51206n/a "ssh"
612069774 ],
71093545 "type": "string"
812069774 },
9119930 "private_key": {
10119930 "type": "string"
11119930 },
1285623 "public_key": {
1385623 "type": "string"
1485623 },
15305639 "username": {
16305639 "type": "string"
17305639 }
1811519844 },
19122612042 "required": [
20309510173 "username",
21122912039 "private_key"
22122612042 ],
2313268132 "type": "object"
24114512255}
1180011600{
218229174 "properties": {
318639117 "auth_type": {
418639117 "enum": [
51863n/a "userpass"
618639117 ],
71093545 "type": "string"
818639117 },
9184133 "password": {
10184133 "type": "string"
11184133 },
12305639 "username": {
13305639 "type": "string"
14305639 }
1518229174 },
16186311405 "required": [
17309510173 "username",
18187411394 "password"
19186311405 ],
2013268132 "type": "object"
21180011600}
Responses2 of 2 documented received
codedescriptionhitsavg
201Successful Response88392ms
422Validation Error51881ms
Undocumented - not in spec
codedescriptionhitsavg
500Internal Server Error146ms
400Bad Request2281ms
Examples15 / 15 used
Body: application/json
[]DataSourceConfig.entries
""DataSourceEntryWithPollingInterval.dst_path
"PUT"DataSourceEntryWithPollingInterval.save_method
[
"policy_data"
]DataSourceEntryWithPollingInterval.topics
{
"entries": []
}Scope.data
"none"NoAuthData.auth_type
"ssh"SSHAuthData.auth_type
"github_token"GitHubTokenAuthData.auth_type
"userpass"UserPassAuthData.auth_type
"main"GitPolicyScopeSource.branch
[
"."
]GitPolicyScopeSource.directories
[
".rego",
".json"
]GitPolicyScopeSource.extensions
".manifest"GitPolicyScopeSource.manifest
falseGitPolicyScopeSource.poll_updates
Query
falseforce_fetch