# Earned_Popup::rest_recent_awards()

REST: the signed-in member's newest awards after a ledger id, with ready-to-show wording.

```php
rest_recent_awards( WP_REST_Request $request ): WP_REST_Response
```

## Parameters

- `$request` (\WP_REST_Request) Request (`after`: the last ledger id the browser has handled).

## Return

`\WP_REST_Response` `latest_id`, `awards` (oldest first) and `summaries` (one per point type, for combined popups).

## Changelog

| Version | Description |
| --- | --- |
| 1.3.0 | Introduced |
