diff --git a/exam/api/docs/api.yaml b/exam/api/docs/api.yaml index 7003808..9b9af57 100644 --- a/exam/api/docs/api.yaml +++ b/exam/api/docs/api.yaml @@ -124,7 +124,7 @@ paths: [ { "id": 0, - "user": { "username": "string" }, + "user": { "username": "string", "image": "string" }, "content": "string", "postedAt": { diff --git a/exam/api/docs/index.html b/exam/api/docs/index.html index b47c4d3..55f8f01 100644 --- a/exam/api/docs/index.html +++ b/exam/api/docs/index.html @@ -428,7 +428,7 @@ data-styled.g137[id="sc-kvXgyf"]{content:"fBvPoH,"}/*!sc*/ " class="sc-euGpHm sc-exayXG fwfkcU jYGAQp">
The number of items to return.
{- "pages": 0,
- "data": [
- {
- "id": 0,
- "user": {
- "username": "string"
}, - "content": "string",
- "postedAt": {
- "date": "2019-08-24T14:15:22Z",
- "timezone_type": 0,
- "timezone": "string"
}
}
]
}{- "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.
| content required | string |
{- "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
}