diff --git a/exam/api/docs/api.yaml b/exam/api/docs/api.yaml index 50cc4e5..571a6a1 100644 --- a/exam/api/docs/api.yaml +++ b/exam/api/docs/api.yaml @@ -190,7 +190,7 @@ paths: minimum: 0 maximum: 30 default: 10 - description: The number of items to return. + description: Number of items per page, influences returned pages count. responses: 200: description: Success. @@ -291,7 +291,7 @@ paths: minimum: 0 maximum: 30 default: 10 - description: The number of items to return. + description: Number of items per page, influences returned pages count. responses: 200: description: Success. diff --git a/exam/api/docs/index.html b/exam/api/docs/index.html index 5aaccfc..0e93c01 100644 --- a/exam/api/docs/index.html +++ b/exam/api/docs/index.html @@ -430,8 +430,8 @@ data-styled.g137[id="sc-kvXgyf"]{content:"fBvPoH,"}/*!sc*/ " class="sc-euGpHm sc-exayXG fwfkcU kqJXdD sc-dHrNzZ dRdjww">
Success.
{- "pages": 0,
- "data": [
- {
- "id": 0,
- "user": {
- "username": "string",
- "image": "string"
}, - "content": "string",
- "postedAt": {
- "date": "2019-08-24T14:15:22Z",
- "timezone_type": 0,
- "timezone": "string"
}
}
]
}Create a new post.
-| l | integer [ 0 .. 30 ] Default: 10 The number of items to return. +Authorizations:BasicAuth query Parameters
Request Body schema: application/json |
| content required | string |
| id required | integer <int14> Post ID - |
| l | integer [ 0 .. 30 ] Default: 10 The number of items to return. + |
| l | integer [ 0 .. 30 ] Default: 10 Number of items per page, influences returned pages count. |
{- "id": 0,
- "username": "string",
- "status": 0,
- "email": "string",
- "image": "string",
- "isAdmin": true,
- "memberSince": {
- "date": "2019-08-24T14:15:22Z",
- "timezone_type": 0,
- "timezone": "string"
}, - "postCount": 0
}