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