# getWebsiteArticle

One article of a website with its Markdown body; null when there is no such article. Org admins only.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "getWebsiteArticle", "variables": {...} }`
- Scope: `READ`
- Type: query
- Idempotency: a read; rejects `Idempotency-Key`
- Rate-limited: no

## Variables

- `websiteId`: `String!` (required)
- `slug`: `String!` (required)

## Response (data, an example)

```json
{
  "websiteArticlesQuery": {
    "article": {
      "slug": "…",
      "title": "…",
      "description": "…",
      "date": "…",
      "author": "…",
      "cover": "…",
      "body": "…"
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": "getWebsiteArticle",
    "variables": {
      "websiteId": "<String>",
      "slug": "<String>"
    }
  }'
```
