Get submodules for this module

get/modules/{moduleId}/submodules
Internal-Use Only

Retrieves the collection of submodules contained by the specified module.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "collection",
6 "href": "/microanalyticScore/modules/driverpackage/submodules",
7 "uri": "/microanalyticScore/modules/driverpackage/submodules",
8 "type": "application/vnd.sas.collection"
9 },
10 {
11 "method": "GET",
12 "rel": "self",
13 "href": "/microanalyticScore/modules/driverpackage/submodules?start=0&limit=20",
14 "uri": "/microanalyticScore/modules/driverpackage/submodules?start=0&limit=20",
15 "type": "application/vnd.sas.collection"
16 }
17 ],
18 "name": "submodules",
19 "accept": "application/vnd.sas.microanalytic.submodule",
20 "count": 10,
21 "items": [
22 {
23 "links": [
24 {
25 "method": "GET",
26 "rel": "up",
27 "href": "/microanalyticScore/modules/driverpackage/submodules",
28 "uri": "/microanalyticScore/modules/driverpackage/submodules",
29 "type": "application/vnd.sas.collection",
30 "itemType": "application/vnd.sas.microanalytic.submodule"
31 },
32 {
33 "method": "GET",
34 "rel": "self",
35 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage6",
36 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage6",
37 "type": "application/vnd.sas.microanalytic.submodule"
38 },
39 {
40 "method": "GET",
41 "rel": "source",
42 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage6/source",
43 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage6/source",
44 "type": "application/vnd.sas.microanalytic.module.source"
45 }
46 ],
47 "version": 1,
48 "createdBy": "sasdemo",
49 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
50 "modifiedBy": "sasdemo",
51 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
52 "moduleId": "driverPackage",
53 "id": "subpackage6",
54 "name": "subpackage6",
55 "language": "ds2",
56 "description": "sub package 6"
57 },
58 {
59 "links": [
60 {
61 "method": "GET",
62 "rel": "up",
63 "href": "/microanalyticScore/modules/driverpackage/submodules",
64 "uri": "/microanalyticScore/modules/driverpackage/submodules",
65 "type": "application/vnd.sas.collection",
66 "itemType": "application/vnd.sas.microanalytic.submodule"
67 },
68 {
69 "method": "GET",
70 "rel": "self",
71 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage7",
72 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage7",
73 "type": "application/vnd.sas.microanalytic.submodule"
74 },
75 {
76 "method": "GET",
77 "rel": "source",
78 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage7/source",
79 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage7/source",
80 "type": "application/vnd.sas.microanalytic.module.source"
81 }
82 ],
83 "version": 1,
84 "createdBy": "sasdemo",
85 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
86 "modifiedBy": "sasdemo",
87 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
88 "moduleId": "driverPackage",
89 "id": "subpackage7",
90 "name": "subpackage7",
91 "language": "ds2",
92 "description": "sub package 7"
93 },
94 {
95 "links": [
96 {
97 "method": "GET",
98 "rel": "up",
99 "href": "/microanalyticScore/modules/driverpackage/submodules",
100 "uri": "/microanalyticScore/modules/driverpackage/submodules",
101 "type": "application/vnd.sas.collection",
102 "itemType": "application/vnd.sas.microanalytic.submodule"
103 },
104 {
105 "method": "GET",
106 "rel": "self",
107 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage8",
108 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage8",
109 "type": "application/vnd.sas.microanalytic.submodule"
110 },
111 {
112 "method": "GET",
113 "rel": "source",
114 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage8/source",
115 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage8/source",
116 "type": "application/vnd.sas.microanalytic.module.source"
117 }
118 ],
119 "version": 1,
120 "createdBy": "sasdemo",
121 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
122 "modifiedBy": "sasdemo",
123 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
124 "moduleId": "driverPackage",
125 "id": "subpackage8",
126 "name": "subpackage8",
127 "language": "ds2",
128 "description": "sub package 8"
129 },
130 {
131 "links": [
132 {
133 "method": "GET",
134 "rel": "up",
135 "href": "/microanalyticScore/modules/driverpackage/submodules",
136 "uri": "/microanalyticScore/modules/driverpackage/submodules",
137 "type": "application/vnd.sas.collection",
138 "itemType": "application/vnd.sas.microanalytic.submodule"
139 },
140 {
141 "method": "GET",
142 "rel": "self",
143 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage9",
144 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage9",
145 "type": "application/vnd.sas.microanalytic.submodule"
146 },
147 {
148 "method": "GET",
149 "rel": "source",
150 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage9/source",
151 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage9/source",
152 "type": "application/vnd.sas.microanalytic.module.source"
153 }
154 ],
155 "version": 1,
156 "createdBy": "sasdemo",
157 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
158 "modifiedBy": "sasdemo",
159 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
160 "moduleId": "driverPackage",
161 "id": "subpackage9",
162 "name": "subpackage9",
163 "language": "ds2",
164 "description": "sub package 9"
165 },
166 {
167 "links": [
168 {
169 "method": "GET",
170 "rel": "up",
171 "href": "/microanalyticScore/modules/driverpackage/submodules",
172 "uri": "/microanalyticScore/modules/driverpackage/submodules",
173 "type": "application/vnd.sas.collection",
174 "itemType": "application/vnd.sas.microanalytic.submodule"
175 },
176 {
177 "method": "GET",
178 "rel": "self",
179 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage0",
180 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage0",
181 "type": "application/vnd.sas.microanalytic.submodule"
182 },
183 {
184 "method": "GET",
185 "rel": "source",
186 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage0/source",
187 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage0/source",
188 "type": "application/vnd.sas.microanalytic.module.source"
189 }
190 ],
191 "version": 1,
192 "createdBy": "sasdemo",
193 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
194 "modifiedBy": "sasdemo",
195 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
196 "moduleId": "driverPackage",
197 "id": "subpackage0",
198 "name": "subpackage0",
199 "language": "ds2",
200 "description": "sub package 0"
201 },
202 {
203 "links": [
204 {
205 "method": "GET",
206 "rel": "up",
207 "href": "/microanalyticScore/modules/driverpackage/submodules",
208 "uri": "/microanalyticScore/modules/driverpackage/submodules",
209 "type": "application/vnd.sas.collection",
210 "itemType": "application/vnd.sas.microanalytic.submodule"
211 },
212 {
213 "method": "GET",
214 "rel": "self",
215 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage1",
216 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage1",
217 "type": "application/vnd.sas.microanalytic.submodule"
218 },
219 {
220 "method": "GET",
221 "rel": "source",
222 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage1/source",
223 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage1/source",
224 "type": "application/vnd.sas.microanalytic.module.source"
225 }
226 ],
227 "version": 1,
228 "createdBy": "sasdemo",
229 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
230 "modifiedBy": "sasdemo",
231 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
232 "moduleId": "driverPackage",
233 "id": "subpackage1",
234 "name": "subpackage1",
235 "language": "ds2",
236 "description": "sub package 1"
237 },
238 {
239 "links": [
240 {
241 "method": "GET",
242 "rel": "up",
243 "href": "/microanalyticScore/modules/driverpackage/submodules",
244 "uri": "/microanalyticScore/modules/driverpackage/submodules",
245 "type": "application/vnd.sas.collection",
246 "itemType": "application/vnd.sas.microanalytic.submodule"
247 },
248 {
249 "method": "GET",
250 "rel": "self",
251 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage2",
252 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage2",
253 "type": "application/vnd.sas.microanalytic.submodule"
254 },
255 {
256 "method": "GET",
257 "rel": "source",
258 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage2/source",
259 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage2/source",
260 "type": "application/vnd.sas.microanalytic.module.source"
261 }
262 ],
263 "version": 1,
264 "createdBy": "sasdemo",
265 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
266 "modifiedBy": "sasdemo",
267 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
268 "moduleId": "driverPackage",
269 "id": "subpackage2",
270 "name": "subpackage2",
271 "language": "ds2",
272 "description": "sub package 2"
273 },
274 {
275 "links": [
276 {
277 "method": "GET",
278 "rel": "up",
279 "href": "/microanalyticScore/modules/driverpackage/submodules",
280 "uri": "/microanalyticScore/modules/driverpackage/submodules",
281 "type": "application/vnd.sas.collection",
282 "itemType": "application/vnd.sas.microanalytic.submodule"
283 },
284 {
285 "method": "GET",
286 "rel": "self",
287 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage3",
288 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage3",
289 "type": "application/vnd.sas.microanalytic.submodule"
290 },
291 {
292 "method": "GET",
293 "rel": "source",
294 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage3/source",
295 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage3/source",
296 "type": "application/vnd.sas.microanalytic.module.source"
297 }
298 ],
299 "version": 1,
300 "createdBy": "sasdemo",
301 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
302 "modifiedBy": "sasdemo",
303 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
304 "moduleId": "driverPackage",
305 "id": "subpackage3",
306 "name": "subpackage3",
307 "language": "ds2",
308 "description": "sub package 3"
309 },
310 {
311 "links": [
312 {
313 "method": "GET",
314 "rel": "up",
315 "href": "/microanalyticScore/modules/driverpackage/submodules",
316 "uri": "/microanalyticScore/modules/driverpackage/submodules",
317 "type": "application/vnd.sas.collection",
318 "itemType": "application/vnd.sas.microanalytic.submodule"
319 },
320 {
321 "method": "GET",
322 "rel": "self",
323 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage4",
324 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage4",
325 "type": "application/vnd.sas.microanalytic.submodule"
326 },
327 {
328 "method": "GET",
329 "rel": "source",
330 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage4/source",
331 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage4/source",
332 "type": "application/vnd.sas.microanalytic.module.source"
333 }
334 ],
335 "version": 1,
336 "createdBy": "sasdemo",
337 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
338 "modifiedBy": "sasdemo",
339 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
340 "moduleId": "driverPackage",
341 "id": "subpackage4",
342 "name": "subpackage4",
343 "language": "ds2",
344 "description": "sub package 4"
345 },
346 {
347 "links": [
348 {
349 "method": "GET",
350 "rel": "up",
351 "href": "/microanalyticScore/modules/driverpackage/submodules",
352 "uri": "/microanalyticScore/modules/driverpackage/submodules",
353 "type": "application/vnd.sas.collection",
354 "itemType": "application/vnd.sas.microanalytic.submodule"
355 },
356 {
357 "method": "GET",
358 "rel": "self",
359 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage5",
360 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage5",
361 "type": "application/vnd.sas.microanalytic.submodule"
362 },
363 {
364 "method": "GET",
365 "rel": "source",
366 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage5/source",
367 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage5/source",
368 "type": "application/vnd.sas.microanalytic.module.source"
369 }
370 ],
371 "version": 1,
372 "createdBy": "sasdemo",
373 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
374 "modifiedBy": "sasdemo",
375 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
376 "moduleId": "driverPackage",
377 "id": "subpackage5",
378 "name": "subpackage5",
379 "language": "ds2",
380 "description": "sub package 5"
381 }
382 ],
383 "version": 2
384}

Path Parameters

NameTypeRequiredDescription
moduleId
string
true

The identifier of the module that contains the submodule collection.

Query Parameters

NameTypeRequiredDescription
limit
integer
false

The maximum number of submodules to return.

Default:
20
start
integer<int64>
false

The index of the first submodule to return.

Default:
0

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundThe module that contains the submodules collection could not be found.Schema