Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Last updated Sep 1, 2026

ADF node: mediaGroup

Node

Description

The mediaGroup node is a container for several media items. Compare to mediaSingle, which is intended for the display of a single media item in full.

Example

Java

1
2
3
4
5
6
7
8
9
10
11
mediaGroup(
        media()
                .file()
                .id("6e7c7f2c-dd7a-499c-bceb-6f32bfbf30b5")
                .collection("ae730abd-a389-46a7-90eb-c03e75a45bf6"),
        media()
                .file()
                .id(16a23024-6762-4d30-a6ec-298768507fa7")
                .collection("ae730abd-a389-46a7-90eb-c03e75a45bf6")
);

ADF

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  "type": "mediaGroup",
  "content": [
    {
      "type": "media",
      "attrs": {
        "type": "file",
        "id": "6e7c7f2c-dd7a-499c-bceb-6f32bfbf30b5",
        "collection": "ae730abd-a389-46a7-90eb-c03e75a45bf6"
      }
    },
    {
      "type": "media",
      "attrs": {
        "type": "file",
        "id": "16a23024-6762-4d30-a6ec-298768507fa7",
        "collection": "ae730abd-a389-46a7-90eb-c03e75a45bf6"
      }
    }
  ]
}

Result

Screenshot example PM5544 example

Compatibility

Products

ConfluenceJira

Usage

Marks

❌ N/A

Structure

  • type - mediaGroup
  • content - array(media – at least 1

Rate this page: