
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 …
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 …
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 …
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 …
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 …
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 naming for authentication API composed by many steps
Dec 26, 2019 · This sub-process are many steps which API validate a client specific data. I have many doubts about names for authentication process. This is my approach: Registration …
best practice for PUT requests in REST API
Apr 9, 2021 · What's the best practice around updating information received from the request? Update all the columns with the values received in the request object? What if there are …
POST / PUT with no explicit id in request
Jun 2, 2025 · And unless your API is your service, you have no legal or business obligations for it to work in any particular way. There are certainly good reasons to follow API standards, but it's …
Is it reasonable for REST resources to be singular and plural?
Often when a collection is going to be the most useful way of interacting with your api, it can be simpler to just think of a single as a collection with only one member. Then if later you want to …