All Questions
Tagged with architecture api-design
76
questions
1
vote
1
answer
653
views
What architecture should I use to create an "events" application in .NET?
I'm fairly new to C# and .NET as a whole and I want to create an application, I have strong experience in Java, Hibernate and using MVC frameworks like Spring.
I want to create an application that ...
5
votes
2
answers
671
views
Analytics Architecture for Multiple APIs
We’re building a platform of different APIs (every API is written by different team, different timezone).
We want to implement unified analytics for all of the APIs to have one data lake as a single ...
2
votes
3
answers
1k
views
How to tie the request filters to the data model in a REST API
I am trying to build a RESTful search api (POST request) that can return different types of resources (e.g A, B, C, etc). I have defined a data model for each of the resource type. There are some ...
14
votes
7
answers
8k
views
How to architect user authentication from client applications?
I've been developing an application which will support many users. The thing is I'm unable to figure out, how to authenticate the client/user.
I'm building an app like http://quickblox.com/ where I'...
2
votes
1
answer
1k
views
REST API design: distinction between searching and getting all instances of a resource
At the moment, my (pretty standard) REST interface looks like this:
POST /foo # creates a new foo
PUT /foo/{id} # updates a specific foo
GET /foo/{id} # returns a specific foo
GET /...
1
vote
3
answers
1k
views
What is wrong with treating a client session as a resource/application state in REST architecture?
Given these example REST API / HATEOAS applications:
InfoQ How to GET a Cup of Coffee example
Java Spring REST API example
... where POST/PUT/PATCHING resources clearly alters the state/availability ...
5
votes
2
answers
1k
views
Should I use my own public API for my web interface?
I am designing an API with django and its rest framework (and I am already not sure if it worth the hassle to version it or not).
I totally know the iOS and Android apps will call the API, get a ...
2
votes
1
answer
1k
views
Best way to separate public API from internal implementation [closed]
I'm developing a little framework (in Scala) where I want to define clean and simple interface for the users of the framework. Some of theses interfaces have to be implemented by the framework itself, ...
9
votes
2
answers
2k
views
Partitioning REST API resources into areas based on business domains
In a major application REST API that covers several related domains, does it make more sense to split resources into 'areas' based on the business domain they belong to or is it better to to maintain ...
1
vote
2
answers
85
views
Using many Resource URI to create a Record and handling failure
Hi Guys,
I have a decision to make to solve a problem, I’m describing the problem below.
Application Overview
I have an ASP.NET MVC 4 webApp which uses Rest Api for almost all the tasks, from Login ...
3
votes
1
answer
364
views
Web API Design advice
I am developing a Web API as services layer for a ASP.NET web forms application.
There are two controllers ContractorController (gives details about the contractor) and PaymentsController (gives ...
6
votes
1
answer
3k
views
A "Composite API" layer
We are giving services a complete overhaul at work: Swapping soap for rest, resculpting the domains to give better separation of concerns, etc.
These new services will be publicly available. During ...
3
votes
1
answer
261
views
REST object with resources
I am designing a HTTP-based REST API.
Let's say I have an entity called Entity that has a bunch of properties. Some of its properties are files. Let's say Entity has following properties:
name: ...
6
votes
2
answers
3k
views
Shoud I directly return a string message or rather a i18n key when dealing with JSON api?
Suppose a rest api returning this json:
{
"status" : "fail",
"data" : { "title" : "A title is required" }
}
Since the client application would always adapt the error message, would it be ...
1
vote
3
answers
3k
views
How my website should use its own API?
Im building small web-service which will provide my users with data through API.
Also, some data will be available right on my website.
The question is about how to use my own API? Should my website ...