API Versioning
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Documentación
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- api, backend-api-design, documentation
Línea de trabajo
Comienza con la sección API Lifecycle Management y su referencia a RFC4627; después, revisa las estrategias establecidas de versionado de las API REST de NRPP y BC Wildfire mencionadas en la issue. Se considera terminado cuando las directrices explican correctamente una estrategia de versionado de API que cubra cambios más amplios en la API sin depender de una interpretación no compatible del tipo de medio.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The section on API Lifecycle Management prescribes identifying a version number in the mime type of a requests ACCEPT header and references RFC4627 as an endorsement of this practice.
The RFC4627 does not at all endorse using the version component of a mime type to indicate an API version. It is specific to indicating the version of a JSON structure. It is possible for a single version of an API to support many different representations of the same resource.
A new version of an API can include changes other than the addition or deprecation of supported resource structures. Specific examples being new behavior in existing interfaces, new workflows, new endpoints, deprecated endpoints, new SLAs, etc... The API Guidelines should provide a versioning strategy that addresses API changes; the mime type versioning does not.
(We have an established API versioning strategy for the NRPP and BC Wildfire Rest APIs that uses a separate HTTP Header to indicate the desired version of the API.)
Also many of the frameworks that we use to build our REST services, including Jersey, Spring, and CFX do not support custom mine types out of the box and require considerable configuration to provide custom handlers to support the serialization of the custom types. The frameworks support application\json and application\xml out of the box with no additional effort.
As standard tools do not know what to do with the custom mime types it will also be more difficult for new clients to consume the APIs that use a mime type versioning strategy.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 34
- Forks
- 10
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bcgov/api-guidelines
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
bcgov/api-guidelines#34 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
bcgov/api-guidelines#33 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
bcgov/api-guidelines#32 ·
-
Devhub Issue: BC Government API Guidelines [API creation with the focus on security by design]Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
bcgov/api-guidelines#31 ·
-
It's Been a While Since This Repository has Been UpdatedQuizá libre de nuevo @jeff-card la tomó hace 1559 días y no hay ningún pull request abierto. Abierto
bcgov/api-guidelines#28 · 3 comentarios · 2 asignados ·
Todos los issues de bcgov/api-guidelines
Issues similares
-
[Bug]: LangGraph Store sync put bypasses namespace validationPosiblemente ocupada @ktz03 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
volcengine/OpenViking#6050 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Streamed /v1/chat/completions sends unredacted agent error text (keys) in the final chunkPosiblemente ocupada @rodricksz4h5 la tomó hoy. Abiertoarea/streaming comp/gateway P2 type/security
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NousResearch/hermes-agent#138245 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
🐞 bug pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
CircuitVerse/CircuitVerse#8025 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día