mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 13:04:10 +01:00
Fix missing basePath
This commit is contained in:
parent
ca7487dae7
commit
13cbb1c50e
|
|
@ -20,6 +20,7 @@ host: localhost:8008
|
||||||
schemes:
|
schemes:
|
||||||
- https
|
- https
|
||||||
- http
|
- http
|
||||||
|
basePath: /_matrix
|
||||||
consumes:
|
consumes:
|
||||||
- application/json
|
- application/json
|
||||||
- "*/*"
|
- "*/*"
|
||||||
|
|
@ -29,7 +30,7 @@ produces:
|
||||||
securityDefinitions:
|
securityDefinitions:
|
||||||
$ref: definitions/security.yaml
|
$ref: definitions/security.yaml
|
||||||
paths:
|
paths:
|
||||||
"/_matrix/media/v3/upload":
|
"/media/v3/upload":
|
||||||
post:
|
post:
|
||||||
summary: Upload some content to the content repository.
|
summary: Upload some content to the content repository.
|
||||||
operationId: uploadContent
|
operationId: uploadContent
|
||||||
|
|
@ -100,7 +101,7 @@ paths:
|
||||||
"$ref": "definitions/errors/rate_limited.yaml"
|
"$ref": "definitions/errors/rate_limited.yaml"
|
||||||
tags:
|
tags:
|
||||||
- Media
|
- Media
|
||||||
"/_matrix/media/v3/upload/{serverName}/{mediaId}":
|
"/media/v3/upload/{serverName}/{mediaId}":
|
||||||
put:
|
put:
|
||||||
summary: Upload content to an `mxc://` URI that was created earlier.
|
summary: Upload content to an `mxc://` URI that was created earlier.
|
||||||
description: |-
|
description: |-
|
||||||
|
|
@ -195,7 +196,7 @@ paths:
|
||||||
"$ref": "definitions/errors/rate_limited.yaml"
|
"$ref": "definitions/errors/rate_limited.yaml"
|
||||||
tags:
|
tags:
|
||||||
- Media
|
- Media
|
||||||
"/_matrix/media/v1/create":
|
"/media/v1/create":
|
||||||
post:
|
post:
|
||||||
summary: Create a new `mxc://` URI without uploading the content.
|
summary: Create a new `mxc://` URI without uploading the content.
|
||||||
description: |-
|
description: |-
|
||||||
|
|
@ -263,7 +264,7 @@ paths:
|
||||||
"$ref": "definitions/errors/rate_limited.yaml"
|
"$ref": "definitions/errors/rate_limited.yaml"
|
||||||
tags:
|
tags:
|
||||||
- Media
|
- Media
|
||||||
"/_matrix/media/v3/download/{serverName}/{mediaId}":
|
"/media/v3/download/{serverName}/{mediaId}":
|
||||||
get:
|
get:
|
||||||
summary: "Download content from the content repository."
|
summary: "Download content from the content repository."
|
||||||
operationId: getContent
|
operationId: getContent
|
||||||
|
|
@ -446,7 +447,7 @@ paths:
|
||||||
"$ref": "definitions/errors/error.yaml"
|
"$ref": "definitions/errors/error.yaml"
|
||||||
tags:
|
tags:
|
||||||
- Media
|
- Media
|
||||||
"/_matrix/media/v3/thumbnail/{serverName}/{mediaId}":
|
"/media/v3/thumbnail/{serverName}/{mediaId}":
|
||||||
get:
|
get:
|
||||||
summary: Download a thumbnail of content from the content repository
|
summary: Download a thumbnail of content from the content repository
|
||||||
description: |-
|
description: |-
|
||||||
|
|
@ -578,7 +579,7 @@ paths:
|
||||||
"$ref": "definitions/errors/error.yaml"
|
"$ref": "definitions/errors/error.yaml"
|
||||||
tags:
|
tags:
|
||||||
- Media
|
- Media
|
||||||
"/_matrix/media/v3/preview_url":
|
"/media/v3/preview_url":
|
||||||
get:
|
get:
|
||||||
summary: "Get information about a URL for a client"
|
summary: "Get information about a URL for a client"
|
||||||
description: |-
|
description: |-
|
||||||
|
|
@ -647,7 +648,7 @@ paths:
|
||||||
"$ref": "definitions/errors/rate_limited.yaml"
|
"$ref": "definitions/errors/rate_limited.yaml"
|
||||||
tags:
|
tags:
|
||||||
- Media
|
- Media
|
||||||
"/_matrix/media/v3/config":
|
"/media/v3/config":
|
||||||
get:
|
get:
|
||||||
summary: Get the configuration for the content repository.
|
summary: Get the configuration for the content repository.
|
||||||
description: |-
|
description: |-
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue