@ -45,8 +45,7 @@ paths:
description : A list of events
description : A list of events
schema:
schema:
type : object
type : object
example : |-
example : {
{
"events": [
"events": [
{
{
"age": 32 ,
"age": 32 ,
@ -87,8 +86,8 @@ paths:
200 :
200 :
description : The transaction was processed successfully.
description : The transaction was processed successfully.
examples:
examples:
application/json : |-
application/json : {
{ }
}
schema:
schema:
type : object
type : object
@ -117,8 +116,8 @@ paths:
information about the room such as its name and topic can be set
information about the room such as its name and topic can be set
before responding.
before responding.
examples:
examples:
application/json : |-
application/json : {
{ }
}
schema:
schema:
type : object
type : object
401 :
401 :
@ -126,8 +125,7 @@ paths:
The homeserver has not supplied credentials to the application service.
The homeserver has not supplied credentials to the application service.
Optional error information can be included in the body of this response.
Optional error information can be included in the body of this response.
examples:
examples:
application/json : |-
application/json : {
{
"errcode": "COM.EXAMPLE.MYAPPSERVICE_UNAUTHORIZED"
"errcode": "COM.EXAMPLE.MYAPPSERVICE_UNAUTHORIZED"
}
}
schema:
schema:
@ -136,8 +134,7 @@ paths:
description : |-
description : |-
The credentials supplied by the homeserver were rejected.
The credentials supplied by the homeserver were rejected.
examples:
examples:
application/json : |-
application/json : {
{
"errcode": "M_FORBIDDEN"
"errcode": "M_FORBIDDEN"
}
}
schema:
schema:
@ -147,8 +144,7 @@ paths:
The application service indicates that this room alias does not exist.
The application service indicates that this room alias does not exist.
Optional error information can be included in the body of this response.
Optional error information can be included in the body of this response.
examples:
examples:
application/json : |-
application/json : {
{
"errcode": "COM.EXAMPLE.MYAPPSERVICE_NOT_FOUND"
"errcode": "COM.EXAMPLE.MYAPPSERVICE_NOT_FOUND"
}
}
schema:
schema:
@ -175,8 +171,8 @@ paths:
The application service indicates that this user exists. The application
The application service indicates that this user exists. The application
service MUST create the user using the client-server API.
service MUST create the user using the client-server API.
examples:
examples:
application/json : |-
application/json : {
{ }
}
schema:
schema:
type : object
type : object
401 :
401 :
@ -184,8 +180,7 @@ paths:
The homeserver has not supplied credentials to the application service.
The homeserver has not supplied credentials to the application service.
Optional error information can be included in the body of this response.
Optional error information can be included in the body of this response.
examples:
examples:
application/json : |-
application/json : {
{
"errcode": "COM.EXAMPLE.MYAPPSERVICE_UNAUTHORIZED"
"errcode": "COM.EXAMPLE.MYAPPSERVICE_UNAUTHORIZED"
}
}
schema:
schema:
@ -194,8 +189,7 @@ paths:
description : |-
description : |-
The credentials supplied by the homeserver were rejected.
The credentials supplied by the homeserver were rejected.
examples:
examples:
application/json : |-
application/json : {
{
"errcode": "M_FORBIDDEN"
"errcode": "M_FORBIDDEN"
}
}
schema:
schema:
@ -205,8 +199,7 @@ paths:
The application service indicates that this user does not exist.
The application service indicates that this user does not exist.
Optional error information can be included in the body of this response.
Optional error information can be included in the body of this response.
examples:
examples:
application/json : |-
application/json : {
{
"errcode": "COM.EXAMPLE.MYAPPSERVICE_NOT_FOUND"
"errcode": "COM.EXAMPLE.MYAPPSERVICE_NOT_FOUND"
}
}
schema:
schema: