Skip to content

Adding comment creation via API#11

Open
Xe wants to merge 1 commit intomasterfrom
comment-creation-editing
Open

Adding comment creation via API#11
Xe wants to merge 1 commit intomasterfrom
comment-creation-editing

Conversation

@Xe
Copy link
Copy Markdown
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