diff options
Diffstat (limited to 'support/doc/api')
-rw-r--r-- | support/doc/api/openapi.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index f11bf448f..50c03fb22 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -108,7 +108,7 @@ info: | |||
108 | 108 | ||
109 | This API features [Cross-Origin Resource Sharing (CORS)](https://fetch.spec.whatwg.org/), | 109 | This API features [Cross-Origin Resource Sharing (CORS)](https://fetch.spec.whatwg.org/), |
110 | allowing cross-domain communication from the browser for some routes: | 110 | allowing cross-domain communication from the browser for some routes: |
111 | 111 | ||
112 | | Endpoint | | 112 | | Endpoint | |
113 | |------------------------- ---| | 113 | |------------------------- ---| |
114 | | `/api/*` | | 114 | | `/api/*` | |
@@ -124,7 +124,7 @@ tags: | |||
124 | - name: Register | 124 | - name: Register |
125 | description: | | 125 | description: | |
126 | As a visitor, you can use this API to open an account (if registrations are open on | 126 | As a visitor, you can use this API to open an account (if registrations are open on |
127 | that PeerTube instance). As an admin, you should use the dedicated [User creation | 127 | that PeerTube instance). As an admin, you should use the dedicated [User creation |
128 | API](#operation/addUser) instead. | 128 | API](#operation/addUser) instead. |
129 | - name: Session | 129 | - name: Session |
130 | x-displayName: Login/Logout | 130 | x-displayName: Login/Logout |
@@ -939,7 +939,7 @@ paths: | |||
939 | operationId: verifyUser | 939 | operationId: verifyUser |
940 | description: | | 940 | description: | |
941 | Following a user registration, the new user will receive an email asking to click a link | 941 | Following a user registration, the new user will receive an email asking to click a link |
942 | containing a secret. | 942 | containing a secret. |
943 | tags: | 943 | tags: |
944 | - Users | 944 | - Users |
945 | - Register | 945 | - Register |
@@ -4456,7 +4456,7 @@ components: | |||
4456 | required: true | 4456 | required: true |
4457 | description: The thread id (root comment id) | 4457 | description: The thread id (root comment id) |
4458 | schema: | 4458 | schema: |
4459 | $ref: '#/components/schemas/VideoCommentThreadTree/properties/comment/properties/id' | 4459 | type: integer |
4460 | commentId: | 4460 | commentId: |
4461 | name: commentId | 4461 | name: commentId |
4462 | in: path | 4462 | in: path |
@@ -6235,7 +6235,7 @@ components: | |||
6235 | # optionally present fields: they require WITH_STATS scope | 6235 | # optionally present fields: they require WITH_STATS scope |
6236 | videosCount: | 6236 | videosCount: |
6237 | type: integer | 6237 | type: integer |
6238 | description: Count of videos published | 6238 | description: Count of videos published |
6239 | abusesCount: | 6239 | abusesCount: |
6240 | type: integer | 6240 | type: integer |
6241 | description: Count of reports/abuses of which the user is a target | 6241 | description: Count of reports/abuses of which the user is a target |