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

Implement server for the REST API #11

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft

Implement server for the REST API #11

wants to merge 31 commits into from

Conversation

memowe
Copy link
Contributor

@memowe memowe commented Sep 12, 2023

Closes #10.

  • Simple "Hello world" example with API and server separation and tests

API implementation:

  • GET /person
    • List persons
  • GET /person/:id
    • Person including assigned tasks (including assignees)
  • POST /person
    • Person creation, returns the person data including ID
    • Req: {"name": "Bar Baz", "email": "[email protected]"}
    • Res: {"pid": 42}
  • GET /task
    • List of top-level tasks (including assignees)
  • GET /task/tree
    • Full task forest
  • GET /task/:tid
    • Details of task including subforest
  • POST /task
    • Top-level task creation, returns the task data including TID
  • POST /task/:tid
    • Subtask creation, returns the task data including TID

@memowe memowe self-assigned this Sep 12, 2023
@memowe memowe force-pushed the basic-webservice branch 2 times, most recently from f3a2ab4 to 175f519 Compare September 13, 2023 14:00
@memowe memowe force-pushed the basic-webservice branch 3 times, most recently from 12cc7b7 to bf8c939 Compare October 31, 2023 19:43
@memowe memowe force-pushed the main branch 5 times, most recently from ede5f57 to 07af13a Compare November 16, 2023 09:27
@memowe memowe force-pushed the basic-webservice branch 2 times, most recently from a8e024c to 021cdd0 Compare February 16, 2024 13:38
@memowe memowe mentioned this pull request Feb 28, 2024
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.

API definition
1 participant