Skip to main content

Get Work Graph

Obtain result graph for a work.

info

Available in Contextal Platform 1.0 and later.

Request

  • Path: /api/v1/get_work_graph/{work_id}
  • Verb: GET
note
  1. Set work_id to the value returned by Submit Work Request

Reply

On success:

  • Status: 200 - Ok

  • Content-Type: application/json

  • Body: A JSON object in the form of:

    {
    "object_id": "String",
    "object_type": "String",
    "recursion_level": "Number",
    "size": "Number",
    "hashes": {
    "hash_name_1": "String",
    "hash_name_2": "String",
    },
    "ctime": "Number",
    "result": {
    "error": "String",
    "ok": {
    "symbols": [ "String", "String" ],
    "object_metadata": "Object",
    "children": []
    "relation_metadata": "Object",
    }
    }
    }

On failure:

  • Status: 4xx or 5xx