Registry Service

Registry Service gives read-only access to the Dirigible public Registry content.

The endpoint is: /registry

To be able to use the service:

User must be assigned to Role: Operator Basic Authentication headers must be provided Header Accept must be provided with value application/json

  • To get the full content:

GET

1
http //[host]:[port]/[dirigible application context]/ *registry*

  • To get the index of a given collection:

GET

1
http //[host]:[port]/[dirigible application context]/ *registry/*

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
	{
	   "name":"root",
	   "path":"/",
	   "files":[  
	      {  
	         "name":"DataStructures",
	         "path":"/registry/DataStructures/",
	         "folder":true,
	         "files":[  
	            {  
	               "name":"jane_books",
	               "path":"/registry/DataStructures/jane_books/",
	               "folder":true,
	               "files":[  
	                  {  
	                     "name":"jane_books.table",
	                     "path":"/registry/DataStructures/jane_books/jane_books.table"
	                  }
	               ]
	            },
	            {  
	               "name":"test_types.table",
	               "path":"/registry/DataStructures/test_types.table"
	            }
	         ]
	      },
	      {  
	         "name":"ExtensionDefinitions",
	         "path":"/registry/ExtensionDefinitions/",
	         "folder":true
	      },
	      {  
	         "name":"IntegrationServices",
	         "path":"/registry/IntegrationServices/",
	         "folder":true
	      },
	      {  
	         "name":"MobileApplications",
	         "path":"/registry/MobileApplications/",
	         "folder":true
	      },
	      {  
	         "name":"ScriptingServices",
	         "path":"/registry/ScriptingServices/",
	         "folder":true,
	         "files":[  
	            {  
	               "name":"jane_books",
	               "path":"/registry/ScriptingServices/jane_books/",
	               "folder":true,
	               "files":[  
	                  {  
	                     "name":"jane_books.entity",
	                     "path":"/registry/ScriptingServices/jane_books/jane_books.entity"
	                  },
	                  {  
	                     "name":"jane_books.js",
	                     "path":"/registry/ScriptingServices/jane_books/jane_books.js"
	                  },
	                  {  
	                     "name":"jane_books_lib.js",
	                     "path":"/registry/ScriptingServices/jane_books/jane_books_lib.js"
	                  }
	               ]
	            },
	            {  
	               "name":"test",
	               "path":"/registry/ScriptingServices/test/",
	               "folder":true,
	               "files":[  
	                  {  
	                     "name":"healthcheck.js",
	                     "path":"/registry/ScriptingServices/test/healthcheck.js"
	                  },
	                  {  
	                     "name":"testframework.js",
	                     "path":"/registry/ScriptingServices/test/testframework.js"
	                  }
	               ]
	            },
	            {  
	               "name":"api.js",
	               "path":"/registry/ScriptingServices/api.js"
	            },
	            {  
	               "name":"assert.js",
	               "path":"/registry/ScriptingServices/assert.js"
	            },
	            {  
	               "name":"entity.js",
	               "path":"/registry/ScriptingServices/entity.js"
	            },
	            {  
	               "name":"io.js",
	               "path":"/registry/ScriptingServices/io.js"
	            },
	            {  
	               "name":"mail.js",
	               "path":"/registry/ScriptingServices/mail.js"
	            },
	            {  
	               "name":"system.js",
	               "path":"/registry/ScriptingServices/system.js"
	            },
	            {  
	               "name":"upload.js",
	               "path":"/registry/ScriptingServices/upload.js"
	            }
	         ]
	      },
	      {  
	         "name":"SecurityConstraints",
	         "path":"/registry/SecurityConstraints/",
	         "folder":true
	      },
	      {  
	         "name":"TestCases",
	         "path":"/registry/TestCases/",
	         "folder":true
	      },
	      {  
	         "name":"WebContent",
	         "path":"/registry/WebContent/",
	         "folder":true,
	         "files":[  
	            {  
	               "name":"jane_books",
	               "path":"/registry/WebContent/jane_books/",
	               "folder":true,
	               "files":[  
	                  {  
	                     "name":"jane_books.html",
	                     "path":"/registry/WebContent/jane_books/jane_books.html"
	                  }
	               ]
	            }
	         ]
	      },
	      {  
	         "name":"WikiContent",
	         "path":"/registry/WikiContent/",
	         "folder":true
	      }
	   ]
	}
  • To get the content of a given artifact:

GET

1
http //[host]:[port]/[dirigible application context]/ */registry/WebContent/jane_books/jane_books.html*

Edit