Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint: Add Comments to an Article #19

Open
mgroves opened this issue Jun 28, 2023 · 1 comment
Open

Endpoint: Add Comments to an Article #19

mgroves opened this issue Jun 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mgroves
Copy link
Owner

mgroves commented Jun 28, 2023

POST /api/articles/:slug/comments

Example request body:

{
  "comment": {
    "body": "His name was my name too."
  }
}

Authentication required, returns the created Comment

Required field: body

@mgroves mgroves changed the title Endpoint: Add Cmments to an Article Endpoint: Add Comments to an Article Jun 28, 2023
@mgroves
Copy link
Owner Author

mgroves commented Jun 28, 2023

The spec says "add comments", but I think it's actually "add comment"?

@mgroves mgroves added the enhancement New feature or request label Jun 28, 2023
mgroves added a commit that referenced this issue Sep 22, 2023
mgroves added a commit that referenced this issue Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant