Notes on our usage of the GraphQL-based query API.
go to '/graphql/' which opens the GraphiQL browser
{
municipalities {
edges {
node {
bfsNumber
name
}
}
}
}The MunicipalityNode has the fields
- id: ID!, The ID of the object.
- name: String!
- canton: MunicipalityCanton!, enum
- bfsNumber: Int
{
snapshots {
edges {
node {
id
data
slugHash
screenshot {
url
}
}
}
}
}