📝
PetGuru_Gitbook
  • PetGuru API Document
  • User
    • POST User Signup
    • POST User Login
    • POST User Logout
    • GET User Info
    • GET me
    • Put me
    • POST User Mentor Auth
  • Pet
    • POST Pet Register
    • GET Pet Info
    • PUT Pet Edit
    • DELETE Pet Delete
  • Missing Board
    • GET Missing Posts
    • POST Missing Posts
    • PUT Missing Posts
    • DELETE Missing Posts
    • GET Missing Comments
    • POST Missing Comments
    • PUT Missing Comments
    • DELETE Missing Comments
  • Q&A Board
    • GET QNA Question
    • POST QNA Question
    • PUT QNA Question
    • DELETE QNA Question
    • GET QNA Answer
    • POST QNA Answer
    • PUT QNA Answer
    • DELETE QNA Answer
    • GET QNA Thread
    • POST QNA Thread
    • PUT QNA Thread
    • DELETE QNA Thread
Powered by GitBook
On this page

Was this helpful?

  1. Q&A Board

PUT QNA Question

PUT QNA Question

PUT https://api.cakes.com/qna/question/:id/update

This endpoint allows you to update QNA Question

Path Parameters

Name
Type
Description

id

string

Question id you want to edit

Request Body

Name
Type
Description

category

string

category of question

user_id

string

user id

pet_id

string

user's pet id

title

string

title of the question

image_url

string

image in the question

video_url

string

video in the question

text

string

text in the question

hashtag

string

hashtag

{    "message": "success post QNA quesstion"}
{   "message": "Could not find pet/user info"}

POST https://api.cakes.com/qna/question/register

Path Parameters

Name
Type
Description

string

PreviousPOST QNA QuestionNextDELETE QNA Question

Last updated 4 years ago

Was this helpful?