
api design - Why do so many standards for JSON API response …
Mar 22, 2022 · Why do so many standards for JSON API response formats contain a "success" property in the response body instead of just using HTTP status codes? Ask Question Asked 3 …
Designing a REST api by URI vs query string
Jan 23, 2015 · What are query strings really used for, besides "filtering" on your resource? If you go with the first approach, the filter parameter is embedded in the URI itself as a path …
Naming convention for the classes holding REST APIs
Dec 29, 2021 · Update One of the reasons behind the convention is to distinguish between the entities and API interfaces. For eg, we have a PaymentTemplate model/entity data class for …
api design - Difference between API and protocol? - Software ...
Aug 2, 2022 · A specification of something can in principle specify an API as well (by which I mean the interfaces, as in, different libraries would have to implement the same API to be …
REST API: POST and PUT for nested resources
Mar 1, 2021 · 5 I am wondering how to deal with nested resources in a REST API. I've seen other questions on the subject here, but I didn't find one that answered my question. More …
c# - How to name uppercase variables when using the camelCase ...
Jul 23, 2024 · I am writing a C# class and one of the fields is an API endpoint. Being that API is an acronym and is written in all uppercase letters, what is the correct way to name the field …
How to design for API use cases that need different data from the …
Nov 28, 2024 · The API layer describes how the data is processed and accessed. This means that a request to one API endpoint often accesses multiple database tables, sometimes even …
API naming for authentication API composed by many steps
Dec 26, 2019 · I have an API which include a registration and login process. Both process have an authentication sub-process. This sub-process are many steps which API validate a client …
rest - RESTful API. Should I be returning the object that was …
Mar 28, 2016 · 26 Referencing to the link RFC standards, you should return 201 (created) status on successfully storing the request resource using Post. In most of the applications the id of …
api design - What are the consequences of using verbs instead of …
This just sounds like inexperience on the part of your developer to me. The word get is implied in the GET verb; putting it in the URL is redundant. REST URLs are about resources (i.e. …