Get submodule source

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

Retrieves the source code for the specified submodule and module.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "up",
6 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage0",
7 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage0",
8 "type": "application/vnd.sas.microanalytic.submodule"
9 },
10 {
11 "method": "GET",
12 "rel": "self",
13 "href": "/microanalyticScore/modules/driverpackage/submodules/subpackage0/source",
14 "uri": "/microanalyticScore/modules/driverpackage/submodules/subpackage0/source",
15 "type": "application/vnd.sas.microanalytic.module.source"
16 }
17 ],
18 "version": 2,
19 "createdBy": "sasdemo",
20 "creationTimeStamp": "2022-05-05T20:03:46.066Z",
21 "modifiedBy": "sasdemo",
22 "modifiedTimeStamp": "2022-05-05T20:03:46.066Z",
23 "moduleId": "driverpackage",
24 "submoduleId": "subpackage0",
25 "source": "ds2_options sas;package subpackage0;method test_sub(int i);end;endpackage;"
26}

Path Parameters

NameTypeRequiredDescription
moduleId
string
true

The identifier of the module that contains the submodule.

submoduleId
string
true

The identifier of the submodule.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundThe requested module or submodule could not be found.Schema