Stegadography

Get widgets from an image

Extracts watermarks from a PNG image and returns the cached widget data associated with each watermark found. The image must be uploaded as a multipart/form-data request with the file in the image field. Only widgets belonging to the authenticated organization are returned.

post/api/v2/stegadography/get-widgets

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/stegadography/get-widgets
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Request body multipart/form-data

imagestring binary required

PNG image file to scan for embedded watermarks.

Example request

{
  "image": "screenshot.png"
}

Response

OK

Example response

{
  "data": [
    {
      "attributes": {
        "locationx": 100,
        "locationy": 200,
        "rawData": "{\"widgetType\":\"timeseries\",\"requests\":[]}",
        "watermark": "0123456789abcdef"
      },
      "id": "abc123:0123456789abcdef",
      "type": "widget"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.