Title: Throw bad request when using invalid filters · Issue #98 · HawAPI/HawAPI · GitHub
Open Graph Title: Throw bad request when using invalid filters · Issue #98 · HawAPI/HawAPI
X Title: Throw bad request when using invalid filters · Issue #98 · HawAPI/HawAPI
Description: Description Currently any unknown param filter will be ignored. Proposal Return Bad Request (400) on request with invalid or unknown param E.g: /api/v1/actors?unknown=Hello // Bad Request (400) /api/v1/actors?first_name=Lorem // Ok (200)
Open Graph Description: Description Currently any unknown param filter will be ignored. Proposal Return Bad Request (400) on request with invalid or unknown param E.g: /api/v1/actors?unknown=Hello // Bad Request (400) /ap...
X Description: Description Currently any unknown param filter will be ignored. Proposal Return Bad Request (400) on request with invalid or unknown param E.g: /api/v1/actors?unknown=Hello // Bad Request (400) /ap...
Opengraph URL: https://github.com/HawAPI/HawAPI/issues/98
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Throw bad request when using invalid filters","articleBody":"### Description\r\n\r\nCurrently any unknown param filter will be ignored.\r\n\r\n### Proposal\r\n\r\nReturn `Bad Request (400)` on request with invalid or unknown param\r\n\r\nE.g:\r\n```\r\n/api/v1/actors?unknown=Hello // Bad Request (400)\r\n```\r\n\r\n```\r\n/api/v1/actors?first_name=Lorem // Ok (200)\r\n```","author":{"url":"https://github.com/LucJosin","@type":"Person","name":"LucJosin"},"datePublished":"2023-07-18T13:58:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/98/HawAPI/issues/98"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5f6185a9-7f97-3fa5-31ba-a549d2df8410 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E736:22E6C2:14EA661:1D12E5B:6973A343 |
| html-safe-nonce | 921608fa2036ed236cd129dfc302b71119850c15d6b6bf866691a8c28da2c211 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzM2OjIyRTZDMjoxNEVBNjYxOjFEMTJFNUI6Njk3M0EzNDMiLCJ2aXNpdG9yX2lkIjoiNzgwOTM3ODg3MjQ2MDU1MDk3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8d8d01fb14f71b794cede3ebe1fd6fd3294de9624024bbea3ccd92eca529d8e7 |
| hovercard-subject-tag | issue:1809998214 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/HawAPI/HawAPI/98/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c511751e13e709e16699802604dac768309eeb72b07217b2fdc4b97097877938/HawAPI/HawAPI/issues/98 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c511751e13e709e16699802604dac768309eeb72b07217b2fdc4b97097877938/HawAPI/HawAPI/issues/98 |
| og:image:alt | Description Currently any unknown param filter will be ignored. Proposal Return Bad Request (400) on request with invalid or unknown param E.g: /api/v1/actors?unknown=Hello // Bad Request (400) /ap... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LucJosin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3e9aa9d0c22a21b13b378b4acd09f5dd4876a884425aacd32a9f473b84c8762d |
| turbo-cache-control | no-preview |
| go-import | github.com/HawAPI/HawAPI git https://github.com/HawAPI/HawAPI.git |
| octolytics-dimension-user_id | 115194489 |
| octolytics-dimension-user_login | HawAPI |
| octolytics-dimension-repository_id | 566830817 |
| octolytics-dimension-repository_nwo | HawAPI/HawAPI |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 566830817 |
| octolytics-dimension-repository_network_root_nwo | HawAPI/HawAPI |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ae4dbd3ac4179af799d71b75a60b0075ccccc5f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width