Why /get_[api] /[api] pairs? #229
Unanswered
venkatramanm
asked this question in
Q&A
Replies: 1 comment 1 reply
-
the "on_" prefix indicates the completion of an "event" like a search, or a select. Like if someone is searching for something using In the case of the meta APIs, it is not an "event" that is completed but rather a request for "data". Hence the prefix "get_" for requesting the data and no prefix for sending the data that was requested. That was my thought process. Maybe we can document this approach somewhere. Maybe CONTRIBUTION.md |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see some apis like cancellation_reasons,return_reasons,rating_categories,feedback_categories,feedback_form, have the pairing different from usual /[api] and /on_[api] paradigm !! Is there any reason for this ?
Beta Was this translation helpful? Give feedback.
All reactions