Update whoami endpoint
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
9cf2b59f4e
commit
41db12713d
1 changed files with 2 additions and 5 deletions
|
@ -13,15 +13,13 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
swagger: '2.0'
|
swagger: '2.0'
|
||||||
info:
|
info:
|
||||||
title: "Matrix Client-Server Client Config API"
|
title: "Matrix Client-Server Account Identification API"
|
||||||
version: "1.0.0"
|
version: "1.0.0"
|
||||||
host: localhost:8008
|
host: localhost:8008
|
||||||
schemes:
|
schemes:
|
||||||
- https
|
- https
|
||||||
- http
|
- http
|
||||||
basePath: /_matrix/client/%CLIENT_MAJOR_VERSION%
|
basePath: /_matrix/client/%CLIENT_MAJOR_VERSION%
|
||||||
consumes:
|
|
||||||
- application/json
|
|
||||||
produces:
|
produces:
|
||||||
- application/json
|
- application/json
|
||||||
securityDefinitions:
|
securityDefinitions:
|
||||||
|
@ -31,8 +29,7 @@ paths:
|
||||||
get:
|
get:
|
||||||
summary: Gets information about the owner of an access token.
|
summary: Gets information about the owner of an access token.
|
||||||
description: |-
|
description: |-
|
||||||
Gets information about the owner of a given access token. Currently this
|
Gets information about the owner of a given access token.
|
||||||
only supports returning the user id that owns the token.
|
|
||||||
security:
|
security:
|
||||||
- accessToken: []
|
- accessToken: []
|
||||||
parameters: []
|
parameters: []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue