List schemas

GET /groups/{groupId}/apps/{appId}/schemas

List all defined schemas.

Path parameters

Responses

  • 200 application/json

    Ok

    Hide response attributes Show response attributes object
    • _id string Required
    • metadata object Required

      Metadata that describes which linked collection the schema applies to.

      Hide metadata attributes Show metadata attributes object
      • data_source string

        The data source name.

      • database string

        The database name.

      • collection string

        The collection name.

GET /groups/{groupId}/apps/{appId}/schemas
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/schemas' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "_id": "string",
    "metadata": {
      "data_source": "string",
      "database": "string",
      "collection": "string"
    }
  }
]