Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion admin-api/authentication.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ title: Authentication
description: Integrate securely with the Admin API using account-level admin API
keys transmitted in the `X-API-KEY` header.
og:description: Integrate securely with the Trophy Admin API using account-level
admin API keys transmitted in the `X-API-KEY` header.
admin API keys transmitted in the `X-API-KEY`
header.
icon: key
---

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create application API keys for users
openapi: "/openapi/admin.json POST /application-api-keys"
openapi: /openapi/admin.json POST /application-api-keys
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete application API keys
openapi: "/openapi/admin.json DELETE /application-api-keys"
openapi: /openapi/admin.json DELETE /application-api-keys
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/attributes/create-attributes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create attributes
openapi: "/openapi/admin.json POST /attributes"
openapi: /openapi/admin.json POST /attributes

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OpenAPI lines diverge across locales

Medium Severity

The commit reformats English openapi: frontmatter from quoted strings to unquoted scalars on many documentation pages. Corresponding Spanish (es/) files were not updated, retaining the original quoted format. This creates content drift, as openapi: lines must be byte-identical across locales and localization tools do not propagate such structural changes.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit a953d3e. Configure here.

---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/attributes/delete-attributes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete attributes
openapi: "/openapi/admin.json DELETE /attributes"
openapi: /openapi/admin.json DELETE /attributes
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/attributes/get-an-attribute.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get an attribute
openapi: "/openapi/admin.json GET /attributes/{id}"
openapi: /openapi/admin.json GET /attributes/{id}
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/attributes/list-attributes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: List attributes
openapi: "/openapi/admin.json GET /attributes"
openapi: /openapi/admin.json GET /attributes
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/attributes/update-attributes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Update attributes
openapi: "/openapi/admin.json PATCH /attributes"
openapi: /openapi/admin.json PATCH /attributes
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Submit a batch of metric events
openapi: "/openapi/admin.json POST /metrics/events"
openapi: /openapi/admin.json POST /metrics/events
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/leaderboards/create-leaderboards.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create leaderboards
openapi: "/openapi/admin.json POST /leaderboards"
openapi: /openapi/admin.json POST /leaderboards
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/leaderboards/delete-leaderboards.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete leaderboards
openapi: "/openapi/admin.json DELETE /leaderboards"
openapi: /openapi/admin.json DELETE /leaderboards
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/leaderboards/get-a-leaderboard.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get a leaderboard
openapi: "/openapi/admin.json GET /leaderboards/{id}"
openapi: /openapi/admin.json GET /leaderboards/{id}
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/leaderboards/list-leaderboards.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: List leaderboards
openapi: "/openapi/admin.json GET /leaderboards"
openapi: /openapi/admin.json GET /leaderboards
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/leaderboards/update-leaderboards.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Update leaderboards
openapi: "/openapi/admin.json PATCH /leaderboards"
openapi: /openapi/admin.json PATCH /leaderboards
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/metrics/create-metrics.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create metrics
openapi: "/openapi/admin.json POST /metrics"
openapi: /openapi/admin.json POST /metrics
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/metrics/delete-metrics.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete metrics
openapi: "/openapi/admin.json DELETE /metrics"
openapi: /openapi/admin.json DELETE /metrics
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/metrics/get-a-metric.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get a metric by ID
openapi: "/openapi/admin.json GET /metrics/{id}"
openapi: /openapi/admin.json GET /metrics/{id}
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/metrics/list-metrics.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: List metrics
openapi: "/openapi/admin.json GET /metrics"
openapi: /openapi/admin.json GET /metrics
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/metrics/update-metrics.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Update metrics
openapi: "/openapi/admin.json PATCH /metrics"
openapi: /openapi/admin.json PATCH /metrics
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/create-boosts.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create points boosts
openapi: "/openapi/admin.json POST /points/{systemId}/boosts"
openapi: /openapi/admin.json POST /points/{systemId}/boosts
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/create-levels.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create points levels
openapi: "/openapi/admin.json POST /points/{systemId}/levels"
openapi: /openapi/admin.json POST /points/{systemId}/levels
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/create-points-systems.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create points systems
openapi: "/openapi/admin.json POST /points"
openapi: /openapi/admin.json POST /points
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/create-points-triggers.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create points triggers
openapi: "/openapi/admin.json POST /points/{systemId}/triggers"
openapi: /openapi/admin.json POST /points/{systemId}/triggers
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/delete-boosts.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete multiple points boosts
openapi: "/openapi/admin.json DELETE /points/{systemId}/boosts"
openapi: /openapi/admin.json DELETE /points/{systemId}/boosts
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/delete-levels.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete multiple points levels
openapi: "/openapi/admin.json DELETE /points/{systemId}/levels"
openapi: /openapi/admin.json DELETE /points/{systemId}/levels
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/delete-points-systems.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete points systems
openapi: "/openapi/admin.json DELETE /points"
openapi: /openapi/admin.json DELETE /points
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/delete-points-triggers.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete points triggers
openapi: "/openapi/admin.json DELETE /points/{systemId}/triggers"
openapi: /openapi/admin.json DELETE /points/{systemId}/triggers
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/get-a-boost.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get a points boost by ID
openapi: "/openapi/admin.json GET /points/{systemId}/boosts/{id}"
openapi: /openapi/admin.json GET /points/{systemId}/boosts/{id}
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/get-a-level.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get a points level by ID
openapi: "/openapi/admin.json GET /points/{systemId}/levels/{id}"
openapi: /openapi/admin.json GET /points/{systemId}/levels/{id}
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/get-a-points-system.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get a points system by ID
openapi: "/openapi/admin.json GET /points/{id}"
openapi: /openapi/admin.json GET /points/{id}
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/get-a-points-trigger.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get a points trigger by ID
openapi: "/openapi/admin.json GET /points/{systemId}/triggers/{id}"
openapi: /openapi/admin.json GET /points/{systemId}/triggers/{id}
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/list-boosts.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: List points boosts
openapi: "/openapi/admin.json GET /points/{systemId}/boosts"
openapi: /openapi/admin.json GET /points/{systemId}/boosts
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/list-levels.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: List points levels
openapi: "/openapi/admin.json GET /points/{systemId}/levels"
openapi: /openapi/admin.json GET /points/{systemId}/levels
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/list-points-systems.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: List points systems
openapi: "/openapi/admin.json GET /points"
openapi: /openapi/admin.json GET /points
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/list-points-triggers.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: List points triggers
openapi: "/openapi/admin.json GET /points/{systemId}/triggers"
openapi: /openapi/admin.json GET /points/{systemId}/triggers
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/update-boosts.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Update multiple points boosts
openapi: "/openapi/admin.json PATCH /points/{systemId}/boosts"
openapi: /openapi/admin.json PATCH /points/{systemId}/boosts
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/update-levels.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Update multiple points levels
openapi: "/openapi/admin.json PATCH /points/{systemId}/levels"
openapi: /openapi/admin.json PATCH /points/{systemId}/levels
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/update-points-systems.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Update points systems
openapi: "/openapi/admin.json PATCH /points"
openapi: /openapi/admin.json PATCH /points
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/points/update-points-triggers.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Update points triggers
openapi: "/openapi/admin.json PATCH /points/{systemId}/triggers"
openapi: /openapi/admin.json PATCH /points/{systemId}/triggers
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/streaks/grant-freezes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create streak freezes for multiple users
openapi: "/openapi/admin.json POST /streaks/freezes"
openapi: /openapi/admin.json POST /streaks/freezes
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/streaks/restore-streaks.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Restore streaks for multiple users
openapi: "/openapi/admin.json POST /streaks/restore"
openapi: /openapi/admin.json POST /streaks/restore
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/tenants/create-tenants.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Create tenants
openapi: "/openapi/admin.json POST /tenants"
openapi: /openapi/admin.json POST /tenants
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/tenants/delete-tenants.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Delete tenants
openapi: "/openapi/admin.json DELETE /tenants"
openapi: /openapi/admin.json DELETE /tenants
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/tenants/get-a-tenant.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get a tenant
openapi: "/openapi/admin.json GET /tenants/{id}"
openapi: /openapi/admin.json GET /tenants/{id}
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/tenants/list-tenants.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: List tenants
openapi: "/openapi/admin.json GET /tenants"
openapi: /openapi/admin.json GET /tenants
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
2 changes: 1 addition & 1 deletion admin-api/endpoints/tenants/update-tenants.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Update tenants
openapi: "/openapi/admin.json PATCH /tenants"
openapi: /openapi/admin.json PATCH /tenants
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
6 changes: 4 additions & 2 deletions api-reference/authentication.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
title: Authentication
description: Authenticate with the Application API using user-scoped application
API keys transmitted in the `X-API-KEY` header.
API keys transmitted in the `X-API-KEY`
header.
og:description: Authenticate with the Trophy Application API using user-scoped
application API keys transmitted in the `X-API-KEY` header.
application API keys transmitted in the
`X-API-KEY` header.
icon: key
---

Expand Down
2 changes: 1 addition & 1 deletion api-reference/endpoints/achievements/all-achievements.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Get all achievements and their completion stats
openapi: "/openapi/application.json GET /achievements"
openapi: /openapi/application.json GET /achievements
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Mark an achievement as completed
openapi: "/openapi/application.json POST /achievements/{key}/complete"
openapi: /openapi/application.json POST /achievements/{key}/complete
---

import { RateLimitBadge } from "../../../components/rate-limit-badge.jsx";
Expand Down
Loading