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.

Responses

Response samples

Content type
application/json
Example
{
  • "pages": 0,
  • "data": [
    ]
}

New post

Response samples

Content type
application/json
Example
{
  • "pages": 0,
  • "data": [
    ]
}

New post

Create a new post.

Authorizations:
BasicAuth
Request Body schema: application/json
required
content
required
string

Responses

Response samples

Content type
application/json
{
  • "id": 0,
  • "username": "string",
  • "status": 0,
  • "email": "string",
  • "image": "string",
  • "isAdmin": true,
  • "memberSince": {
    },
  • "postCount": 0
}