POSTS

(store)

app/controllers/api/posts_controller.ts - store

post/api/posts

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

titlestring
descriptionstring
optionsnumber[]
tagIdnumber

Example request

{
  "title": "Lorem Ipsum",
  "description": "Lorem Ipsum",
  "options": [
    "Lorem Ipsum"
  ],
  "tagId": 706
}

Response

Returns 200 (OK) as application/json

idnumber
titlestring
descriptionstring
totalnumber
createdAtstring
answernumber nullable
isLikedboolean nullable

Changes

No recorded changes to this operation across all 1 revision of this API.