Hello,
I want to copy paste the description of an issue into another ticket system in my company. That includes screenshots in the description.
The ADF format returns the following object if there are screenshots in the text:
"description": {
"type": "doc",
"version": 1,
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "this is a test "
}
]
},
{
"type": "mediaSingle",
"attrs": {
"layout": "align-start"
},
"content": [
{
"type": "media",
"attrs": {
"type": "file",
"id": "76481dc1-acca-4e90-be7b-096124d1e54d",
"collection": ""
}
}
]
}
]
},
In the documentation of the document format, Atlassian states:
id
is the Media Services ID and is used for querying the media services API to retrieve metadata, such as, filename. Consumers of the document should always fetch fresh metadata using the Media API.
However, there is nothing to be found about this “Media API”.
Can someone tell me if there is a way to download an image with only the Media ID?