---
title: "List all hosted assets"
method: GET
path: "/groups/{groupId}/apps/{appId}/hosting/assets"
tags: ["hosting"]
---

# List all hosted assets

`GET /groups/{groupId}/apps/{appId}/hosting/assets`

## Response `200`

Successfully listed hosted files.

- HostedAssetMetadata[]
  - `appId` string — The unique App ID of the Atlas App Services App that is hosting the file.
  - `last_modified` integer — The time at which the hosted asset was last modified in [Unix time](https://en.wikipedia.org/wiki/Unix_time) (number of seconds since January 1, 1970 at 00:00 UTC).
  - `url` string — The full URL of the hosted asset.
  - `path` string — The resource path of the hosted asset
  - `size` integer — The size of the hosted asset in bytes
  - `attrs` MetadataAttribute[] — An array of documents that each describe a [metadata attribute](https://www.mongodb.com/docs/atlas/app-services/hosting/file-metadata-attributes) that applies to the asset.
    - `name` string — The [metadata attribute](https://www.mongodb.com/docs/atlas/app-services/hosting/file-metadata-attributes) name.
    - `value` string — The [metadata attribute](https://www.mongodb.com/docs/atlas/app-services/hosting/file-metadata-attributes) value.
  - `hash` string — The MD5 checksum hash for the hosted asset

---

[API](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api.md) · [All operations](https://skmtc.net/mongodb/apis/mongodb-atlas-app-services-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mongodb/mongodb-atlas-app-services-admin-api/revisions/1365ab72bc03/schema)
