---
title: "XSLT"
method: GET
path: "/xsl/{name}.xsl"
---

# XSLT

`GET /xsl/{name}.xsl`

## Request

- Base URL: `https://api.coronavirus.data.gov.uk/generic`
- URL: `https://api.coronavirus.data.gov.uk/generic/xsl/{name}.xsl`
- Auth: none declared. Required headers: `Accept`
- TypeScript: <https://skmtc.dev/uk-health-security-agency/apis/generic-api/docs/xsl/:name.xsl/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `name` 'atom' | 'rss', required

## Headers

- `Accept` 'text/xsl', required

## Response `200`

## Other responses

- `400`: Bad request. Reason provided in response body where possible.
- `404`: Not found.
- `429`: Too many requests - request has been throttled.
- `500`: Server error

## Changes

- **2021-08-17** `d337e9406cb2`: 1 breaking, 4 info
  - added the new required `header` request parameter `Accept`
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
  - …1 more

[Operation history](https://skmtc.dev/uk-health-security-agency/apis/generic-api/changes/xsl/:name.xsl/get.md)

---

[API](https://skmtc.dev/uk-health-security-agency/apis/generic-api.md) - [All operations](https://skmtc.dev/uk-health-security-agency/apis/generic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uk-health-security-agency/apis/generic-api/revisions/ac434e5ddc2c?raw)
