<commit_before>FORMAT: 1A
HOST: https://nexpose.local:3780/insight/controls/api/

# ControlsInsight
Notes API is a *short texts saving* service similar to its physical paper presence on your table.

# Group Assessments
## Assessment Collection [/assessments]
### Assessments [GET]

+ Response 200 (application/json)

            {
              "id": 1,
              "assessing": false,
              "highRiskAssetCount": 0,
              "mediumRiskAssetCount": 24,
              "lowRiskAssetCount": 0,
              "totalAssetCount": 24,
              "overallRiskScore": 4.004146038088617,
              "timestamp": 1393184605912
            }

## Assessment [/assessments/{assessment_id}]
### Assessment by ID [GET]

+ Parameters
    + assessment_id (optional, integer, `1`) ... The ID of the assessment to retreive.

+ Response 200 (application/json)

            [
                {
                  "id": 1,
                  "assessing": false,
                  "highRiskAssetCount": 0,
                  "mediumRiskAssetCount": 24,
                  "lowRiskAssetCount": 0,
                  "totalAssetCount": 24,
                  "overallRiskScore": 4.004146038088617,
                  "timestamp": 1393184605912
                }
            ]

# Group Search
## Assets [/assets/search?query={query}]
### Asset Search [GET]

+ Parameters
    + query (required, string, `10.4.19`) ... The free text query. This can be a full/partial hostname or IP address.

+ Response 200 (application/json)

        [
          {
            "uuid": "db899a57-347c-4df9-9ce2-6932dc4adf38>",
            "riskScore": 5.554266115196547,
            "riskLevel": "MEDIUM",
            "hostName": "CMMNCTR2K7R2-U",
            "ipaddress": "10.4.19.25"
          }
        ]<commit_msg>Transferring blueprint from apiary.io<commit_after>FORMAT: 1A
HOST: https://nexpose.local:3780/insight/controls/api/

# ControlsInsight
Notes API is a *short texts saving* service similar to its physical paper presence on your table.

# Group Assessments
## Assessment Collection [/assessments]
### Assessments [GET]

+ Response 200 (application/json)

            [
                {
                  "id": 1,
                  "assessing": false,
                  "highRiskAssetCount": 0,
                  "mediumRiskAssetCount": 24,
                  "lowRiskAssetCount": 0,
                  "totalAssetCount": 24,
                  "overallRiskScore": 4.004146038088617,
                  "timestamp": 1393184605912
                }
            ]

## Assessment [/assessments/{assessment_id}]
### Assessment by ID [GET]

+ Parameters
    + assessment_id (optional, integer, `1`) ... The ID of the assessment to retreive.

+ Response 200 (application/json)

            {
              "id": 1,
              "assessing": false,
              "highRiskAssetCount": 0,
              "mediumRiskAssetCount": 24,
              "lowRiskAssetCount": 0,
              "totalAssetCount": 24,
              "overallRiskScore": 4.004146038088617,
              "timestamp": 1393184605912
            }

# Group Search
## Assets [/assets/search?query={query}]
### Asset Search [GET]

+ Parameters
    + query (required, string, `10.4.19`) ... The free text query. This can be a full/partial hostname or IP address.

+ Response 200 (application/json)

        {
          "resources": {
            "uuid": "db899a57-347c-4df9-9ce2-6932dc4adf38>",
            "riskScore": 5.554266115196547,
            "riskLevel": "MEDIUM",
            "hostName": "CMMNCTR2K7R2-U",
            "ipaddress": "10.4.19.25"
          }
        }
{'fraction_non_alphanumeric': 0.11680044284528093, 'fraction_numerical': 0.07583725435925824, 'mean_word_length': 1.8059006211180124, 'pattern_counts': {'":': 43, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5845741', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1040, 'n_words': 250}