This web service returns a portal's customization by file. It is available to ADMIN and PORTAL_ADMIN users.
| Method | Endpoint |
|---|---|
GET |
|
| Path parameter | Type | Description |
|---|---|---|
{filePath} |
String | The file's identifier. For example custom.js, custom.less, or path_to/file.json. |
- This web service is publicly available.
- It is necessary to provide an
Ft-Calling-Appvalue when using Fluid Topics web services. See Fluid Topics calling app. - Calling this web service updates the
lastAccessvalue of the file in the List custom code files web service. -
ADMINandPORTAL_ADMINusers can also use the following endpoint to get a custom code file:/api/admin/portal/custom-code/{filePath}.vmfiles are only available through this endpoint. Using this endpoint does not update thelastAccessvalue of the file.