Relationships in Snyk REST API

For some endpoints the schema includes relationships. The following example is for GET /orgs/{org_id}/targets (Get targets by org ID):

relationships: {
org: {
data*: {
id*: uuid
type*: string

This is defined as “Type of the related resource.”

Relationships describe what a given resource is related to in the API. For example, a project might relate to its target.

See relationships in the JSON:API specification for an explanation of the structure.

Last updated

More information

Snyk privacy policy

© 2023 Snyk Limited | All product and company names and logos are trademarks of their respective owners.