Cap Collectif Developers - GraphQL API

GlobalDistrict

This part of the schema is currently available for developers to preview. During this preview period, the API may change without any advance notice. Please see Schema previews for more details.

A global district

Implements

Fields

background (Style)

border (Style)

cover (Media)

description (String)

Argument Type Description
locale TranslationLocale

The locale to translate content (eg: FR_FR).

displayedOnMap (Boolean!)

followers (UserConnection!)

The list of followers of the district

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

first Int

Returns the first n elements from the list.

The default value is 100.

orderBy FollowerOrder

Ordering options for followers returning from the connection

The default value is { "field": "FOLLOWED_AT", "direction": "DESC" }.

geojson (GeoJSON)

geojsonStyle (CssJSON)

id (ID!)

The ID of an object

name (String!)

Argument Type Description
locale TranslationLocale

The locale to translate content (eg: FR_FR).

projectDistrictPositioners ([ProjectDistrictPositioner])

projects (ProjectConnection)

The list of projects in district

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

first Int

Returns the first n elements from the list.

The default value is 100.

slug (String!)

Argument Type Description
locale TranslationLocale

The locale to translate content (eg: FR_FR).

titleOnMap (String)

Argument Type Description
locale TranslationLocale

The locale to translate content (eg: FR_FR).

translations ([DistrictTranslation!]!)

viewerFollowingConfiguration (SubscriptionTypeValue) ROLE_USER

Identifies the viewer following configuration on the entity.

viewerIsFollowing (Boolean!) ROLE_USER

Identifies if the viewer is following the entity.