You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.6 KiB
YAML
47 lines
1.6 KiB
YAML
6 years ago
|
# Copyright 2018 New Vector Ltd
|
||
|
#
|
||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
# you may not use this file except in compliance with the License.
|
||
|
# You may obtain a copy of the License at
|
||
|
#
|
||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||
|
#
|
||
|
# Unless required by applicable law or agreed to in writing, software
|
||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
# See the License for the specific language governing permissions and
|
||
|
# limitations under the License.
|
||
|
swagger: '2.0'
|
||
|
info:
|
||
6 years ago
|
title: "Matrix Client-Server Server Discovery API"
|
||
6 years ago
|
version: "1.0.0"
|
||
|
host: localhost:8008
|
||
|
schemes:
|
||
|
- https
|
||
|
basePath: /.well-known
|
||
|
produces:
|
||
|
- application/json
|
||
|
paths:
|
||
|
"/matrix/client":
|
||
|
get:
|
||
|
summary: Gets Matrix server discovery information about the domain.
|
||
|
description: |-
|
||
6 years ago
|
Gets discovery information about the domain. The file may include
|
||
6 years ago
|
additional keys, which MUST follow the Java package naming convention,
|
||
6 years ago
|
e.g. ``com.example.myapp.property``. This ensures property names are
|
||
|
suitably namespaced for each application and reduces the risk of
|
||
|
clashes.
|
||
|
|
||
6 years ago
|
Note that this endpoint is not necessarily handled by the homeserver,
|
||
|
but by another webserver, to be used for discovering the homeserver URL.
|
||
6 years ago
|
operationId: getWellknown
|
||
|
responses:
|
||
|
200:
|
||
6 years ago
|
description: Server discovery information.
|
||
6 years ago
|
schema:
|
||
5 years ago
|
"$ref": "definitions/wellknown/full.yaml"
|
||
6 years ago
|
404:
|
||
6 years ago
|
description: No server discovery information available.
|
||
6 years ago
|
tags:
|
||
|
- Server administration
|