> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stopmodreposts.org/llms.txt
> Use this file to discover all available pages before exploring further.

# YAML

> Get all sites on the StopModReposts blocklist in the YAML format.

<Info>
  You can find a full overview of game blocklists [here](https://github.com/StopModReposts/Illegal-Mod-Sites/tree/master/lists). To requests sites from the `minecraft.yml` list, use `minecraft` as the game identifier.
</Info>


## OpenAPI

````yaml GET /{game}/sites.yaml
openapi: 3.0.3
info:
  title: StopModReposts Sites API
  description: >-
    API for retrieving lists of websites that redistribute mods illegally.
    Supports multiple formats including JSON, XML, YAML, and various blocklist
    formats.
  version: 1.0.0
  contact:
    name: StopModReposts
    url: https://stopmodreposts.org
servers:
  - url: https://api.stopmodreposts.org
    description: Production server
security: []
paths:
  /{game}/sites.yaml:
    get:
      summary: Get sites for a specific game (YAML)
      parameters:
        - $ref: '#/components/parameters/game'
      responses:
        '200':
          description: YAML formatted site list
          content:
            text/yaml:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Site'
components:
  parameters:
    game:
      name: game
      in: path
      required: true
      description: The identifier of the game (e.g., 'minecraft')
      schema:
        type: string
  schemas:
    Site:
      type: object
      properties:
        domain:
          type: string
          example: example.com
        notes:
          type: string
          description: Additional information. '/' indicates no notes.
          example: /
        path:
          type: string
          description: Specific path on the domain to be blocked.
          example: /
        reason:
          type: string
          example: Illegal redistribution

````