Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define "beta" features and replace the optional/required designation for endpoints #468

Merged
merged 2 commits into from
Mar 16, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added beta feature designation and description
  • Loading branch information
jfh01 committed Mar 13, 2020
commit 0aacbbe96a1c54e91d2a65bf772c945976700453
8 changes: 8 additions & 0 deletions general-information.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This document contains specifications that are shared between the various MDS AP
## Table of Contents

* [Versioning](#versioning)
* [Beta Features](#betafeatures)

## Versioning

Expand Down Expand Up @@ -45,4 +46,11 @@ Content-Type: application/vnd.mds.provider+json;version=0.3

The client can use the returned value verbatim as a version request in the `Accept` header.

## Beta Features
In some cases, features within MDS may be marked as "BETA." These are typically newly established endpoints or fields. Because beta features are new, they may not be fully mature and proven in real-world operation. The design of beta features may have undiscovered gaps, ambiguities, or inconsistencies. Implementations of those features are also likely new as well and are more likely to contain bugs or other problems. Beta features are likely to evolve more rapidly than other parts of the specification.

Despite this, MDS users are encouraged to use beta features. New features can only become proven and trusted through use and the learning that comes with it. Users should be thoughtful about the role of beta features in their operations. Beta features are suitable for enabling new tools and analysis, but may not be appropriate for mission-critical regulatory decisions where certainty and reliability are essential.

Users of beta features are strongly encouraged to share their experiences, learnings, and challenges with the broader MDS community via GitHub issues or pull requests. This will help the community make the improvements that allow beta features to become proven, stable parts of the specification.

[Top](#table-of-contents)
10 changes: 5 additions & 5 deletions provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Unless stated otherwise by the municipality, the trips endpoint must return all

**Endpoint:** `/trips`
**Method:** `GET`
**Required/Optional:** Required
**[Beta feature](/general-information.md#beta-features):** No
**Schema:** [`trips` schema][trips-schema]
**`data` Payload:** `{ "trips": [] }`, an array of objects with the following structure

Expand Down Expand Up @@ -294,7 +294,7 @@ Unless stated otherwise by the municipality, this endpoint must return only thos

**Endpoint:** `/status_changes`
**Method:** `GET`
**Required/Optional:** Required
**[Beta feature](/general-information.md#beta-features):** No
**Schema:** [`status_changes` schema][sc-schema]
**`data` Payload:** `{ "status_changes": [] }`, an array of objects with the following structure

Expand Down Expand Up @@ -375,7 +375,7 @@ The schema and datatypes are the same as those defined for [`/status_changes`][s

**Endpoint:** `/events`
**Method:** `GET`
**Required/Optional:** Optional starting with `0.4.0`, moving to Required in a future version (`0.5.0`+)
**[Beta feature](/general-information.md#beta-features):** Yes (as of 0.4.0)
**Schema:** [`events` schema][events-schema]
**`data` Payload:** `{ "status_changes": [] }`, an array of objects with the same structure as in [`/status_changes`][status]

Expand Down Expand Up @@ -422,7 +422,7 @@ ttl | Yes | Integer representing the number of millisecond

**Endpoint:** `/vehicles`
**Method:** `GET`
**Required/Optional:** Optional starting with `0.4.1`, moving to Required in a future version (`0.5.0`+)
**[Beta feature](/general-information.md#beta-features):** Yes (as of 0.4.1)
**Schema:** [`vehicles` schema][vehicles-schema]
**`data` Payload:** `{ "vehicles": [] }`, an array of objects with the following structure

Expand Down Expand Up @@ -451,4 +451,4 @@ ttl | Yes | Integer representing the number of millisecond
[toc]: #table-of-contents
[trips-schema]: dockless/trips.json
[ts]: #timestamps
[vehicles-schema]: dockless/vehicles.json
[vehicles-schema]: dockless/vehicles.json