# `AshJsonApi.Resource`
[🔗](https://github.com/ash-project/ash_json_api/blob/v1.6.4/lib/ash_json_api/resource/resource.ex#L5)

The entrypoint for adding JSON:API behavior to a resource"

# `base_route`

> This function is deprecated. See AshJsonApi.Resource.Info.base_route/1.

# `encode_primary_key`

# `includes`

> This function is deprecated. See AshJsonApi.Resource.Info.includes/1.

# `install`

# `json_api`
*macro* 

# `only_primary_key?`

# `primary_key_delimiter`

> This function is deprecated. See AshJsonApi.Resource.Info.primary_key_delimiter/1.

# `primary_key_fields`

> This function is deprecated. See AshJsonApi.Resource.Info.primary_key_fields/1.

# `route`

# `routes`

> This function is deprecated. See AshJsonApi.Resource.Info.routes/1.

# `type`

> This function is deprecated. See AshJsonApi.Resource.Info.type/1.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
