<commit_before>#%RAML 0.8
---
title: Java Magazin API
baseUri: http://localhost:8080/{version}
version: v1

/articles:
 description: Collection of Java articles
 get:
  queryParameters:
   author:
    displayName: Author
    type: string
    description: The author's name of the articles to search.
    example: Kai
    required: false
  responses:
   200:
    body:
     application/json:
      schema: |
       {
       	"type":"array",
       	"items": [
         {
          "type":"object",
          "properties":
           {
            "id": { "type": "integer" },
            "content": { "type": "string" }
           }
         }
        ]
       }
 /{articleId}:
  get:
   responses:
    200:
     body:
      application/json:
       example: |
        {
         "data":
         {
          "id": "2",
          "content": "abc"
         },
         "success": true,
         "status": 200
        }
  post:
   responses:
    201:
     body:
      application/json:
       example: |
        {
         "data":
         {
          "id": "2",
          "content": "abc"
         },
         "success": true,
         "status": 201
        }<commit_msg>improved title<commit_after>#%RAML 0.8
---
title: Example HTTP JSON API
baseUri: http://localhost:8080/{version}
version: v1

/articles:
 description: Collection of tech articles
 get:
  queryParameters:
   author:
    displayName: Author
    type: string
    description: The author's name of the articles to search.
    example: Kai
    required: false
  responses:
   200:
    body:
     application/json:
      schema: |
       {
       	"type":"array",
       	"items": [
         {
          "type":"object",
          "properties":
           {
            "id": { "type": "integer" },
            "content": { "type": "string" }
           }
         }
        ]
       }
 /{articleId}:
  get:
   responses:
    200:
     body:
      application/json:
       example: |
        {
         "data":
         {
          "id": "2",
          "content": "abc"
         },
         "success": true,
         "status": 200
        }
  post:
   responses:
    201:
     body:
      application/json:
       example: |
        {
         "data":
         {
          "id": "2",
          "content": "abc"
         },
         "success": true,
         "status": 201
        }
{'fraction_non_alphanumeric': 0.1348122866894198, 'fraction_numerical': 0.020477815699658702, 'mean_word_length': 1.3149062191510366, 'pattern_counts': {'":': 36, '<': 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': '1684594', 'n_tokens_mistral': 743, 'n_tokens_neox': 706, 'n_words': 166}