GET api/Download/GetEmbedLinksById/{id}

Getting the existing embed links

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Media Item ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Result containing a list of embed links

ObjResultOfEmbedLink[]
NameDescriptionTypeAdditional information
Data

Collection of EmbedLink

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "url": "sample string 1",
      "relativePath": "sample string 2",
      "exportPreset": {
        "guid": "dffc2ce2-662c-494b-9d2f-1f52e84ff200",
        "name": "sample string 2",
        "params": {
          "resizing": {
            "outputWidth": 1.1,
            "outputHeight": 2.1,
            "outputSizeInPercents": 3.1,
            "resizeUnit": 0,
            "subSampleOnly": true,
            "dpi": 5
          },
          "watermark": {
            "watermarkGuid": "5b892f13-a92d-46ad-a1a7-e693b1b116de",
            "embedWatermark": {
              "padding": "3, 5, 4, 2",
              "data": "QEA=",
              "scale": true,
              "opacity": 64,
              "position": 3
            }
          },
          "converting": {
            "outputFormatGuid": "ef61f3a0-e331-49c1-919e-9cc20f2a524c",
            "iccProfile": 2,
            "jpeG_Quality": 3
          },
          "metadata": {
            "embeddingMethod": 1,
            "excludeTagSpecGuids": "sample string 2",
            "includeSynonyms": true,
            "flatterKeywords": true,
            "getExcludeTagSpecHashes": {}
          }
        },
        "format": "sample string 3",
        "enabled": true,
        "hasChanged": true,
        "initialParamsHashCode": 6
      },
      "watermark": {
        "padding": "3, 5, 4, 2",
        "data": "QEA=",
        "scale": true,
        "opacity": 64,
        "position": 3
      },
      "fileHash": 3
    },
    {
      "url": "sample string 1",
      "relativePath": "sample string 2",
      "exportPreset": {
        "guid": "dffc2ce2-662c-494b-9d2f-1f52e84ff200",
        "name": "sample string 2",
        "params": {
          "resizing": {
            "outputWidth": 1.1,
            "outputHeight": 2.1,
            "outputSizeInPercents": 3.1,
            "resizeUnit": 0,
            "subSampleOnly": true,
            "dpi": 5
          },
          "watermark": {
            "watermarkGuid": "5b892f13-a92d-46ad-a1a7-e693b1b116de",
            "embedWatermark": {
              "padding": "3, 5, 4, 2",
              "data": "QEA=",
              "scale": true,
              "opacity": 64,
              "position": 3
            }
          },
          "converting": {
            "outputFormatGuid": "ef61f3a0-e331-49c1-919e-9cc20f2a524c",
            "iccProfile": 2,
            "jpeG_Quality": 3
          },
          "metadata": {
            "embeddingMethod": 1,
            "excludeTagSpecGuids": "sample string 2",
            "includeSynonyms": true,
            "flatterKeywords": true,
            "getExcludeTagSpecHashes": {}
          }
        },
        "format": "sample string 3",
        "enabled": true,
        "hasChanged": true,
        "initialParamsHashCode": 6
      },
      "watermark": {
        "padding": "3, 5, 4, 2",
        "data": "QEA=",
        "scale": true,
        "opacity": 64,
        "position": 3
      },
      "fileHash": 3
    }
  ],
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}