Enhancement Request: Support for Multiple Conditions Queries in Microsoft Graph API Messages Endpoint
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- api
Línea de trabajo
The request concerns Microsoft Graph's messages endpoint and proposes combining date and recipient conditions while retaining count support. No repository file, entry point, or test is identified, and the requested capability appears to require an upstream API change rather than a defined SDK change.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature Request
Is your feature request related to a problem? Please describe
Currently, there is a limitation in the Microsoft Graph API where querying messages based on multiple conditions, such as messages received during a specific period and sent to a specific address, can be challenging.
Describe the solution you'd like
I would like to request an enhancement to the Microsoft Graph API that allows for more flexible and efficient querying of messages based on multiple conditions. Specifically, I would like to see the ability to perform queries like the following example:
https://graph.microsoft.com/v1.0/me/messages?$(filter=ReceivedDateTime ge 2023-06-01 and ReceivedDateTime le 2023-06-19 and ('c.ivanov@companyname.com' in toRecipients))
This would enable users to filter messages based on both date ranges and specific recipient addresses in a single query.
Describe alternatives you've considered
Currently, the only alternative to achieve this is to use the $search parameter, as shown in the following example:
https://graph.microsoft.com/v1.0/me/messages?$search="to:o.ivanova@companyname.com AND received>=2023-06-01 AND received<=2023-06-19"
However, using $search does not allow for the use of $count=true to determine the quantity of emails that fit the specified requirements. As a workaround, users may need to retrieve a limited set of fields (e.g., $select=id) and calculate the length of the returned JSON to approximate the count.
Additional context
The ability to perform multiple conditions queries in a single request would greatly enhance the usability and efficiency of the Microsoft Graph API for users who need to filter messages based on complex criteria. This feature would provide more flexibility and reduce the need for workarounds to achieve the desired results.
- Lenguaje dominante
- TypeScript
- Estrellas
- 833
- Forks
- 240
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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 microsoftgraph/msgraph-sdk-javascript
-
status:waiting-for-triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
-
Is anyone here? Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
microsoftgraph/msgraph-sdk-javascript#2005 · 1 reacción ·
-
Is it really correct that the Javascript version of the graph SDK doesn't offer typed requests? Abiertostatus:waiting-for-triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 42/100
-
status:waiting-for-triage type:bug
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
microsoftgraph/msgraph-sdk-javascript#1999 · 2 comentarios · 1 reacción ·
-
status:waiting-for-triage type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Todos los issues de microsoftgraph/msgraph-sdk-javascript
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
fil-donadoni/tolaria#4409 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
corsairdev/corsair#1764 ·