Indeed Resource IDs (IRIs)
An Indeed Resource Identifier (IRI) references an entity resolved by OneGraph.
Overview
In GraphQL, the Node interface enables objects to be resolved by their id field through the root-level node query.
Benefits of the Node interface and the node/nodes queries:
- No separate get by ID query needed per entity type
- Simpler detail view queries
- Consistent
idfield for client cache keys
Requirements for the id field:
- Globally unique across all entities (a
JobPostandEmployerRegistrationcannot share the same ID) - Enables the node resolver to infer the object type
To meet these requirements, Indeed developed the Indeed Resource Identifier (IRI).
IRI format
iri://{context}/{entityType}/{internalId}where:
| Variable | Value |
|---|---|
{context} | Host name of the GraphQL endpoint that resolves the object. For external partners, always |
{entityType} | Case-sensitive type name of an entity implementing the For example: |
{internalId} | ID used to retrieve the object from storage. For |