Page MenuHomePhabricator

Toolinfo write API
Closed, ResolvedPublic

Description

API endpoints to create and update toolinfo records:

  • POST /api/tools/ - Create a new toolinfo record
  • PUT /api/tools/{id}/ - Update a toolinfo record
  • PATCH /api/tools/{id}/ - Partial update a toolinfo record
  • DELETE /api/tools/{id}/ - Delete toolinfo record

Should a delete actually remove the record or just be a soft deletion?

Event Timeline

bd808 triaged this task as Medium priority.Jan 6 2021, 10:41 PM

Change 657932 had a related patch set uploaded (by BryanDavis; owner: Bryan Davis):
[wikimedia/toolhub@main] api: Create and edit endpoints for toolinfo records

https://gerrit.wikimedia.org/r/657932

Change 657932 merged by jenkins-bot:
[wikimedia/toolhub@main] api: Create and edit endpoints for toolinfo records

https://gerrit.wikimedia.org/r/657932

bd808 moved this task from Backlog to In Progress on the Toolhub board.

The write API is working for all of my local tests, but I'm willing to bet that some things will need tweaking once the UI side is working.