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

Adding comment creation via API #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Xe
Copy link
Member

@Xe Xe commented Jul 20, 2020

Before you begin

  • I understand my contributions may be rejected for any reason
  • I understand my contributions are for the benefit of the Philomena software
  • I understand my contributions are licensed under the GNU AGPLv3
  • I understand all of the above

This tracks this philomena-dev branch which offers the following routes (given as a RFC 6570 URL template):

route why needs
POST /api/v1/json/images/{image_id}/comments Posts new comments to a given image ?key={your_api_key} and {"comment": {"body": "textile markup", "anonymous": true/false}} as the body

This also announces new comments to the Firehose API like they would be if they were made using the web UI.

@Xe Xe self-assigned this Jul 20, 2020
@Xe Xe changed the title Adding comment index view, comment creation, and comment editing Adding comment creation Jul 20, 2020
@Xe Xe changed the title Adding comment creation Adding comment creation/updating Jul 20, 2020
@Xe Xe changed the title Adding comment creation/updating Adding comment creation Jul 20, 2020
@Xe Xe changed the title Adding comment creation Adding comment creation via API Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants