# HAL API Platform supports the [HAL](https://stateless.group/hal_specification.html) format. When a client sends a request with an `Accept: application/hal+json` header, API Platform serializes responses following the HAL specification. For details on enabling formats, see [content negotiation](content-negotiation.md). ## Entrypoint Links The HAL entrypoint (`GET /api/` with `Accept: application/hal+json`) lists the resources of your API as links. For each resource, it exposes the URI of its collection under a relation named after the short name of the resource. Since API Platform 5.1, it also exposes an [URI template](https://datatracker.ietf.org/doc/html/draft-kelly-json-hal#section-5.2) to reach one item of the resource. The link has the same relation as the collection with an `Item` suffix, and is flagged as `templated`: ```json { "_links": { "self": { "href": "/api/" }, "dummy": { "href": "/api/dummies" }, "dummyItem": { "href": "/api/dummies/{id}", "templated": true } } } ``` A HAL client expands the template with the identifier of the item. For example, with [Traverson](https://github.com/traverson/traverson): ```javascript traverson .from("https://example.com/api/") .jsonHal() .follow("dummyItem") .withTemplateParameters({ id: 1 }) .getResource(callback); ``` The template comes from the `Get` operation of the resource that has the fewest URI variables, so a resource without such an operation has no `Item` link. Define the `uriTemplate` of this operation to customize it. See [operations](operations.md).