resource

resource (id: ID!, options: GetItemOptions) → Resource

Get a resource by id.

This will retrieve the current resource, meaning that a deleted resource will return a not found error.

For more information, please see Resources.