Get one subject from a run's snapshot
GET
/api/v1/watches/{watchId}/runs/{runId}/subjects/{source}/{entityId}
const url = 'http://localhost:11044/api/v1/watches/example/runs/example/subjects/example/example';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:11044/api/v1/watches/example/runs/example/subjects/example/example \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”watchId
required
string
The watch that owns the run
runId
required
string
The run whose snapshot holds the subject
source
required
string
The subject’s source system, taken from the href the snapshot itself emitted; “world” is the local graph
entityId
required
string
The subject’s id within that source, taken from the same href
Responses
Section titled “Responses”OK
Media typeapplication/json
object
Example generated
{}
