<commit_before>{
  "operations": {
    "CreateSite": {
      "httpMethod": "POST",
      "uri": "/sites",
      "summary": "Create a new site",
      "parameters": {
        "accountHolderRef": {
          "description": "The reference of the account holder that will own the created site.",
          "location": "json",
          "required": true,
          "type": "integer"
        },
        "activationStatus": {
          "description": "If the site's brand activationURL is set and the site has an inactive activationStatus, clicking the publish button in the editor will result in a redirect to the aforementioned URL.",
          "enum": [
            "active",
            "inactive"
          ],
          "location": "json",
          "required": false,
          "type": "string"
        },
        "brandRef": {
          "description": "The reference of the brand that the site will be owned by. This is the brand reference that has been provided to you.",
          "location": "json",
          "required": true,
          "type": "numeric"
        },
        "domain": {
          "description": "The domain name that will be initially used to access the site. The domain must have DNS mapped to the environment on which the site is being created.",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "templateRef": {
          "description": "Template to use on the site. If not provided, the site will have a default template.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "siteType": {
          "description": "Can be set to 'desktop' or 'responsive'. If you’re unsure of this value, ask your account manager for more information.",
          "location": "json",
          "required": false,
          "type": "string",
          "enum": [
            "desktop",
            "responsive"
          ]
        }
      }
    },
    "UpdateSite": {
      "httpMethod": "PUT",
      "parameters": {
        "activationStatus": {
          "description": "Optionally set for sites on brands that use the brand activationURL.",
          "enum": [
            "active",
            "inactive"
          ],
          "location": "json",
          "required": false,
          "type": "string"
        },
        "databaseReadUser": {
          "description": "The site’s database read username (internal-developer only)",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "databaseSchema": {
          "description": "The name of the site’s database (internal-developer only)",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "databaseWriteUser": {
          "description": "The site’s database write username (internal-developer only)",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "enabled": {
          "description": "Boolean value if the site is enabled or disabled",
          "enum": [
            "0",
            "1"
          ],
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "live": {
          "description": "Boolean value if the site is online or offline.",
          "enum": [
            "0",
            "1"
          ],
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "templateRef": {
          "description": "Ref of the template to be used on the site",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "mobileSiteRef": {
          "description": "Site ref for mobile version of the site.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "mobileThemeRef": {
          "description": "Mobile theme reference if a mobile site.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "primaryUrlRef": {
          "description": "The urlRef must be associated with the site.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "privateWidgets": {
          "description": "Boolean value if the User should have privateWidgets or not. 0 or 1 allowed",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "redirectToPrimary": {
          "description": "Boolean value if the mobile site is offline but you want to redirect back to desktop",
          "enum": [
            "0",
            "1"
          ],
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "siteRef": {
          "description": "Site reference to be updated.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "thumbUrl": {
          "description": "thumbUrl location",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "userRef": {
          "description": "User reference of the owner. This may be used to transfer the site to a different user. The new user must be accessible in the caller’s scope.",
          "location": "json",
          "required": false,
          "type": "integer"
        }
      },
      "summary": "Update Site details. Only updates provided fields.",
      "uri": "/sites/{siteRef}"
    },
    "UpdateSitePage": {
      "httpMethod": "PUT",
      "parameters": {
        "bodyscript": {
          "description": "Body Script",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "colorSwatchRef": {
          "description": "Color Swatch",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "description": {
          "description": "Description of the page",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "displayOrder": {
          "description": "The order in which to display the page",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "folder": {
          "description": "Ref of the folder type page to move the page into. Provide 0 if you want to move the page to root level.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "fontSwatchRef": {
          "description": "Font Swatch",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "headscript": {
          "description": "Head Script",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "keywords": {
          "description": "Keywords of the page, separated by a comma",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "pageRef": {
          "description": "Page reference to be updated.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "pageUrl": {
          "description": "Page URL",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "siteRef": {
          "description": "Site reference.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "status": {
          "default": "active",
          "description": "Controls the page visibility when publishing a site",
          "enum": [
            "active",
            "draft",
            "inactive"
          ],
          "location": "json",
          "required": true,
          "type": "string"
        },
        "themeRef": {
          "description": "Theme",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "title": {
          "description": "Title of the page",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "type": {
          "description": "Page type can be one of the following: page,error-page,index,home,error-404,list,single",
          "location": "json",
          "required": false,
          "type": "string"
        }
      },
      "summary": "Update a page of a site",
      "uri": "/sites/{siteRef}/pages/{pageRef}"
    },
    "DeleteSitePage": {
      "httpMethod": "DELETE",
      "parameters": {
        "pageRef": {
          "description": "Page reference to be deleted. If a folder is provided, all child pages will be deleted.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "siteRef": {
          "description": "Site reference.",
          "location": "uri",
          "required": true,
          "type": "integer"
        }
      },
      "summary": "Delete a page or a redirect or a folder from a site",
      "uri": "/sites/{siteRef}/pages/{pageRef}"
    },
    "Updatestaticvaluesforastaticwidget": {
      "httpMethod": "PUT",
      "parameters": {
        "values": {
          "description": "An array of key-value pairs describing the static widget",
          "location": "json",
          "required": true
        },
        "siteRef": {
          "description": "The site whose static widget’s values are to be updated",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "staticWidgetId": {
          "description": "The static widget whose values are to be updated",
          "location": "uri",
          "required": true,
          "type": "string"
        }
      },
      "summary": "Changes the values associated with a site’s static widget",
      "uri": "/sites/{siteRef}/static-values/{staticWidgetId}"
    },
    "MapDomain": {
      "httpMethod": "POST",
      "uri": "/sites/{siteRef}/domains",
      "summary": "Map the specified domain to the site. The site must be accessible by the caller.",
      "parameters": {
        "siteRef": {
          "description": "Map a domain to this site.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "domain": {
          "description": "Domain to be mapped to the site, including subdomain e.g. subdomain.domain.tld.",
          "location": "json",
          "required": false,
          "type": "string"
        }
      }
    },
    "UnmapDomain": {
      "httpMethod": "POST",
      "uri": "/sites/{siteRef}/domains/{domainRef}",
      "summary": "Remove a domain mapping from a site. The domain is completely removed and will no longer be mapped to any site. Note that if the DNS for the unmapped domain is unchanged then any subsequent requests to this domain will resolve to a holding page.",
      "parameters": {
        "siteRef": {
          "description": "Map a domain to this site.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },<commit_msg>Get site<commit_after>{
  "operations": {
    "CreateSite": {
      "httpMethod": "POST",
      "uri": "/sites",
      "summary": "Create a new site",
      "parameters": {
        "accountHolderRef": {
          "description": "The reference of the account holder that will own the created site.",
          "location": "json",
          "required": true,
          "type": "integer"
        },
        "activationStatus": {
          "description": "If the site's brand activationURL is set and the site has an inactive activationStatus, clicking the publish button in the editor will result in a redirect to the aforementioned URL.",
          "enum": [
            "active",
            "inactive"
          ],
          "location": "json",
          "required": false,
          "type": "string"
        },
        "brandRef": {
          "description": "The reference of the brand that the site will be owned by. This is the brand reference that has been provided to you.",
          "location": "json",
          "required": true,
          "type": "numeric"
        },
        "domain": {
          "description": "The domain name that will be initially used to access the site. The domain must have DNS mapped to the environment on which the site is being created.",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "templateRef": {
          "description": "Template to use on the site. If not provided, the site will have a default template.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "siteType": {
          "description": "Can be set to 'desktop' or 'responsive'. If you’re unsure of this value, ask your account manager for more information.",
          "location": "json",
          "required": false,
          "type": "string",
          "enum": [
            "desktop",
            "responsive"
          ]
        }
      }
    },
    "UpdateSite": {
      "httpMethod": "PUT",
      "parameters": {
        "activationStatus": {
          "description": "Optionally set for sites on brands that use the brand activationURL.",
          "enum": [
            "active",
            "inactive"
          ],
          "location": "json",
          "required": false,
          "type": "string"
        },
        "databaseReadUser": {
          "description": "The site’s database read username (internal-developer only)",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "databaseSchema": {
          "description": "The name of the site’s database (internal-developer only)",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "databaseWriteUser": {
          "description": "The site’s database write username (internal-developer only)",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "enabled": {
          "description": "Boolean value if the site is enabled or disabled",
          "enum": [
            "0",
            "1"
          ],
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "live": {
          "description": "Boolean value if the site is online or offline.",
          "enum": [
            "0",
            "1"
          ],
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "templateRef": {
          "description": "Ref of the template to be used on the site",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "mobileSiteRef": {
          "description": "Site ref for mobile version of the site.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "mobileThemeRef": {
          "description": "Mobile theme reference if a mobile site.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "primaryUrlRef": {
          "description": "The urlRef must be associated with the site.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "privateWidgets": {
          "description": "Boolean value if the User should have privateWidgets or not. 0 or 1 allowed",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "redirectToPrimary": {
          "description": "Boolean value if the mobile site is offline but you want to redirect back to desktop",
          "enum": [
            "0",
            "1"
          ],
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "siteRef": {
          "description": "Site reference to be updated.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "thumbUrl": {
          "description": "thumbUrl location",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "userRef": {
          "description": "User reference of the owner. This may be used to transfer the site to a different user. The new user must be accessible in the caller’s scope.",
          "location": "json",
          "required": false,
          "type": "integer"
        }
      },
      "summary": "Update Site details. Only updates provided fields.",
      "uri": "/sites/{siteRef}"
    },
    "UpdateSitePage": {
      "httpMethod": "PUT",
      "parameters": {
        "bodyscript": {
          "description": "Body Script",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "colorSwatchRef": {
          "description": "Color Swatch",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "description": {
          "description": "Description of the page",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "displayOrder": {
          "description": "The order in which to display the page",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "folder": {
          "description": "Ref of the folder type page to move the page into. Provide 0 if you want to move the page to root level.",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "fontSwatchRef": {
          "description": "Font Swatch",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "headscript": {
          "description": "Head Script",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "keywords": {
          "description": "Keywords of the page, separated by a comma",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "pageRef": {
          "description": "Page reference to be updated.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "pageUrl": {
          "description": "Page URL",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "siteRef": {
          "description": "Site reference.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "status": {
          "default": "active",
          "description": "Controls the page visibility when publishing a site",
          "enum": [
            "active",
            "draft",
            "inactive"
          ],
          "location": "json",
          "required": true,
          "type": "string"
        },
        "themeRef": {
          "description": "Theme",
          "location": "json",
          "required": false,
          "type": "integer"
        },
        "title": {
          "description": "Title of the page",
          "location": "json",
          "required": false,
          "type": "string"
        },
        "type": {
          "description": "Page type can be one of the following: page,error-page,index,home,error-404,list,single",
          "location": "json",
          "required": false,
          "type": "string"
        }
      },
      "summary": "Update a page of a site",
      "uri": "/sites/{siteRef}/pages/{pageRef}"
    },
    "DeleteSitePage": {
      "httpMethod": "DELETE",
      "parameters": {
        "pageRef": {
          "description": "Page reference to be deleted. If a folder is provided, all child pages will be deleted.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "siteRef": {
          "description": "Site reference.",
          "location": "uri",
          "required": true,
          "type": "integer"
        }
      },
      "summary": "Delete a page or a redirect or a folder from a site",
      "uri": "/sites/{siteRef}/pages/{pageRef}"
    },
    "Updatestaticvaluesforastaticwidget": {
      "httpMethod": "PUT",
      "parameters": {
        "values": {
          "description": "An array of key-value pairs describing the static widget",
          "location": "json",
          "required": true
        },
        "siteRef": {
          "description": "The site whose static widget’s values are to be updated",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "staticWidgetId": {
          "description": "The static widget whose values are to be updated",
          "location": "uri",
          "required": true,
          "type": "string"
        }
      },
      "summary": "Changes the values associated with a site’s static widget",
      "uri": "/sites/{siteRef}/static-values/{staticWidgetId}"
    },
    "MapDomain": {
      "httpMethod": "POST",
      "uri": "/sites/{siteRef}/domains",
      "summary": "Map the specified domain to the site. The site must be accessible by the caller.",
      "parameters": {
        "siteRef": {
          "description": "Map a domain to this site.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
        "domain": {
          "description": "Domain to be mapped to the site, including subdomain e.g. subdomain.domain.tld.",
          "location": "json",
          "required": false,
          "type": "string"
        }
      }
    },
    "UnmapDomain": {
      "httpMethod": "DELETE",
      "uri": "/sites/{siteRef}/domains/{domainRef}",
      "summary": "Remove a domain mapping from a site. The domain is completely removed and will no longer be mapped to any site. Note that if the DNS for the unmapped domain is unchanged then any subsequent requests to this domain will resolve to a holding page.",
      "parameters": {
        "siteRef": {
          "description": "Map a domain to this site.",
          "location": "uri",
          "required": true,
          "type": "integer"
        },
{'fraction_non_alphanumeric': 0.14217416558688173, 'fraction_numerical': 0.001072338143961396, 'mean_word_length': 1.6696087786259541, 'pattern_counts': {'":': 526, '<': 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': '1024884', 'n_tokens_mistral': 5830, 'n_tokens_neox': 5761, 'n_words': 1903}