Fix single protocol metadata endpoint path, remove 500s

pull/977/head
Andrew Morgan 6 years ago
parent 4c38012122
commit e81e0328c2

@ -92,13 +92,6 @@ paths:
}
schema:
type: object
500:
description: There was a problem completing the request.
examples:
application/json: {
}
schema:
type: object
"/rooms/{roomAlias}":
get:
summary: Query if a room alias should exist on the application service.
@ -158,13 +151,6 @@ paths:
}
schema:
type: object
500:
description: There was a problem completing the request.
examples:
application/json: {
}
schema:
type: object
"/users/{userId}":
get:
summary: Query if a user should exist on the application service.
@ -221,14 +207,7 @@ paths:
}
schema:
type: object
500:
description: There was a problem completing the request.
examples:
application/json: {
}
schema:
type: object
"/_matrix/app/unstable/thirdparty/{protocol}":
"/_matrix/app/unstable/thirdparty/protocol/{protocol}":
get:
summary: Retrieve metadata about a specific protocol that the application service supports.
description: |-
@ -305,13 +284,6 @@ paths:
}
schema:
type: object
500:
description: There was a problem completing the request.
examples:
application/json: {
}
schema:
type: object
"/_matrix/app/unstable/thirdparty/user/{protocol}":
get:
summary: Retrieve the Matrix ID of a corresponding third party user.
@ -391,13 +363,6 @@ paths:
}
schema:
type: object
500:
description: There was a problem completing the request.
examples:
application/json: {
}
schema:
type: object
"/_matrix/app/unstable/thirdparty/location/{protocol}":
get:
summary: Retreive Matrix-side portal rooms leading to a third party location.
@ -471,13 +436,6 @@ paths:
}
schema:
type: object
500:
description: There was a problem completing the request.
examples:
application/json: {
}
schema:
type: object
"/_matrix/app/unstable/thirdparty/location":
get:
summary: Reverse-lookup third party locations given a Matrix room alias.
@ -537,13 +495,6 @@ paths:
}
schema:
type: object
500:
description: There was a problem completing the request.
examples:
application/json: {
}
schema:
type: object
"/_matrix/app/unstable/thirdparty/user":
get:
summary: Reverse-lookup third party users given a Matrix ID.
@ -600,10 +551,3 @@ paths:
}
schema:
type: object
500:
description: There was a problem completing the request.
examples:
application/json: {
}
schema:
type: object
Loading…
Cancel
Save