PractiTest Discussion Forum

CONTENT_ENCODED field in Practitest Attachment

Hi everyone, can someone please explain under the attachment section in APIs.
What does ’ whatever encoded data here…’ mean? We save ScreenShots as PNG in our repository. what I should add here in Content ENcoded?

{
    "entity": "issue",
    "entity-id": 23232,
    "data": {
        "type": "attachments",
        "files": {
            "data": [
                {
                    "filename": "test_data.csv",
                    "content_encoded": "whatever encoded data here.."
                }
            ]
        }
    }