Get resource from plugin bundles of project
GET/nevisadmin/api/v1/projects/:projectKey/resources/**
Required permission: VIEW_PROJECT on the project, or higher scope
Fetch a file from the plugin bundles (i.e. from the classpath) of a project. The file's content will be returned, while the Content-Type of the response is assigned to match the file extension, if it is recognized.
Note that only files marked for publishing can be accessed like this, i.e. only files residing in a directory _publish. So a requested file ch/siven/nevisadmin/plugins/script.js will be loaded from path ch/siven/nevisadmin/plugins/_publish/script.js.
Request
Responses
- 200
- 400
- 403
- 404
Success
Invalid project key or missing resource path
Insufficient permissions.
Project or resource not found