<commit_before>SmartyGrid
==========

SmartyGrid is a jQuery AJAX Grid Plugin

### AJAX WebService Specification

#### HTTP Request

HTTP Method = GET, example as follows:

```
GET http://domain/web-service.php?offset=20&size=5&sorts[title]=DESC&columns[]=username&columns[]=title&columns[]=email HTTP/1.1
```

| URL Paramater    | Type              | Description |
| :-------------   | :-------------    | :------ |
| size             | Integer           | Size of return rows |
| offset           | Integer           | Start offset of table |
| columns[]        | [String]          | Return columns |
| search[]         | [String]          | It's search keywork |
| equals[%Colume%] | [String]          | Column value filter |
| sorts[%Colume%]  | String (ASC&#124;DESC) | Sort column and rule |

#### HTTP Response ###

Web service must return the JSON format (Web + Json = Good), Content-type = application/json, example as follows:

```
{
    "code":0,
    "message":"success",
    "data":{
        "list":[<commit_msg>fix web service type<commit_after>SmartyGrid
==========

SmartyGrid is a jQuery AJAX Grid Plugin

### AJAX WebService Specification

#### HTTP Request

HTTP Method = GET, example as follows:

```
GET http://domain/web-service.php?offset=20&size=5&sorts[title]=DESC&columns[]=username&columns[]=title&columns[]=email HTTP/1.1
```

| URL Paramater    | Type              | Description |
| :-------------   | :-------------    | :------ |
| size             | Integer           | Size of return rows |
| offset           | Integer           | Start offset of table |
| columns[]        | String[]          | Return columns |
| search[]         | String[]          | It's search keywork |
| equals[%Colume%] | String[]          | Column value filter |
| sorts[%Colume%]  | String (ASC&#124;DESC) | Sort column and rule |

#### HTTP Response ###

Web service must return the JSON format (Web + Json = Good), Content-type = application/json, example as follows:

```
{
    "code":0,
    "message":"success",
    "data":{
        "list":[
{'fraction_non_alphanumeric': 0.18199513381995133, 'fraction_numerical': 0.008759124087591242, 'mean_word_length': 2.3704918032786884, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '999342', 'n_tokens_mistral': 612, 'n_tokens_neox': 582, 'n_words': 162}