visuals.issueUrl
POST/visuals/{locale}/{slug}/url
Issues a link to a guide's visual page. The link expires after 5 minutes. Needs a key from an account with subscriber access.
Parameters
| Parameter | In | Description |
|---|---|---|
locale | path | Required. vi or en. |
slug | path | Required. Slug of the piece, for example omp-model-routing-guide. |
Request
curl -X POST "https://api.modernengineer.dev/visuals/vi/omp-model-routing-guide/url" \
-H "Authorization: Bearer $SE_KEY"Response
{
"expiresAt": "2026-09-27T10:15:00.000Z",
"url": "https://signed-link.invalid/…"
}Errors
| Status | Error | When |
|---|---|---|
| 401 | unauthenticated | The API key is missing or invalid. Comes with a WWW-Authenticate header. |
| 403 | forbidden | The key's account has no subscriber access. |
| 400 | invalid_input | A parameter is missing or invalid, for example a locale other than vi or en. |
| 404 | not_found | No guide has this slug, or the guide has no visual. |
| 429 | too_many_requests | More than 50 download and visual links in 24 hours for this account. |