🩹(doc) fix wrong endpoint path

Applications to application in the application/token endpoint.
Spotted by external contributor.
This commit is contained in:
lebaudantoine
2025-10-22 05:01:41 +02:00
committed by aleb_the_flash
parent 59d4c2583b
commit 06a5b9b17e

View File

@@ -7,7 +7,7 @@ info:
#### Authentication Flow #### Authentication Flow
1. Exchange application credentials for a JWT token via `/external-api/v1.0/applications/token`. 1. Exchange application credentials for a JWT token via `/external-api/v1.0/application/token`.
2. Use the JWT token in the `Authorization: Bearer <token>` header for all subsequent requests. 2. Use the JWT token in the `Authorization: Bearer <token>` header for all subsequent requests.
3. Tokens are scoped and allow applications to act on behalf of specific users. 3. Tokens are scoped and allow applications to act on behalf of specific users.
@@ -40,7 +40,7 @@ tags:
description: Room management operations description: Room management operations
paths: paths:
/applications/token: /application/token:
post: post:
tags: tags:
- Authentication - Authentication
@@ -283,7 +283,7 @@ components:
scheme: bearer scheme: bearer
bearerFormat: JWT bearerFormat: JWT
description: | description: |
JWT token obtained from the `/applications/token` endpoint. JWT token obtained from the `/application/token` endpoint.
Include in requests as: `Authorization: Bearer <token>` Include in requests as: `Authorization: Bearer <token>`
schemas: schemas: