---
title: "Get Mod Contents"
method: GET
path: "/mods/{modId}/contents/"
tags: ["WorldBuilder", "public"]
---

# Get Mod Contents

`GET /mods/{modId}/contents/`

Lists all the contents for a mod.

## Path parameters

- `modId` string, required

## Query parameters

- `limit` number
- `startAfter` string
- `endBefore` string
- `orderBy` object[]
  - `field` string, required — Field to order by. Allows nesting with dot notation, e.g. if a field is nested in an object, use 'object.field'
  - `direction` union, required — Direction to order by, either 'asc' (Ascending) or 'desc' (Descending)
    - 'asc'
    - 'desc'
- `searchBy` object
  - `field` string — Field to search by. Allows nesting with dot notation, e.g. if a field is nested in an object, use 'object.field'
  - `prefix` string — Prefix to search for. NOTE: Prefix searching is case sensitive.
- `filterBy` object

## Headers

- `x-m2-organization-id` string, required
- `x-m2-project-id` string, required

## Response `200`

A list of contents for the requested Mod.

- GetModContentsResponseSchema — A list of contents for the requested Mod.
  - `contents` object[], required
    - `description` string, required
    - `status` union, required
      - 0
      - 1
    - `buildId` string, required
    - `creatorId` string, required
    - `pluginName` string, required
    - `maps` object[], required
      - `name` string, required — Name of the map
      - `longPackageName` string, required — Long package name of the map
      - `description` string, required — Description of the map
      - `pictureUrl` string, required — URL of the map's picture
      - `roles` string[]
    - `files` object[], required
      - `name` string, required
      - `platform` string, required
      - `configuration` string
      - `sizeBytes` number, required
      - `md5hash` string, required
      - `metadata` object, required
      - `type` union
        - 'Pak'
        - 'Manifest'
        - 'LatestOnlyPak'
        - 'PakDependency'
    - `patchType` union
      - 'None'
      - 'BasePatch'
      - 'Patch'
    - `createTimeMillis` number, required
    - `contentId` string, required
    - `contentNumber` number
  - `hasMore` string

---

[API](https://skmtc.net/otherside/apis/world-builder.md) · [All operations](https://skmtc.net/otherside/apis/world-builder/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/otherside/world-builder/revisions/5b916374c3f8/schema)
