New answers tagged api
0
votes
API supporting multiple authentication providers?
I would do the second option so each API only has to understand one token.
That said, I would probably also go with a 3rd party identity (token) provider that can take care of a lot of this kind of ...
7
votes
Accepted
What is a good approach to sync remote API data to a database?
'As fresh as reasonably possible' is not a concrete requirement and, as such, is not useful. I would start by flipping your thinking around to the question: 'what level of staleness is tolerable?' ...
3
votes
What is a good approach to sync remote API data to a database?
The simplest way is often the best. Here you can simply make api calls periodically, populate a staging table on your db and then switch it with the old table.
The delta approach, where you make a ...
0
votes
Api Best practices (conventions and separation of concerns )
I appreciate any guidance on how to structure these controllers in a coherent and maintainable manner.
You design your API like you would design a class library for a developer. That is your target ...
0
votes
Api Best practices (conventions and separation of concerns )
Assuming you are working with CRUD especially HTTP POST hides parameters but is very useful when handling JSON, like a parameter class with fields.
Per domain / entity / controller starting with circa ...
0
votes
Api Best practices (conventions and separation of concerns )
Advice on APIs
When defining an API don't let any one implementation dictate how that API is laid out or works.
An implementation framework/library/etc... that is worth its salt will allow you to ...
Top 50 recent answers are included
Related Tags
api × 1315rest × 422
api-design × 374
design × 106
architecture × 102
web-api × 87
java × 72
c# × 61
web-services × 58
design-patterns × 56
http × 52
microservices × 50
security × 50
authentication × 49
json × 47
php × 46
web-applications × 46
database × 44
javascript × 41
web-development × 36
python × 32
programming-practices × 24
.net × 23
libraries × 22
c++ × 21