Differences in the generator prompts

The REST endpoint generator checks to see if the target entity's parent resource is either claims/{claimid}/policy or something under claims/{claimid}/policy. If either is true, and if the entity is not a subtype of RiskUnit, the REST endpoint generator considers the entity to be a "general policy descendant".

For general policy descendant endpoints:

  • The collection is always backed by a Gosu query.
  • The resource is always added to the claim integration graph.

Therefore:

  • There is no prompt to ask whether you want the endpoint to be stream-back or query-backed.
  • There is no prompt asking if you want the entity to be added to an integration graph.

For more information on how the REST endpoint generator handles risk units, see Incidents and risk units: Implementation overview.