Comments (9)
We did have a big discussion on #838 about some response codes. @marie-x It seems we should be using 401 and we can remove 403 from the spec. Do you see any issue with that?
from mobility-data-specification.
We did have a big discussion on #838 about some response codes. @marie-x It seems we should be using 401 and we can remove 403 from the spec. Do you see any issue with that?
Sounds great!
from mobility-data-specification.
So remove 403
for sure.
What about 200
vs 201
? Seems like 201 is valuable to have to ensure the item was created, vs the more generic 200 when all is ok. So both are good to keep?
from mobility-data-specification.
@marie-x @schnuerle How about the difference between 200
and 201
?
201
is mentioned here as what a successful POST should return, different from200
in the Agency docs.
from mobility-data-specification.
So remove
403
for sure.
Done.
Seems like 201 is valuable to have to ensure the item was created, vs the more generic 200 when all is ok. So both are good to keep?
Yep, I'll keep both in the OpenAPI docs.
from mobility-data-specification.
So should any 403s like in Vehicles in Agency, and in Jurisdiction, be changed to 401s? Or should 403s be removed completely?
from mobility-data-specification.
Jurisdiction shouldn't have either, because it is public / shouldn't throw "Not authorized" errors.
In Agency (and Metrics, Provider) we should use 401
everywhere there could be an authorization error, and remove 403
entirely.
I think only the Agency docs in the spec need the update though.
from mobility-data-specification.
This is done in the OpenAPI docs.
from mobility-data-specification.
Everything mentioned here should be resolved as part of #856 so focusing on that Issue now.
from mobility-data-specification.
Related Issues (20)
- What vehicles are included in the MDS 2.0 /vehicles endpoint? HOT 4
- Reports endpoint - description of START_DATE HOT 4
- Add mode in trips and vehicles objects HOT 6
- Data structure with sub-objects for mode-specific attributes complexifies the data ingestion HOT 1
- Adding a field in trip objects to cover cancelled trips easier HOT 2
- Add Provider ID: Nextbike HOT 2
- Error and bulk responses HOT 5
- Add the publication_time field in the telemetry object
- Supporting Advanced Air Mobility (AAM) HOT 1
- Add Provider ID: Starship Technologies HOT 3
- Add operations start and end dates to VEHICLES endpoint HOT 5
- Simplify /vehicles/status HOT 1
- Define conditions for "conditionally required" fields
- Clearer support for AV taxis (Robotaxis) and stop events HOT 2
- Real-time improvements for MDS Policy
- Add Provider ID: Flamingo HOT 2
- Policy API - Rule unit of distance travelled for maintenance use cases
- Add Provider ID: 3km HOT 3
- Clarify that Policy API can require Authorization to access the published material
- Include `trip_stop` Event in Trip ID Requirements Documentation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobility-data-specification.