Cloud Maturity Occurrences
Draft
Get the list of objects with locations in the source code for a given cloud maturity detection pattern.
The objects are sorted by name, and source code locations by start line.
URI
GET /rest/applications/{name}/insights/cloud-detection-patterns/{id}/occurrences
Path Parameters
-
name (string)
:- This parameter identifies the analyzed application.
The application name must be properly encoded if it is required. Character back-quote is not allowed.
-
id (string)
:- The cloud detection pattern ID.
Query Parameters
-
limit (integer)
, required:- The maximum number of objects to return
-
skip(integer)
, optional:- The number of objects to skip before including objects in the search limit.
Responses
-
application/json
:Example:
[ { "id": "274118", "name": "AExport", "fullName": "org.compiere.apps.AExport", "mangling": "", "type": "Java Class Rich Client", "typeId": "JV_CLASS" "bookmarks": [ { "endLine": 17, "fileId": -3265, "relativePath": "client\\src\\org\\compiere\\apps\\AExport.java", "startLine": 17 } ] } ]
JSON Representation
Property Type Description id string The object ID. name string The object name. fullName string The object long name, usually locates the object in a software architecture. mangling string The function signature or an empty string if not applicable. type string The object type for a display. typeId string The object type identifier is the type reference key. bookmarks[].startLine integer The start line of this finding in the source code file. bookmarks[].endLine integer The end line of this finding in the source code file. bookmarks[].fileId integer The source file ID required to get the source text. bookmarks[].relativePath string The source file relative path.