It would be nice if ReSpec supported just having a "group" configuration option, that would pull all the relevant information about a working group from somewhere.
Group should be a string, like "WebApps". That would map to a W3C Group ID, and we could then pull the group information from the W3C API.
And example of this is done here:
https://w3c.github.io/webappswg/
We might also need to deal with join group specs... but having single group support would be great.
How do we plan to use the group information from the API? The only group related info I found is presently being used in SOTD (_"This document was published by the Web Applications Working Group as a Living Document."_)
Oh, the IPR link, the mailing list, the group鈥檚 actual full name, etc. All sorts of goodies.
I see. wg, wgURI, wgPatentURI, wgPublicList configuration options to be precise.
Problems to be solved:
group => groupID
https://api.w3.org/groups/{groupID}/
(gives us `wg` as `name`)
(gives us `wgPatentURI` as `_links.pp-status.href`)
(gives us `wgURI` as `_links.homepage.href`)
If we want `wgPublicList`, go to https://api.w3.org/groups/{groupID}/services
for each serviceID in _links.services[title="Mailing Lists"]:
Visit https://api.w3.org/services/{serviceID}
(gives us `wgPublicList` as `shortdesc`)
This API should've been a GraphQL API. Looks like we might have to do it on respec.org (which is more work!). We'll get benefit of having a single request with only required fields and caching to stay within API rate limits (and not asking editors to add an API key).
Maybe we can skip the public list, as everyone uses GitHub now.
Some groups still like their mailing lists, but I agree it should be opt-in somehow.
We can pull data from this new datasource: https://www.w3.org/PM/Groups/chairboard.html?gid=114929
It's pulling data from W3C API itself...