This web service returns a portal's customization by file.
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.
- Calling this web service updates the
lastAccess
value of the file in the List custom code files web service. -
ADMIN
users can also use the following endpoint to get a custom code file:/api/admin/portal/custom-code/{filePath}
.vm
files are only available through this endpoint. Using this endpoint does not update thelastAccess
value of the file.