← Back to IO domain

IO.resolveBlob

Return UUID of Blob object specified by a remote object id.

Domain: IO stable

Parameters

NameTypeDescription
objectIdRuntime.RemoteObjectIdObject id of a Blob object wrapper.

Returns

NameTypeDescription
uuidstringUUID of the specified Blob.

Example Request

{
  "id": 1,
  "method": "IO.resolveBlob",
  "params": {
    "objectId": "{\"injectedScriptId\":1,\"id\":1}"
  }
}

Example Response

{
  "id": 1,
  "result": {
    "uuid": "uuid-value"
  }
}

Usage in Node.js

const result = await send('IO.resolveBlob', {"objectId": "{\"injectedScriptId\":1,\"id\":1}"});
console.log(result);
// {"uuid": "uuid-value"}