...
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"data": {
"importantNew": {
"id": "1",
"translations": [
{
"languagesCode": "fr",
"title": "Cartes étudiant",
"content": "Vos cartes d'étudiant sont disponibles !",
"buttonLabel": "Voir vos cartes"
},
{
"languagesCode": "en",
"title": "Student cards",
"content": "Your student cards are available!",
"buttonLabel": "See your cards"
}
],
"image": "5a3695fc-af24-4c60-bd67-50eaee02d81e",
"authorization": {
"roles": [
"student"
],
"type": "ALLOW"
},
"color": "#EF154E",
"link": "/cards",
"position": null,
"statisticName": "cards"
}
}
} |
Login
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
query {
login {
translations {
languagesCode
notAuthenticatedText
connectionText
}
}
} |
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"data": {
"login": {
"translations": [
{
"languagesCode": "fr",
"notAuthenticatedText": "Vous n'êtes pas authentifié",
"connectionText": "<p>Bonjour</p>"
},
{
"languagesCode": "en",
"notAuthenticatedText": "You are not authenticated",
"connectionText": "<p>Welcome</p>"
}
]
}
}
} |
Social Networks
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
query {
socialNetworks {
id
title
icon
link
position
}
} |
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
query {
socialNetwork(id: "1") {
id
title
icon
link
position
}
} |
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"data": {
"socialNetwork": {
"id": "1",
"title": "github",
"icon": "logo-github",
"link": "https://github.com/EsupPortail",
"position": 1
}
}
} |
Static Pages
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
query {
staticPages {
id
translations {
languagesCode
title
content
}
icon
iconSvgDark
iconSvgLight
position
statisticName
}
} |
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
query {
staticPage(id: "1") {
id
translations {
languagesCode
title
content
}
icon
iconSvgDark
iconSvgLight
position
statisticName
}
} |
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"data": {
"staticPage": {
"id": "1",
"translations": [
{
"languagesCode": "fr",
"title": "Aide",
"content": "<h2>Bonjour !</h2>\n<p>Lorem ...</p>"
},
{
"languagesCode": "en",
"title": "Help",
"content": "<h2>Hello !</h2>\n<p>Lorem ...</p>"
}
],
"icon": "help-circle-outline",
"iconSvgDark": null,
"iconSvgLight": null,
"position": 1,
"statisticName": "help"
}
}
} |
Widgets
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
query {
widgets {
id
description
widget
translations {
languagesCode
title
content
}
icon
iconSvgDark
iconSvgLight
authorization {
roles
type
}
position
settingsByRole {
position
role
}
type
routerLink
link
ssoService
color
statisticName
}
} |
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
query {
widget(id: "1") {
id
description
widget
translations {
languagesCode
title
content
}
icon
iconSvgDark
iconSvgLight
authorization {
roles
type
}
position
settingsByRole {
position
role
}
type
routerLink
link
ssoService
color
statisticName
}
} |
| Bloc de code | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"data": {
"widget": {
"id": "1",
"description": "Widget affichant les prochains événements dans le calendrier",
"widget": "calendar:calendar",
"translations": [
{
"languagesCode": "en",
"title": "Your next events",
"content": null
},
{
"languagesCode": "fr",
"title": "Vos prochains évènements",
"content": null
}
],
"icon": null,
"iconSvgDark": null,
"iconSvgLight": null,
"authorization": {
"roles": [
"anonymous"
],
"type": "DISALLOW"
},
"position": 50,
"settingsByRole": [],
"type": "external",
"routerLink": null,
"link": "https://mail.mon-univ.fr/zimbra/preauth/preauthUL_ETU.jsp?ticket={st}",
"ssoService": "https://mail.mon-univ.fr/zimbra/preauth/preauthUL_ETU.jsp",
"color": null,
"statisticName": null
}
}
} |