Budget-Web-App / OneBudget-api

1 stars 0 forks source link

[New Query Parameter] Add Select Query parameter #11

Closed michaeldcanady closed 1 year ago

michaeldcanady commented 1 year ago

API Endpoint: To all endpoints

Query Parameter Name: Select

Description: Select allows the user to select which properties they want from the returned object(s)

Example:

/beta/budgets?select=name,id
{
"id": "str"
"name": "str"
}

Validation Criteria: Only allow values that are in the returned model.

Potential Impact: It will increase performance since users can be more selective with the data they receive

Additional Context: N/A