# Download ContentSitemap



Operation: downloadContentSitemap
GET /sitemaps/content/{page}.xml

Access: anonymous. Automatic retries: none. Redirects: manual. Request body limit: 0 bytes.
Default timeout: 30 seconds. Response limit: 16 MiB. Pagination is opt-in and bounded; an exhausted bound reports incomplete execution.

[HTML reference](/developers/api/downloadContentSitemap) · [Authoritative schemas](/api/openapi.json)

## Wire contract

```json
{
  "operationId": "downloadContentSitemap",
  "summary": "Download ContentSitemap",
  "tags": [
    "discovery"
  ],
  "parameters": [
    {
      "name": "page",
      "in": "path",
      "required": true,
      "schema": {
        "type": "integer",
        "minimum": 1,
        "maximum": 9007199254740991
      }
    }
  ],
  "responses": {
    "200": {
      "description": "Public representation",
      "content": {
        "application/xml": {
          "schema": {
            "type": "string"
          }
        }
      }
    },
    "304": {
      "description": "Not modified; no fresh response body"
    },
    "404": {
      "description": "Requested public resource or format not found"
    }
  }
}
```

## Synthetic examples

### curl

```bash
curl --fail-with-body --max-time 30 --max-filesize 16777216 --request GET 'https://irvinebroque.com/sitemaps/content/1.xml' --header 'Accept: application/xml'
```

### TypeScript

```typescript
import { PublicApi } from '@irvinebroque/public-api';
const api = new PublicApi();
const result = await api.discovery.sitemapContent({
  "page": 1
});
console.log(result.status, result.headers.get('content-type')); // Keep transient capabilities in memory.
```

### CLI

```bash
irvinebroque discovery sitemap-content --page '1'
```
