List external dependencies

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

List external dependencies uploaded to the Atlas App Services App.

Path parameters

Responses

  • 200 application/json

    The function was successfully retrieved.

    Hide response attributes Show response attributes object
    • _id string

      The dependency collection's unique internal ID.

    • location string

      The application's deployment region.

    • user_id string

      The unique _id value of the MongoDB Cloud user that uploaded the dependency collection.

    • last_modified integer

      The time at which the dependencies were uploaded in Unix time (number of seconds since January 1, 1970 at 00:00 UTC).

    • dependencies_list array[object]

      An array of documents that each describe a dependency uploaded to the application.

      Hide dependencies_list attributes Show dependencies_list attributes object
      • name string

        The name of the uploaded dependency.

      • version string

        The version of the uploaded dependency.

GET /groups/{groupId}/apps/{appId}/dependencies
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/dependencies' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "_id": "string",
  "location": "string",
  "user_id": "string",
  "last_modified": 42,
  "dependencies_list": [
    {
      "name": "string",
      "version": "string"
    }
  ]
}