This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=streamconfigs
(main | streamconfigs)
- Questo modulo richiede i diritti di lettura.
- Fonte: EventStreamConfig
- Licenza: GPL-2.0-or-later
Exposes event stream config. Returns only format=json with formatversion=2.
Parametri specifici:
Sono disponibili altri parametri generali.
- streams
List of streams to get config for
- Separa i valori con | o alternativa.
- Maximum number of values is 250 (500 for clients that are allowed higher limits).
- constraints
Filter results for stream config entries that have these settings
- Separa i valori con | o alternativa.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- all_settings
- Deprecato.
Include all settings in stream config results. Deprecated since 1.41. All settings are included by default.
- Tipo: booleano (dettagli)
Esempi:
- Get stream configs for a list of streams
- api.php?action=streamconfigs&streams=mediawiki.page-view|mediawiki.button-click [apri in una sandbox]
- Get stream config for streams with all settings
- api.php?action=streamconfigs&streams=mediawiki.button-click [apri in una sandbox]
- Get stream config for streams that have settings matching these constraints
- api.php?action=streamconfigs&streams=mediawiki.button-click&constraints=event_service_name=eventgate-main [apri in una sandbox]
Estratto da "https://it.wikipedia.org/wiki/Speciale:ApiHelp"