Budget-Web-App / OneBudget-api

1 stars 0 forks source link

Add budget Views endpoint #8

Open michaeldcanady opened 1 year ago

michaeldcanady commented 1 year ago

Describe the proposed endpoint the Budget Views endpoint retrieves the different views for the budget the user has created.

Endpoint URL Suggest a URL path for the new endpoint (e.g., /api/resource/subresource). /budgets/{budget_id}/views /budgets/{budget_id}/views/{view_id}

HTTP Method Specify the HTTP method(s) for the endpoint (e.g., GET, POST, PUT, DELETE). /budgets/{budget_id}/views GET POST /budgets/{budget_id}/views/{view_id} GET PUT DELETE

Request Parameters N/A

Request Body /budgets/{budget_id}/views { name: str parent_categories: List[str] }

Response Structure { id: str name: str parent_categories }

Authentication & Authorization JWT Token

Examples N/A

Additional context N/A