---
title: "Fetches modules from a given repository"
method: GET
path: "/api/codify/repos/modules"
tags: ["Codification"]
---

# Fetches modules from a given repository

`GET /api/codify/repos/modules`

Fetches modules available in a repository

## Query parameters

- `repository` string, required
- `resourceTypes` string[], required

## Response `200`

Successfully fetched modules

- object[]
  - `moduleSourceType` string — Whether the source code from this repository is private or public
  - `moduleName` string — The name of the module
  - `moduleFullPathMD5` string — The MD5 hash of the module path
  - `moduleResourceTypes` string[]
  - `missingAssetTypes` boolean — Whether the module is missing asset types given the input resourceTypes

## Other responses

- `400` — Bad Request Error
- `401` — Unauthorized Error
- `403` — Insufficient permissions
- `500` — Internal Server Error

---

[API](https://skmtc.net/firefly/apis/api-gateway.md) · [All operations](https://skmtc.net/firefly/apis/api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/firefly/api-gateway/revisions/eea119b4113f/schema)
