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

Substituir Outreach Dashboard por Extension:CampaignEvents? #97

Open
albertoleoncio opened this issue May 13, 2024 · 1 comment
Open
Labels
question Further information is requested seeking feedback Mostly done but awaiting feedback from users

Comments

@albertoleoncio
Copy link
Member

@albertoleoncio albertoleoncio added question Further information is requested seeking feedback Mostly done but awaiting feedback from users labels May 13, 2024
@albertoleoncio
Copy link
Member Author

albertoleoncio commented Jun 26, 2024

Exemplo:
https://meta.wikimedia.org/w/rest.php/campaignevents/v0/event_registration/602/participants?include_private=false

Schema:

[
    {
        "participant_id": 10767,
        "user_id": 59855703,
        "user_registered_at": "20240529170541",
        "user_registered_at_formatted": "17h05min de 29 de maio de 2024",
        "private": false,
        "user_name": "MichellevL (WMNL)",
        "user_page": {
            "path": "/wiki/User:MichellevL_(WMNL)",
            "title": "User:MichellevL (WMNL)",
            "classes": "mw-userlink"
        }
    },
    {
        "participant_id": 10768,
        "user_id": 55501625,
        "user_registered_at": "20240529170551",
        "user_registered_at_formatted": "17h05min de 29 de maio de 2024",
        "private": false,
        "user_name": "Sayd224",
        "user_page": {
            "path": "/wiki/User:Sayd224",
            "title": "User:Sayd224",
            "classes": "mw-userlink"
        }
    }
]

Considerações:

  • Inscrições privadas não são coletáveis sem permissão, então é necessário a autorização do organizador via OAuth.
  • Há uma política de retenção de dados, onde as inscrições são apagadas após 90 dias. Isso exigirá uma mudança na atualização de participantes no banco de dados para evitar perdas de informações.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested seeking feedback Mostly done but awaiting feedback from users
Projects
None yet
Development

No branches or pull requests

1 participant