Gotò's API
A graphQL documentation for Gotò's API
API Endpoints
https://deway.fr/goto-api/graphql
Version
1.0.0
Queries
alert
Example
Query
query alert($id: ID!) {
alert(id: $id) {
id
latitude
longitude
type
createdAt
hike {
...HikeFragment
}
author {
...UserFragment
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"alert": {
"id": "4",
"latitude": 987.65,
"longitude": 987.65,
"type": "TRACK_CHANGE",
"createdAt": "2007-12-03T10:15:30Z",
"hike": Hike,
"author": User
}
}
}
alerts
Response
Returns [Alert!]!
Arguments
| Name | Description |
|---|---|
filter - AlertFilter
|
Specify to filter the records returned. Default = {} |
sorting - [AlertSort!]
|
Specify to sort results. Default = [] |
Example
Query
query alerts(
$filter: AlertFilter,
$sorting: [AlertSort!]
) {
alerts(
filter: $filter,
sorting: $sorting
) {
id
latitude
longitude
type
createdAt
hike {
...HikeFragment
}
author {
...UserFragment
}
}
}
Variables
{"filter": {}, "sorting": [""]}
Response
{
"data": {
"alerts": [
{
"id": 4,
"latitude": 987.65,
"longitude": 123.45,
"type": "TRACK_CHANGE",
"createdAt": "2007-12-03T10:15:30Z",
"hike": Hike,
"author": User
}
]
}
}
categories
Response
Returns [Category!]!
Arguments
| Name | Description |
|---|---|
filter - CategoryFilter
|
Specify to filter the records returned. Default = {} |
sorting - [CategorySort!]
|
Specify to sort results. Default = [] |
Example
Query
query categories(
$filter: CategoryFilter,
$sorting: [CategorySort!]
) {
categories(
filter: $filter,
sorting: $sorting
) {
id
name
createdAt
hikes {
...HikeFragment
}
defaultPhoto {
...PhotoFragment
}
}
}
Variables
{"filter": {}, "sorting": [""]}
Response
{
"data": {
"categories": [
{
"id": "4",
"name": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"defaultPhoto": Photo
}
]
}
}
category
Example
Query
query category($id: ID!) {
category(id: $id) {
id
name
createdAt
hikes {
...HikeFragment
}
defaultPhoto {
...PhotoFragment
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"category": {
"id": "4",
"name": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"defaultPhoto": Photo
}
}
}
exist
getHikeAlreadyDone
Response
Returns a CustomHikeConnection!
Example
Query
query getHikeAlreadyDone(
$search: String,
$limit: Int!,
$cursor: String
) {
getHikeAlreadyDone(
search: $search,
limit: $limit,
cursor: $cursor
) {
pageInfo {
...CustomPageInfoFragment
}
edges {
...CustomHikeEdgeFragment
}
totalCount
}
}
Variables
{
"search": "xyz789",
"limit": 987,
"cursor": ""
}
Response
{
"data": {
"getHikeAlreadyDone": {
"pageInfo": CustomPageInfo,
"edges": [CustomHikeEdge],
"totalCount": 987.65
}
}
}
getHikeAround
Response
Returns a CustomHikeConnection!
Example
Query
query getHikeAround(
$lat: Float!,
$lon: Float!,
$distance: Float,
$search: String,
$limit: Int!,
$cursor: String
) {
getHikeAround(
lat: $lat,
lon: $lon,
distance: $distance,
search: $search,
limit: $limit,
cursor: $cursor
) {
pageInfo {
...CustomPageInfoFragment
}
edges {
...CustomHikeEdgeFragment
}
totalCount
}
}
Variables
{
"lat": 987.65,
"lon": 123.45,
"distance": 50,
"search": "xyz789",
"limit": 123,
"cursor": ""
}
Response
{
"data": {
"getHikeAround": {
"pageInfo": CustomPageInfo,
"edges": [CustomHikeEdge],
"totalCount": 123.45
}
}
}
getHikePopular
Response
Returns a CustomHikeConnection!
Example
Query
query getHikePopular(
$search: String,
$limit: Int!,
$cursor: String
) {
getHikePopular(
search: $search,
limit: $limit,
cursor: $cursor
) {
pageInfo {
...CustomPageInfoFragment
}
edges {
...CustomHikeEdgeFragment
}
totalCount
}
}
Variables
{
"search": "abc123",
"limit": 123,
"cursor": ""
}
Response
{
"data": {
"getHikePopular": {
"pageInfo": CustomPageInfo,
"edges": [CustomHikeEdge],
"totalCount": 987.65
}
}
}
hike
Example
Query
query hike($id: ID!) {
hike(id: $id) {
id
name
distance
elevation
description
difficulty
duration
track
latitude
longitude
createdAt
reviewsAggregate {
...HikeReviewsAggregateResponseFragment
}
alertsAggregate {
...HikeAlertsAggregateResponseFragment
}
owner {
...UserFragment
}
category {
...CategoryFragment
}
tags {
...TagFragment
}
photos {
...PhotoFragment
}
pointsOfInterests {
...PointOfInterestFragment
}
reviews {
...ReviewFragment
}
alerts {
...AlertFragment
}
performances {
...PerformanceFragment
}
distanceFrom
isLiked
}
}
Variables
{"id": "4"}
Response
{
"data": {
"hike": {
"id": 4,
"name": "xyz789",
"distance": 123.45,
"elevation": 987.65,
"description": "xyz789",
"difficulty": "EASY",
"duration": 123.45,
"track": "xyz789",
"latitude": 123.45,
"longitude": 123.45,
"createdAt": "2007-12-03T10:15:30Z",
"reviewsAggregate": [HikeReviewsAggregateResponse],
"alertsAggregate": [HikeAlertsAggregateResponse],
"owner": User,
"category": Category,
"tags": [Tag],
"photos": [Photo],
"pointsOfInterests": [PointOfInterest],
"reviews": [Review],
"alerts": [Alert],
"performances": [Performance],
"distanceFrom": 987.65,
"isLiked": false
}
}
}
hikeAggregate
Response
Returns [HikeAggregateResponse!]!
Arguments
| Name | Description |
|---|---|
filter - HikeAggregateFilter
|
Filter to find records to aggregate on |
Example
Query
query hikeAggregate($filter: HikeAggregateFilter) {
hikeAggregate(filter: $filter) {
groupBy {
...HikeAggregateGroupByFragment
}
count {
...HikeCountAggregateFragment
}
sum {
...HikeSumAggregateFragment
}
avg {
...HikeAvgAggregateFragment
}
min {
...HikeMinAggregateFragment
}
max {
...HikeMaxAggregateFragment
}
}
}
Variables
{"filter": HikeAggregateFilter}
Response
{
"data": {
"hikeAggregate": [
{
"groupBy": HikeAggregateGroupBy,
"count": HikeCountAggregate,
"sum": HikeSumAggregate,
"avg": HikeAvgAggregate,
"min": HikeMinAggregate,
"max": HikeMaxAggregate
}
]
}
}
hikes
Response
Returns a HikeConnection!
Arguments
| Name | Description |
|---|---|
paging - CursorPaging
|
Limit or page results. Default = {first: 10} |
filter - HikeFilter
|
Specify to filter the records returned. Default = {} |
sorting - [HikeSort!]
|
Specify to sort results. Default = [] |
Example
Query
query hikes(
$paging: CursorPaging,
$filter: HikeFilter,
$sorting: [HikeSort!]
) {
hikes(
paging: $paging,
filter: $filter,
sorting: $sorting
) {
pageInfo {
...PageInfoFragment
}
edges {
...HikeEdgeFragment
}
totalCount
}
}
Variables
{"paging": {"first": 10}, "filter": {}, "sorting": [""]}
Response
{
"data": {
"hikes": {
"pageInfo": PageInfo,
"edges": [HikeEdge],
"totalCount": 987
}
}
}
performance
Response
Returns a Performance
Arguments
| Name | Description |
|---|---|
id - ID!
|
The id of the record to find. |
Example
Query
query performance($id: ID!) {
performance(id: $id) {
id
date
distance
elevation
duration
track
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"performance": {
"id": "4",
"date": "2007-12-03T10:15:30Z",
"distance": 123.45,
"elevation": 987.65,
"duration": 123.45,
"track": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
}
}
performanceAggregate
Response
Returns [PerformanceAggregateResponse!]!
Arguments
| Name | Description |
|---|---|
filter - PerformanceAggregateFilter
|
Filter to find records to aggregate on |
Example
Query
query performanceAggregate($filter: PerformanceAggregateFilter) {
performanceAggregate(filter: $filter) {
groupBy {
...PerformanceAggregateGroupByFragment
}
count {
...PerformanceCountAggregateFragment
}
sum {
...PerformanceSumAggregateFragment
}
avg {
...PerformanceAvgAggregateFragment
}
min {
...PerformanceMinAggregateFragment
}
max {
...PerformanceMaxAggregateFragment
}
}
}
Variables
{"filter": PerformanceAggregateFilter}
Response
{
"data": {
"performanceAggregate": [
{
"groupBy": PerformanceAggregateGroupBy,
"count": PerformanceCountAggregate,
"sum": PerformanceSumAggregate,
"avg": PerformanceAvgAggregate,
"min": PerformanceMinAggregate,
"max": PerformanceMaxAggregate
}
]
}
}
performances
Response
Returns [Performance!]!
Arguments
| Name | Description |
|---|---|
filter - PerformanceFilter
|
Specify to filter the records returned. Default = {} |
sorting - [PerformanceSort!]
|
Specify to sort results. Default = [] |
Example
Query
query performances(
$filter: PerformanceFilter,
$sorting: [PerformanceSort!]
) {
performances(
filter: $filter,
sorting: $sorting
) {
id
date
distance
elevation
duration
track
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{"filter": {}, "sorting": [""]}
Response
{
"data": {
"performances": [
{
"id": "4",
"date": "2007-12-03T10:15:30Z",
"distance": 987.65,
"elevation": 987.65,
"duration": 987.65,
"track": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
]
}
}
pointOfInterest
Response
Returns a PointOfInterest
Arguments
| Name | Description |
|---|---|
id - ID!
|
The id of the record to find. |
Example
Query
query pointOfInterest($id: ID!) {
pointOfInterest(id: $id) {
id
name
description
latitude
longitude
url
createdAt
photo {
...PhotoFragment
}
hikes {
...HikeFragment
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"pointOfInterest": {
"id": 4,
"name": "xyz789",
"description": "xyz789",
"latitude": 987.65,
"longitude": 123.45,
"url": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"photo": Photo,
"hikes": [Hike]
}
}
}
pointOfInterests
Response
Returns [PointOfInterest!]!
Arguments
| Name | Description |
|---|---|
filter - PointOfInterestFilter
|
Specify to filter the records returned. Default = {} |
sorting - [PointOfInterestSort!]
|
Specify to sort results. Default = [] |
Example
Query
query pointOfInterests(
$filter: PointOfInterestFilter,
$sorting: [PointOfInterestSort!]
) {
pointOfInterests(
filter: $filter,
sorting: $sorting
) {
id
name
description
latitude
longitude
url
createdAt
photo {
...PhotoFragment
}
hikes {
...HikeFragment
}
}
}
Variables
{"filter": {}, "sorting": [""]}
Response
{
"data": {
"pointOfInterests": [
{
"id": "4",
"name": "abc123",
"description": "abc123",
"latitude": 987.65,
"longitude": 123.45,
"url": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"photo": Photo,
"hikes": [Hike]
}
]
}
}
review
Example
Query
query review($id: ID!) {
review(id: $id) {
id
rating
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"review": {
"id": 4,
"rating": 123.45,
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
}
}
reviewAggregate
Response
Returns [ReviewAggregateResponse!]!
Arguments
| Name | Description |
|---|---|
filter - ReviewAggregateFilter
|
Filter to find records to aggregate on |
Example
Query
query reviewAggregate($filter: ReviewAggregateFilter) {
reviewAggregate(filter: $filter) {
groupBy {
...ReviewAggregateGroupByFragment
}
count {
...ReviewCountAggregateFragment
}
sum {
...ReviewSumAggregateFragment
}
avg {
...ReviewAvgAggregateFragment
}
min {
...ReviewMinAggregateFragment
}
max {
...ReviewMaxAggregateFragment
}
}
}
Variables
{"filter": ReviewAggregateFilter}
Response
{
"data": {
"reviewAggregate": [
{
"groupBy": ReviewAggregateGroupBy,
"count": ReviewCountAggregate,
"sum": ReviewSumAggregate,
"avg": ReviewAvgAggregate,
"min": ReviewMinAggregate,
"max": ReviewMaxAggregate
}
]
}
}
reviews
Response
Returns [Review!]!
Arguments
| Name | Description |
|---|---|
filter - ReviewFilter
|
Specify to filter the records returned. Default = {} |
sorting - [ReviewSort!]
|
Specify to sort results. Default = [] |
Example
Query
query reviews(
$filter: ReviewFilter,
$sorting: [ReviewSort!]
) {
reviews(
filter: $filter,
sorting: $sorting
) {
id
rating
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{"filter": {}, "sorting": [""]}
Response
{
"data": {
"reviews": [
{
"id": 4,
"rating": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
]
}
}
table
Example
Query
query table($id: ID!) {
table(id: $id) {
id
name
createdAt
hikes {
...HikeFragment
}
owner {
...UserFragment
}
}
}
Variables
{"id": "4"}
Response
{
"data": {
"table": {
"id": "4",
"name": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"owner": User
}
}
}
tables
Response
Returns [Table!]!
Arguments
| Name | Description |
|---|---|
filter - TableFilter
|
Specify to filter the records returned. Default = {} |
sorting - [TableSort!]
|
Specify to sort results. Default = [] |
Example
Query
query tables(
$filter: TableFilter,
$sorting: [TableSort!]
) {
tables(
filter: $filter,
sorting: $sorting
) {
id
name
createdAt
hikes {
...HikeFragment
}
owner {
...UserFragment
}
}
}
Variables
{"filter": {}, "sorting": [""]}
Response
{
"data": {
"tables": [
{
"id": "4",
"name": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"owner": User
}
]
}
}
tag
Example
Query
query tag($id: ID!) {
tag(id: $id) {
id
name
createdAt
hikes {
...HikeFragment
}
}
}
Variables
{"id": 4}
Response
{
"data": {
"tag": {
"id": 4,
"name": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": [Hike]
}
}
}
user
Example
Query
query user($id: ID!) {
user(id: $id) {
id
pseudo
email
password
publicKey
credidential
public
createdAt
friendsAggregate {
...UserFriendsAggregateResponseFragment
}
performancesAggregate {
...UserPerformancesAggregateResponseFragment
}
reviewsAggregate {
...UserReviewsAggregateResponseFragment
}
likesAggregate {
...UserLikesAggregateResponseFragment
}
tablesAggregate {
...UserTablesAggregateResponseFragment
}
avatar {
...PhotoFragment
}
friends {
...UserFragment
}
performances {
...PerformanceFragment
}
reviews {
...ReviewFragment
}
likes {
...UserLikesConnectionFragment
}
tables {
...TableFragment
}
isFriend
}
}
Variables
{"id": 4}
Response
{
"data": {
"user": {
"id": "4",
"pseudo": "abc123",
"email": "abc123",
"password": "abc123",
"publicKey": "abc123",
"credidential": 987.65,
"public": false,
"createdAt": "2007-12-03T10:15:30Z",
"friendsAggregate": [UserFriendsAggregateResponse],
"performancesAggregate": [
UserPerformancesAggregateResponse
],
"reviewsAggregate": [UserReviewsAggregateResponse],
"likesAggregate": [UserLikesAggregateResponse],
"tablesAggregate": [UserTablesAggregateResponse],
"avatar": Photo,
"friends": [User],
"performances": [Performance],
"reviews": [Review],
"likes": UserLikesConnection,
"tables": [Table],
"isFriend": true
}
}
}
userAggregate
Response
Returns [UserAggregateResponse!]!
Arguments
| Name | Description |
|---|---|
filter - UserAggregateFilter
|
Filter to find records to aggregate on |
Example
Query
query userAggregate($filter: UserAggregateFilter) {
userAggregate(filter: $filter) {
groupBy {
...UserAggregateGroupByFragment
}
count {
...UserCountAggregateFragment
}
sum {
...UserSumAggregateFragment
}
avg {
...UserAvgAggregateFragment
}
min {
...UserMinAggregateFragment
}
max {
...UserMaxAggregateFragment
}
}
}
Variables
{"filter": UserAggregateFilter}
Response
{
"data": {
"userAggregate": [
{
"groupBy": UserAggregateGroupBy,
"count": UserCountAggregate,
"sum": UserSumAggregate,
"avg": UserAvgAggregate,
"min": UserMinAggregate,
"max": UserMaxAggregate
}
]
}
}
users
Response
Returns a UserConnection!
Arguments
| Name | Description |
|---|---|
paging - CursorPaging
|
Limit or page results. Default = {first: 10} |
filter - UserFilter
|
Specify to filter the records returned. Default = {} |
sorting - [UserSort!]
|
Specify to sort results. Default = [] |
Example
Query
query users(
$paging: CursorPaging,
$filter: UserFilter,
$sorting: [UserSort!]
) {
users(
paging: $paging,
filter: $filter,
sorting: $sorting
) {
pageInfo {
...PageInfoFragment
}
edges {
...UserEdgeFragment
}
totalCount
}
}
Variables
{"paging": {"first": 10}, "filter": {}, "sorting": [""]}
Response
{
"data": {
"users": {
"pageInfo": PageInfo,
"edges": [UserEdge],
"totalCount": 123
}
}
}
whoami
Response
Returns a User!
Example
Query
query whoami {
whoami {
id
pseudo
email
password
publicKey
credidential
public
createdAt
friendsAggregate {
...UserFriendsAggregateResponseFragment
}
performancesAggregate {
...UserPerformancesAggregateResponseFragment
}
reviewsAggregate {
...UserReviewsAggregateResponseFragment
}
likesAggregate {
...UserLikesAggregateResponseFragment
}
tablesAggregate {
...UserTablesAggregateResponseFragment
}
avatar {
...PhotoFragment
}
friends {
...UserFragment
}
performances {
...PerformanceFragment
}
reviews {
...ReviewFragment
}
likes {
...UserLikesConnectionFragment
}
tables {
...TableFragment
}
isFriend
}
}
Response
{
"data": {
"whoami": {
"id": "4",
"pseudo": "xyz789",
"email": "abc123",
"password": "abc123",
"publicKey": "xyz789",
"credidential": 987.65,
"public": false,
"createdAt": "2007-12-03T10:15:30Z",
"friendsAggregate": [UserFriendsAggregateResponse],
"performancesAggregate": [
UserPerformancesAggregateResponse
],
"reviewsAggregate": [UserReviewsAggregateResponse],
"likesAggregate": [UserLikesAggregateResponse],
"tablesAggregate": [UserTablesAggregateResponse],
"avatar": Photo,
"friends": [User],
"performances": [Performance],
"reviews": [Review],
"likes": UserLikesConnection,
"tables": [Table],
"isFriend": true
}
}
}
Mutations
addFriend
Example
Query
mutation addFriend($id: String!) {
addFriend(id: $id) {
id
pseudo
email
password
publicKey
credidential
public
createdAt
friendsAggregate {
...UserFriendsAggregateResponseFragment
}
performancesAggregate {
...UserPerformancesAggregateResponseFragment
}
reviewsAggregate {
...UserReviewsAggregateResponseFragment
}
likesAggregate {
...UserLikesAggregateResponseFragment
}
tablesAggregate {
...UserTablesAggregateResponseFragment
}
avatar {
...PhotoFragment
}
friends {
...UserFragment
}
performances {
...PerformanceFragment
}
reviews {
...ReviewFragment
}
likes {
...UserLikesConnectionFragment
}
tables {
...TableFragment
}
isFriend
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"addFriend": {
"id": 4,
"pseudo": "abc123",
"email": "xyz789",
"password": "xyz789",
"publicKey": "xyz789",
"credidential": 987.65,
"public": false,
"createdAt": "2007-12-03T10:15:30Z",
"friendsAggregate": [UserFriendsAggregateResponse],
"performancesAggregate": [
UserPerformancesAggregateResponse
],
"reviewsAggregate": [UserReviewsAggregateResponse],
"likesAggregate": [UserLikesAggregateResponse],
"tablesAggregate": [UserTablesAggregateResponse],
"avatar": Photo,
"friends": [User],
"performances": [Performance],
"reviews": [Review],
"likes": UserLikesConnection,
"tables": [Table],
"isFriend": true
}
}
}
addReview
Response
Returns a Review!
Arguments
| Name | Description |
|---|---|
input - ReviewInput!
|
Example
Query
mutation addReview($input: ReviewInput!) {
addReview(input: $input) {
id
rating
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{"input": ReviewInput}
Response
{
"data": {
"addReview": {
"id": "4",
"rating": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
}
}
addTagToHike
Example
Query
mutation addTagToHike(
$hikeId: String!,
$tagId: String!
) {
addTagToHike(
hikeId: $hikeId,
tagId: $tagId
) {
id
name
distance
elevation
description
difficulty
duration
track
latitude
longitude
createdAt
reviewsAggregate {
...HikeReviewsAggregateResponseFragment
}
alertsAggregate {
...HikeAlertsAggregateResponseFragment
}
owner {
...UserFragment
}
category {
...CategoryFragment
}
tags {
...TagFragment
}
photos {
...PhotoFragment
}
pointsOfInterests {
...PointOfInterestFragment
}
reviews {
...ReviewFragment
}
alerts {
...AlertFragment
}
performances {
...PerformanceFragment
}
distanceFrom
isLiked
}
}
Variables
{
"hikeId": "xyz789",
"tagId": "xyz789"
}
Response
{
"data": {
"addTagToHike": {
"id": "4",
"name": "abc123",
"distance": 123.45,
"elevation": 123.45,
"description": "abc123",
"difficulty": "EASY",
"duration": 123.45,
"track": "xyz789",
"latitude": 123.45,
"longitude": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"reviewsAggregate": [HikeReviewsAggregateResponse],
"alertsAggregate": [HikeAlertsAggregateResponse],
"owner": User,
"category": Category,
"tags": [Tag],
"photos": [Photo],
"pointsOfInterests": [PointOfInterest],
"reviews": [Review],
"alerts": [Alert],
"performances": [Performance],
"distanceFrom": 123.45,
"isLiked": true
}
}
}
changeAvatar
Response
Returns a Photo!
Arguments
| Name | Description |
|---|---|
input - PhotoInput!
|
Example
Query
mutation changeAvatar($input: PhotoInput!) {
changeAvatar(input: $input) {
id
filename
createdAt
}
}
Variables
{"input": PhotoInput}
Response
{
"data": {
"changeAvatar": {
"id": "4",
"filename": "xyz789",
"createdAt": "2007-12-03T10:15:30Z"
}
}
}
createCategory
Response
Returns a Category!
Arguments
| Name | Description |
|---|---|
input - CategoryInput!
|
Example
Query
mutation createCategory($input: CategoryInput!) {
createCategory(input: $input) {
id
name
createdAt
hikes {
...HikeFragment
}
defaultPhoto {
...PhotoFragment
}
}
}
Variables
{"input": CategoryInput}
Response
{
"data": {
"createCategory": {
"id": 4,
"name": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"defaultPhoto": Photo
}
}
}
createHike
Response
Returns a Hike!
Arguments
| Name | Description |
|---|---|
input - HikeInput!
|
Example
Query
mutation createHike($input: HikeInput!) {
createHike(input: $input) {
id
name
distance
elevation
description
difficulty
duration
track
latitude
longitude
createdAt
reviewsAggregate {
...HikeReviewsAggregateResponseFragment
}
alertsAggregate {
...HikeAlertsAggregateResponseFragment
}
owner {
...UserFragment
}
category {
...CategoryFragment
}
tags {
...TagFragment
}
photos {
...PhotoFragment
}
pointsOfInterests {
...PointOfInterestFragment
}
reviews {
...ReviewFragment
}
alerts {
...AlertFragment
}
performances {
...PerformanceFragment
}
distanceFrom
isLiked
}
}
Variables
{"input": HikeInput}
Response
{
"data": {
"createHike": {
"id": "4",
"name": "xyz789",
"distance": 987.65,
"elevation": 987.65,
"description": "abc123",
"difficulty": "EASY",
"duration": 987.65,
"track": "abc123",
"latitude": 987.65,
"longitude": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"reviewsAggregate": [HikeReviewsAggregateResponse],
"alertsAggregate": [HikeAlertsAggregateResponse],
"owner": User,
"category": Category,
"tags": [Tag],
"photos": [Photo],
"pointsOfInterests": [PointOfInterest],
"reviews": [Review],
"alerts": [Alert],
"performances": [Performance],
"distanceFrom": 987.65,
"isLiked": true
}
}
}
createPerformance
Response
Returns a Performance!
Arguments
| Name | Description |
|---|---|
input - PerformanceInput!
|
Example
Query
mutation createPerformance($input: PerformanceInput!) {
createPerformance(input: $input) {
id
date
distance
elevation
duration
track
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{"input": PerformanceInput}
Response
{
"data": {
"createPerformance": {
"id": "4",
"date": "2007-12-03T10:15:30Z",
"distance": 123.45,
"elevation": 123.45,
"duration": 123.45,
"track": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
}
}
createPhoto
Response
Returns a Photo!
Arguments
| Name | Description |
|---|---|
input - PhotoInput!
|
Example
Query
mutation createPhoto($input: PhotoInput!) {
createPhoto(input: $input) {
id
filename
createdAt
}
}
Variables
{"input": PhotoInput}
Response
{
"data": {
"createPhoto": {
"id": "4",
"filename": "xyz789",
"createdAt": "2007-12-03T10:15:30Z"
}
}
}
createPointOfInterest
Response
Returns a PointOfInterest!
Arguments
| Name | Description |
|---|---|
input - PointOfInterestInput!
|
Example
Query
mutation createPointOfInterest($input: PointOfInterestInput!) {
createPointOfInterest(input: $input) {
id
name
description
latitude
longitude
url
createdAt
photo {
...PhotoFragment
}
hikes {
...HikeFragment
}
}
}
Variables
{"input": PointOfInterestInput}
Response
{
"data": {
"createPointOfInterest": {
"id": "4",
"name": "xyz789",
"description": "abc123",
"latitude": 123.45,
"longitude": 987.65,
"url": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"photo": Photo,
"hikes": [Hike]
}
}
}
createTable
Response
Returns a Table!
Arguments
| Name | Description |
|---|---|
input - TableInput!
|
Example
Query
mutation createTable($input: TableInput!) {
createTable(input: $input) {
id
name
createdAt
hikes {
...HikeFragment
}
owner {
...UserFragment
}
}
}
Variables
{"input": TableInput}
Response
{
"data": {
"createTable": {
"id": 4,
"name": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"owner": User
}
}
}
createTag
Example
Query
mutation createTag($input: TagInput!) {
createTag(input: $input) {
id
name
createdAt
hikes {
...HikeFragment
}
}
}
Variables
{"input": TagInput}
Response
{
"data": {
"createTag": {
"id": "4",
"name": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": [Hike]
}
}
}
createUser
Response
Returns a User!
Arguments
| Name | Description |
|---|---|
input - UserInput!
|
Example
Query
mutation createUser($input: UserInput!) {
createUser(input: $input) {
id
pseudo
email
password
publicKey
credidential
public
createdAt
friendsAggregate {
...UserFriendsAggregateResponseFragment
}
performancesAggregate {
...UserPerformancesAggregateResponseFragment
}
reviewsAggregate {
...UserReviewsAggregateResponseFragment
}
likesAggregate {
...UserLikesAggregateResponseFragment
}
tablesAggregate {
...UserTablesAggregateResponseFragment
}
avatar {
...PhotoFragment
}
friends {
...UserFragment
}
performances {
...PerformanceFragment
}
reviews {
...ReviewFragment
}
likes {
...UserLikesConnectionFragment
}
tables {
...TableFragment
}
isFriend
}
}
Variables
{"input": UserInput}
Response
{
"data": {
"createUser": {
"id": 4,
"pseudo": "xyz789",
"email": "xyz789",
"password": "abc123",
"publicKey": "xyz789",
"credidential": 987.65,
"public": false,
"createdAt": "2007-12-03T10:15:30Z",
"friendsAggregate": [UserFriendsAggregateResponse],
"performancesAggregate": [
UserPerformancesAggregateResponse
],
"reviewsAggregate": [UserReviewsAggregateResponse],
"likesAggregate": [UserLikesAggregateResponse],
"tablesAggregate": [UserTablesAggregateResponse],
"avatar": Photo,
"friends": [User],
"performances": [Performance],
"reviews": [Review],
"likes": UserLikesConnection,
"tables": [Table],
"isFriend": true
}
}
}
deleteAccount
Response
Returns a User!
Example
Query
mutation deleteAccount {
deleteAccount {
id
pseudo
email
password
publicKey
credidential
public
createdAt
friendsAggregate {
...UserFriendsAggregateResponseFragment
}
performancesAggregate {
...UserPerformancesAggregateResponseFragment
}
reviewsAggregate {
...UserReviewsAggregateResponseFragment
}
likesAggregate {
...UserLikesAggregateResponseFragment
}
tablesAggregate {
...UserTablesAggregateResponseFragment
}
avatar {
...PhotoFragment
}
friends {
...UserFragment
}
performances {
...PerformanceFragment
}
reviews {
...ReviewFragment
}
likes {
...UserLikesConnectionFragment
}
tables {
...TableFragment
}
isFriend
}
}
Response
{
"data": {
"deleteAccount": {
"id": "4",
"pseudo": "abc123",
"email": "xyz789",
"password": "xyz789",
"publicKey": "abc123",
"credidential": 123.45,
"public": true,
"createdAt": "2007-12-03T10:15:30Z",
"friendsAggregate": [UserFriendsAggregateResponse],
"performancesAggregate": [
UserPerformancesAggregateResponse
],
"reviewsAggregate": [UserReviewsAggregateResponse],
"likesAggregate": [UserLikesAggregateResponse],
"tablesAggregate": [UserTablesAggregateResponse],
"avatar": Photo,
"friends": [User],
"performances": [Performance],
"reviews": [Review],
"likes": UserLikesConnection,
"tables": [Table],
"isFriend": false
}
}
}
deleteAlert
Example
Query
mutation deleteAlert($id: String!) {
deleteAlert(id: $id) {
id
latitude
longitude
type
createdAt
hike {
...HikeFragment
}
author {
...UserFragment
}
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"deleteAlert": {
"id": 4,
"latitude": 987.65,
"longitude": 987.65,
"type": "TRACK_CHANGE",
"createdAt": "2007-12-03T10:15:30Z",
"hike": Hike,
"author": User
}
}
}
deleteCategory
Example
Query
mutation deleteCategory($id: String!) {
deleteCategory(id: $id) {
id
name
createdAt
hikes {
...HikeFragment
}
defaultPhoto {
...PhotoFragment
}
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"deleteCategory": {
"id": 4,
"name": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"defaultPhoto": Photo
}
}
}
deleteHike
Example
Query
mutation deleteHike($id: String!) {
deleteHike(id: $id) {
id
name
distance
elevation
description
difficulty
duration
track
latitude
longitude
createdAt
reviewsAggregate {
...HikeReviewsAggregateResponseFragment
}
alertsAggregate {
...HikeAlertsAggregateResponseFragment
}
owner {
...UserFragment
}
category {
...CategoryFragment
}
tags {
...TagFragment
}
photos {
...PhotoFragment
}
pointsOfInterests {
...PointOfInterestFragment
}
reviews {
...ReviewFragment
}
alerts {
...AlertFragment
}
performances {
...PerformanceFragment
}
distanceFrom
isLiked
}
}
Variables
{"id": "xyz789"}
Response
{
"data": {
"deleteHike": {
"id": 4,
"name": "abc123",
"distance": 123.45,
"elevation": 123.45,
"description": "xyz789",
"difficulty": "EASY",
"duration": 987.65,
"track": "xyz789",
"latitude": 987.65,
"longitude": 123.45,
"createdAt": "2007-12-03T10:15:30Z",
"reviewsAggregate": [HikeReviewsAggregateResponse],
"alertsAggregate": [HikeAlertsAggregateResponse],
"owner": User,
"category": Category,
"tags": [Tag],
"photos": [Photo],
"pointsOfInterests": [PointOfInterest],
"reviews": [Review],
"alerts": [Alert],
"performances": [Performance],
"distanceFrom": 987.65,
"isLiked": false
}
}
}
deletePerformance
Response
Returns a Performance!
Arguments
| Name | Description |
|---|---|
id - String!
|
Example
Query
mutation deletePerformance($id: String!) {
deletePerformance(id: $id) {
id
date
distance
elevation
duration
track
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"deletePerformance": {
"id": 4,
"date": "2007-12-03T10:15:30Z",
"distance": 123.45,
"elevation": 123.45,
"duration": 987.65,
"track": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
}
}
deletePointOfInterest
Response
Returns a PointOfInterest!
Arguments
| Name | Description |
|---|---|
id - String!
|
Example
Query
mutation deletePointOfInterest($id: String!) {
deletePointOfInterest(id: $id) {
id
name
description
latitude
longitude
url
createdAt
photo {
...PhotoFragment
}
hikes {
...HikeFragment
}
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"deletePointOfInterest": {
"id": 4,
"name": "abc123",
"description": "abc123",
"latitude": 987.65,
"longitude": 123.45,
"url": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"photo": Photo,
"hikes": [Hike]
}
}
}
deleteReview
Example
Query
mutation deleteReview($id: String!) {
deleteReview(id: $id) {
id
rating
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"deleteReview": {
"id": 4,
"rating": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
}
}
deleteTable
Example
Query
mutation deleteTable($id: String!) {
deleteTable(id: $id) {
id
name
createdAt
hikes {
...HikeFragment
}
owner {
...UserFragment
}
}
}
Variables
{"id": "xyz789"}
Response
{
"data": {
"deleteTable": {
"id": 4,
"name": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"owner": User
}
}
}
deleteTag
Example
Query
mutation deleteTag($id: String!) {
deleteTag(id: $id) {
id
name
createdAt
hikes {
...HikeFragment
}
}
}
Variables
{"id": "xyz789"}
Response
{
"data": {
"deleteTag": {
"id": 4,
"name": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": [Hike]
}
}
}
likeHike
Example
Query
mutation likeHike($id: String!) {
likeHike(id: $id) {
id
name
distance
elevation
description
difficulty
duration
track
latitude
longitude
createdAt
reviewsAggregate {
...HikeReviewsAggregateResponseFragment
}
alertsAggregate {
...HikeAlertsAggregateResponseFragment
}
owner {
...UserFragment
}
category {
...CategoryFragment
}
tags {
...TagFragment
}
photos {
...PhotoFragment
}
pointsOfInterests {
...PointOfInterestFragment
}
reviews {
...ReviewFragment
}
alerts {
...AlertFragment
}
performances {
...PerformanceFragment
}
distanceFrom
isLiked
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"likeHike": {
"id": 4,
"name": "abc123",
"distance": 987.65,
"elevation": 987.65,
"description": "abc123",
"difficulty": "EASY",
"duration": 123.45,
"track": "xyz789",
"latitude": 987.65,
"longitude": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"reviewsAggregate": [HikeReviewsAggregateResponse],
"alertsAggregate": [HikeAlertsAggregateResponse],
"owner": User,
"category": Category,
"tags": [Tag],
"photos": [Photo],
"pointsOfInterests": [PointOfInterest],
"reviews": [Review],
"alerts": [Alert],
"performances": [Performance],
"distanceFrom": 987.65,
"isLiked": false
}
}
}
postAlert
Response
Returns an Alert!
Arguments
| Name | Description |
|---|---|
input - AlertInput!
|
Example
Query
mutation postAlert($input: AlertInput!) {
postAlert(input: $input) {
id
latitude
longitude
type
createdAt
hike {
...HikeFragment
}
author {
...UserFragment
}
}
}
Variables
{"input": AlertInput}
Response
{
"data": {
"postAlert": {
"id": 4,
"latitude": 123.45,
"longitude": 987.65,
"type": "TRACK_CHANGE",
"createdAt": "2007-12-03T10:15:30Z",
"hike": Hike,
"author": User
}
}
}
removeFriend
Example
Query
mutation removeFriend($id: String!) {
removeFriend(id: $id) {
id
pseudo
email
password
publicKey
credidential
public
createdAt
friendsAggregate {
...UserFriendsAggregateResponseFragment
}
performancesAggregate {
...UserPerformancesAggregateResponseFragment
}
reviewsAggregate {
...UserReviewsAggregateResponseFragment
}
likesAggregate {
...UserLikesAggregateResponseFragment
}
tablesAggregate {
...UserTablesAggregateResponseFragment
}
avatar {
...PhotoFragment
}
friends {
...UserFragment
}
performances {
...PerformanceFragment
}
reviews {
...ReviewFragment
}
likes {
...UserLikesConnectionFragment
}
tables {
...TableFragment
}
isFriend
}
}
Variables
{"id": "xyz789"}
Response
{
"data": {
"removeFriend": {
"id": 4,
"pseudo": "xyz789",
"email": "abc123",
"password": "abc123",
"publicKey": "abc123",
"credidential": 123.45,
"public": true,
"createdAt": "2007-12-03T10:15:30Z",
"friendsAggregate": [UserFriendsAggregateResponse],
"performancesAggregate": [
UserPerformancesAggregateResponse
],
"reviewsAggregate": [UserReviewsAggregateResponse],
"likesAggregate": [UserLikesAggregateResponse],
"tablesAggregate": [UserTablesAggregateResponse],
"avatar": Photo,
"friends": [User],
"performances": [Performance],
"reviews": [Review],
"likes": UserLikesConnection,
"tables": [Table],
"isFriend": true
}
}
}
removeHikesFromTable
Response
Returns a Table!
Arguments
| Name | Description |
|---|---|
input - RemoveHikesFromTableInput!
|
Example
Query
mutation removeHikesFromTable($input: RemoveHikesFromTableInput!) {
removeHikesFromTable(input: $input) {
id
name
createdAt
hikes {
...HikeFragment
}
owner {
...UserFragment
}
}
}
Variables
{"input": RemoveHikesFromTableInput}
Response
{
"data": {
"removeHikesFromTable": {
"id": "4",
"name": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"owner": User
}
}
}
removeTagFromHike
Example
Query
mutation removeTagFromHike(
$hikeId: String!,
$tagId: String!
) {
removeTagFromHike(
hikeId: $hikeId,
tagId: $tagId
) {
id
name
distance
elevation
description
difficulty
duration
track
latitude
longitude
createdAt
reviewsAggregate {
...HikeReviewsAggregateResponseFragment
}
alertsAggregate {
...HikeAlertsAggregateResponseFragment
}
owner {
...UserFragment
}
category {
...CategoryFragment
}
tags {
...TagFragment
}
photos {
...PhotoFragment
}
pointsOfInterests {
...PointOfInterestFragment
}
reviews {
...ReviewFragment
}
alerts {
...AlertFragment
}
performances {
...PerformanceFragment
}
distanceFrom
isLiked
}
}
Variables
{
"hikeId": "xyz789",
"tagId": "xyz789"
}
Response
{
"data": {
"removeTagFromHike": {
"id": 4,
"name": "xyz789",
"distance": 987.65,
"elevation": 987.65,
"description": "xyz789",
"difficulty": "EASY",
"duration": 123.45,
"track": "abc123",
"latitude": 123.45,
"longitude": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"reviewsAggregate": [HikeReviewsAggregateResponse],
"alertsAggregate": [HikeAlertsAggregateResponse],
"owner": User,
"category": Category,
"tags": [Tag],
"photos": [Photo],
"pointsOfInterests": [PointOfInterest],
"reviews": [Review],
"alerts": [Alert],
"performances": [Performance],
"distanceFrom": 123.45,
"isLiked": true
}
}
}
setHikesOnTable
Response
Returns a Table!
Arguments
| Name | Description |
|---|---|
input - SetHikesOnTableInput!
|
Example
Query
mutation setHikesOnTable($input: SetHikesOnTableInput!) {
setHikesOnTable(input: $input) {
id
name
createdAt
hikes {
...HikeFragment
}
owner {
...UserFragment
}
}
}
Variables
{"input": SetHikesOnTableInput}
Response
{
"data": {
"setHikesOnTable": {
"id": 4,
"name": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": Hike,
"owner": User
}
}
}
unlikeHike
Example
Query
mutation unlikeHike($id: String!) {
unlikeHike(id: $id) {
id
name
distance
elevation
description
difficulty
duration
track
latitude
longitude
createdAt
reviewsAggregate {
...HikeReviewsAggregateResponseFragment
}
alertsAggregate {
...HikeAlertsAggregateResponseFragment
}
owner {
...UserFragment
}
category {
...CategoryFragment
}
tags {
...TagFragment
}
photos {
...PhotoFragment
}
pointsOfInterests {
...PointOfInterestFragment
}
reviews {
...ReviewFragment
}
alerts {
...AlertFragment
}
performances {
...PerformanceFragment
}
distanceFrom
isLiked
}
}
Variables
{"id": "abc123"}
Response
{
"data": {
"unlikeHike": {
"id": 4,
"name": "xyz789",
"distance": 123.45,
"elevation": 987.65,
"description": "abc123",
"difficulty": "EASY",
"duration": 987.65,
"track": "abc123",
"latitude": 987.65,
"longitude": 123.45,
"createdAt": "2007-12-03T10:15:30Z",
"reviewsAggregate": [HikeReviewsAggregateResponse],
"alertsAggregate": [HikeAlertsAggregateResponse],
"owner": User,
"category": Category,
"tags": [Tag],
"photos": [Photo],
"pointsOfInterests": [PointOfInterest],
"reviews": [Review],
"alerts": [Alert],
"performances": [Performance],
"distanceFrom": 123.45,
"isLiked": true
}
}
}
updateReview
Response
Returns a Review!
Arguments
| Name | Description |
|---|---|
id - String!
|
|
input - ReviewInput!
|
Example
Query
mutation updateReview(
$id: String!,
$input: ReviewInput!
) {
updateReview(
id: $id,
input: $input
) {
id
rating
createdAt
user {
...UserFragment
}
hike {
...HikeFragment
}
}
}
Variables
{
"id": "abc123",
"input": ReviewInput
}
Response
{
"data": {
"updateReview": {
"id": 4,
"rating": 123.45,
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
}
}
updateUser
Response
Returns a User!
Arguments
| Name | Description |
|---|---|
id - String!
|
|
input - UserUpdateInput!
|
Example
Query
mutation updateUser(
$id: String!,
$input: UserUpdateInput!
) {
updateUser(
id: $id,
input: $input
) {
id
pseudo
email
password
publicKey
credidential
public
createdAt
friendsAggregate {
...UserFriendsAggregateResponseFragment
}
performancesAggregate {
...UserPerformancesAggregateResponseFragment
}
reviewsAggregate {
...UserReviewsAggregateResponseFragment
}
likesAggregate {
...UserLikesAggregateResponseFragment
}
tablesAggregate {
...UserTablesAggregateResponseFragment
}
avatar {
...PhotoFragment
}
friends {
...UserFragment
}
performances {
...PerformanceFragment
}
reviews {
...ReviewFragment
}
likes {
...UserLikesConnectionFragment
}
tables {
...TableFragment
}
isFriend
}
}
Variables
{
"id": "abc123",
"input": UserUpdateInput
}
Response
{
"data": {
"updateUser": {
"id": 4,
"pseudo": "abc123",
"email": "abc123",
"password": "xyz789",
"publicKey": "abc123",
"credidential": 987.65,
"public": true,
"createdAt": "2007-12-03T10:15:30Z",
"friendsAggregate": [UserFriendsAggregateResponse],
"performancesAggregate": [
UserPerformancesAggregateResponse
],
"reviewsAggregate": [UserReviewsAggregateResponse],
"likesAggregate": [UserLikesAggregateResponse],
"tablesAggregate": [UserTablesAggregateResponse],
"avatar": Photo,
"friends": [User],
"performances": [Performance],
"reviews": [Review],
"likes": UserLikesConnection,
"tables": [Table],
"isFriend": false
}
}
}
Types
Alert
AlertAggregateFilter
Fields
| Input Field | Description |
|---|---|
and - [AlertAggregateFilter!]
|
|
or - [AlertAggregateFilter!]
|
|
id - IDFilterComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
type - AlertTypeFilterComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [AlertAggregateFilter],
"or": [AlertAggregateFilter],
"id": IDFilterComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"type": AlertTypeFilterComparison,
"createdAt": DateFieldComparison
}
AlertFilter
Fields
| Input Field | Description |
|---|---|
and - [AlertFilter!]
|
|
or - [AlertFilter!]
|
|
id - IDFilterComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
type - AlertTypeFilterComparison
|
|
createdAt - DateFieldComparison
|
|
author - AlertFilterUserFilter
|
|
hike - AlertFilterHikeFilter
|
Example
{
"and": [AlertFilter],
"or": [AlertFilter],
"id": IDFilterComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"type": AlertTypeFilterComparison,
"createdAt": DateFieldComparison,
"author": AlertFilterUserFilter,
"hike": AlertFilterHikeFilter
}
AlertFilterHikeFilter
Fields
| Input Field | Description |
|---|---|
and - [AlertFilterHikeFilter!]
|
|
or - [AlertFilterHikeFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
difficulty - DifficultyFilterComparison
|
|
duration - NumberFieldComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [AlertFilterHikeFilter],
"or": [AlertFilterHikeFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"difficulty": DifficultyFilterComparison,
"duration": NumberFieldComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"createdAt": DateFieldComparison
}
AlertFilterUserFilter
Fields
| Input Field | Description |
|---|---|
and - [AlertFilterUserFilter!]
|
|
or - [AlertFilterUserFilter!]
|
|
id - IDFilterComparison
|
|
pseudo - StringFieldComparison
|
|
email - StringFieldComparison
|
|
password - StringFieldComparison
|
|
publicKey - StringFieldComparison
|
|
credidential - NumberFieldComparison
|
|
public - BooleanFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [AlertFilterUserFilter],
"or": [AlertFilterUserFilter],
"id": IDFilterComparison,
"pseudo": StringFieldComparison,
"email": StringFieldComparison,
"password": StringFieldComparison,
"publicKey": StringFieldComparison,
"credidential": NumberFieldComparison,
"public": BooleanFieldComparison,
"createdAt": DateFieldComparison
}
AlertInput
Fields
| Input Field | Description |
|---|---|
latitude - Float!
|
|
longitude - Float!
|
|
type - AlertType!
|
|
hikeId - String!
|
Example
{
"latitude": 123.45,
"longitude": 987.65,
"type": "TRACK_CHANGE",
"hikeId": "abc123"
}
AlertSort
Fields
| Input Field | Description |
|---|---|
field - AlertSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
AlertSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"id"
AlertType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"TRACK_CHANGE"
AlertTypeFilterComparison
Example
{
"is": true,
"isNot": false,
"eq": "TRACK_CHANGE",
"neq": "TRACK_CHANGE",
"gt": "TRACK_CHANGE",
"gte": "TRACK_CHANGE",
"lt": "TRACK_CHANGE",
"lte": "TRACK_CHANGE",
"like": "TRACK_CHANGE",
"notLike": "TRACK_CHANGE",
"iLike": "TRACK_CHANGE",
"notILike": "TRACK_CHANGE",
"in": ["TRACK_CHANGE"],
"notIn": ["TRACK_CHANGE"]
}
Boolean
Description
The Boolean scalar type represents true or false.
Example
true
BooleanFieldComparison
Category
CategoryFilter
Fields
| Input Field | Description |
|---|---|
and - [CategoryFilter!]
|
|
or - [CategoryFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [CategoryFilter],
"or": [CategoryFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"createdAt": DateFieldComparison
}
CategoryInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
Example
{"name": "abc123"}
CategorySort
Fields
| Input Field | Description |
|---|---|
field - CategorySortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
CategorySortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"id"
ConnectionCursor
Description
Cursor for paging through collections
Example
ConnectionCursor
CursorPaging
Fields
| Input Field | Description |
|---|---|
before - ConnectionCursor
|
Paginate before opaque cursor |
after - ConnectionCursor
|
Paginate after opaque cursor |
first - Int
|
Paginate first |
last - Int
|
Paginate last |
Example
{
"before": ConnectionCursor,
"after": ConnectionCursor,
"first": 123,
"last": 987
}
CustomHikeConnection
Fields
| Field Name | Description |
|---|---|
pageInfo - CustomPageInfo!
|
|
edges - [CustomHikeEdge!]!
|
|
totalCount - Float!
|
Example
{
"pageInfo": CustomPageInfo,
"edges": [CustomHikeEdge],
"totalCount": 123.45
}
CustomHikeEdge
CustomPageInfo
DateFieldComparison
Fields
| Input Field | Description |
|---|---|
is - Boolean
|
|
isNot - Boolean
|
|
eq - DateTime
|
|
neq - DateTime
|
|
gt - DateTime
|
|
gte - DateTime
|
|
lt - DateTime
|
|
lte - DateTime
|
|
in - [DateTime!]
|
|
notIn - [DateTime!]
|
|
between - DateFieldComparisonBetween
|
|
notBetween - DateFieldComparisonBetween
|
Example
{
"is": false,
"isNot": false,
"eq": "2007-12-03T10:15:30Z",
"neq": "2007-12-03T10:15:30Z",
"gt": "2007-12-03T10:15:30Z",
"gte": "2007-12-03T10:15:30Z",
"lt": "2007-12-03T10:15:30Z",
"lte": "2007-12-03T10:15:30Z",
"in": ["2007-12-03T10:15:30Z"],
"notIn": ["2007-12-03T10:15:30Z"],
"between": DateFieldComparisonBetween,
"notBetween": DateFieldComparisonBetween
}
DateFieldComparisonBetween
DateTime
Description
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
Example
"2007-12-03T10:15:30Z"
Difficulty
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"EASY"
DifficultyFilterComparison
Fields
| Input Field | Description |
|---|---|
is - Boolean
|
|
isNot - Boolean
|
|
eq - Difficulty
|
|
neq - Difficulty
|
|
gt - Difficulty
|
|
gte - Difficulty
|
|
lt - Difficulty
|
|
lte - Difficulty
|
|
like - Difficulty
|
|
notLike - Difficulty
|
|
iLike - Difficulty
|
|
notILike - Difficulty
|
|
in - [Difficulty!]
|
|
notIn - [Difficulty!]
|
Example
{
"is": true,
"isNot": true,
"eq": "EASY",
"neq": "EASY",
"gt": "EASY",
"gte": "EASY",
"lt": "EASY",
"lte": "EASY",
"like": "EASY",
"notLike": "EASY",
"iLike": "EASY",
"notILike": "EASY",
"in": ["EASY"],
"notIn": ["EASY"]
}
Float
Description
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
123.45
Hike
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
distance - Float!
|
|
elevation - Float!
|
|
description - String!
|
|
difficulty - Difficulty!
|
|
duration - Float
|
|
track - String!
|
|
latitude - Float!
|
|
longitude - Float!
|
|
createdAt - DateTime!
|
|
reviewsAggregate - [HikeReviewsAggregateResponse!]!
|
|
Arguments
|
|
alertsAggregate - [HikeAlertsAggregateResponse!]!
|
|
Arguments
|
|
owner - User!
|
|
category - Category
|
|
tags - [Tag!]
|
|
Arguments
|
|
photos - [Photo!]
|
|
Arguments
|
|
pointsOfInterests - [PointOfInterest!]
|
|
Arguments
|
|
reviews - [Review!]
|
|
Arguments
|
|
alerts - [Alert!]
|
|
Arguments
|
|
performances - [Performance!]
|
|
Arguments
|
|
distanceFrom - Float!
|
|
isLiked - Boolean!
|
|
Example
{
"id": "4",
"name": "xyz789",
"distance": 123.45,
"elevation": 123.45,
"description": "xyz789",
"difficulty": "EASY",
"duration": 123.45,
"track": "xyz789",
"latitude": 987.65,
"longitude": 987.65,
"createdAt": "2007-12-03T10:15:30Z",
"reviewsAggregate": [HikeReviewsAggregateResponse],
"alertsAggregate": [HikeAlertsAggregateResponse],
"owner": User,
"category": Category,
"tags": [Tag],
"photos": [Photo],
"pointsOfInterests": [PointOfInterest],
"reviews": [Review],
"alerts": [Alert],
"performances": [Performance],
"distanceFrom": 123.45,
"isLiked": true
}
HikeAggregateFilter
Fields
| Input Field | Description |
|---|---|
and - [HikeAggregateFilter!]
|
|
or - [HikeAggregateFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
difficulty - DifficultyFilterComparison
|
|
duration - NumberFieldComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [HikeAggregateFilter],
"or": [HikeAggregateFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"difficulty": DifficultyFilterComparison,
"duration": NumberFieldComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"createdAt": DateFieldComparison
}
HikeAggregateGroupBy
Example
{
"id": "4",
"name": "abc123",
"distance": 987.65,
"elevation": 123.45,
"difficulty": "EASY",
"duration": 123.45,
"latitude": 123.45,
"longitude": 987.65,
"createdAt": "2007-12-03T10:15:30Z"
}
HikeAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - HikeAggregateGroupBy
|
|
count - HikeCountAggregate
|
|
sum - HikeSumAggregate
|
|
avg - HikeAvgAggregate
|
|
min - HikeMinAggregate
|
|
max - HikeMaxAggregate
|
Example
{
"groupBy": HikeAggregateGroupBy,
"count": HikeCountAggregate,
"sum": HikeSumAggregate,
"avg": HikeAvgAggregate,
"min": HikeMinAggregate,
"max": HikeMaxAggregate
}
HikeAlertsAggregateGroupBy
HikeAlertsAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - HikeAlertsAggregateGroupBy
|
|
count - HikeAlertsCountAggregate
|
|
sum - HikeAlertsSumAggregate
|
|
avg - HikeAlertsAvgAggregate
|
|
min - HikeAlertsMinAggregate
|
|
max - HikeAlertsMaxAggregate
|
Example
{
"groupBy": HikeAlertsAggregateGroupBy,
"count": HikeAlertsCountAggregate,
"sum": HikeAlertsSumAggregate,
"avg": HikeAlertsAvgAggregate,
"min": HikeAlertsMinAggregate,
"max": HikeAlertsMaxAggregate
}
HikeAlertsAvgAggregate
HikeAlertsCountAggregate
HikeAlertsMaxAggregate
HikeAlertsMinAggregate
HikeAlertsSumAggregate
HikeAvgAggregate
HikeConnection
Fields
| Field Name | Description |
|---|---|
pageInfo - PageInfo!
|
Paging information |
edges - [HikeEdge!]!
|
Array of edges. |
totalCount - Int!
|
Fetch total count of records |
Example
{
"pageInfo": PageInfo,
"edges": [HikeEdge],
"totalCount": 987
}
HikeCountAggregate
Example
{
"id": 987,
"name": 123,
"distance": 987,
"elevation": 123,
"difficulty": 123,
"duration": 987,
"latitude": 987,
"longitude": 123,
"createdAt": 123
}
HikeEdge
Fields
| Field Name | Description |
|---|---|
node - Hike!
|
The node containing the Hike |
cursor - ConnectionCursor!
|
Cursor for this node. |
Example
{
"node": Hike,
"cursor": ConnectionCursor
}
HikeFilter
Fields
| Input Field | Description |
|---|---|
and - [HikeFilter!]
|
|
or - [HikeFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
difficulty - DifficultyFilterComparison
|
|
duration - NumberFieldComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
|
category - HikeFilterCategoryFilter
|
|
performances - HikeFilterPerformanceFilter
|
|
alerts - HikeFilterAlertFilter
|
|
reviews - HikeFilterReviewFilter
|
|
pointsOfInterest - HikeFilterPointOfInterestFilter
|
|
tags - HikeFilterTagFilter
|
Example
{
"and": [HikeFilter],
"or": [HikeFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"difficulty": DifficultyFilterComparison,
"duration": NumberFieldComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"createdAt": DateFieldComparison,
"category": HikeFilterCategoryFilter,
"performances": HikeFilterPerformanceFilter,
"alerts": HikeFilterAlertFilter,
"reviews": HikeFilterReviewFilter,
"pointsOfInterest": HikeFilterPointOfInterestFilter,
"tags": HikeFilterTagFilter
}
HikeFilterAlertFilter
Fields
| Input Field | Description |
|---|---|
and - [HikeFilterAlertFilter!]
|
|
or - [HikeFilterAlertFilter!]
|
|
id - IDFilterComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
type - AlertTypeFilterComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [HikeFilterAlertFilter],
"or": [HikeFilterAlertFilter],
"id": IDFilterComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"type": AlertTypeFilterComparison,
"createdAt": DateFieldComparison
}
HikeFilterCategoryFilter
Fields
| Input Field | Description |
|---|---|
and - [HikeFilterCategoryFilter!]
|
|
or - [HikeFilterCategoryFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [HikeFilterCategoryFilter],
"or": [HikeFilterCategoryFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"createdAt": DateFieldComparison
}
HikeFilterPerformanceFilter
Fields
| Input Field | Description |
|---|---|
and - [HikeFilterPerformanceFilter!]
|
|
or - [HikeFilterPerformanceFilter!]
|
|
id - IDFilterComparison
|
|
date - DateFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
duration - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [HikeFilterPerformanceFilter],
"or": [HikeFilterPerformanceFilter],
"id": IDFilterComparison,
"date": DateFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"duration": NumberFieldComparison,
"createdAt": DateFieldComparison
}
HikeFilterPointOfInterestFilter
Fields
| Input Field | Description |
|---|---|
and - [HikeFilterPointOfInterestFilter!]
|
|
or - [HikeFilterPointOfInterestFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [HikeFilterPointOfInterestFilter],
"or": [HikeFilterPointOfInterestFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"createdAt": DateFieldComparison
}
HikeFilterReviewFilter
Fields
| Input Field | Description |
|---|---|
and - [HikeFilterReviewFilter!]
|
|
or - [HikeFilterReviewFilter!]
|
|
id - IDFilterComparison
|
|
rating - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [HikeFilterReviewFilter],
"or": [HikeFilterReviewFilter],
"id": IDFilterComparison,
"rating": NumberFieldComparison,
"createdAt": DateFieldComparison
}
HikeFilterTagFilter
Fields
| Input Field | Description |
|---|---|
and - [HikeFilterTagFilter!]
|
|
or - [HikeFilterTagFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [HikeFilterTagFilter],
"or": [HikeFilterTagFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"createdAt": DateFieldComparison
}
HikeInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
|
distance - Float!
|
|
elevation - Float!
|
|
description - String!
|
|
difficulty - Difficulty!
|
|
track - Upload!
|
|
latitude - Float!
|
|
longitude - Float!
|
|
tagsId - [String!]!
|
|
categoryId - String!
|
Example
{
"name": "xyz789",
"distance": 123.45,
"elevation": 123.45,
"description": "xyz789",
"difficulty": "EASY",
"track": Upload,
"latitude": 123.45,
"longitude": 987.65,
"tagsId": ["xyz789"],
"categoryId": "xyz789"
}
HikeMaxAggregate
Example
{
"id": "4",
"name": "xyz789",
"distance": 123.45,
"elevation": 123.45,
"difficulty": "EASY",
"duration": 987.65,
"latitude": 987.65,
"longitude": 123.45,
"createdAt": "2007-12-03T10:15:30Z"
}
HikeMinAggregate
Example
{
"id": 4,
"name": "xyz789",
"distance": 987.65,
"elevation": 987.65,
"difficulty": "EASY",
"duration": 987.65,
"latitude": 987.65,
"longitude": 123.45,
"createdAt": "2007-12-03T10:15:30Z"
}
HikeReviewsAggregateGroupBy
HikeReviewsAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - HikeReviewsAggregateGroupBy
|
|
count - HikeReviewsCountAggregate
|
|
sum - HikeReviewsSumAggregate
|
|
avg - HikeReviewsAvgAggregate
|
|
min - HikeReviewsMinAggregate
|
|
max - HikeReviewsMaxAggregate
|
Example
{
"groupBy": HikeReviewsAggregateGroupBy,
"count": HikeReviewsCountAggregate,
"sum": HikeReviewsSumAggregate,
"avg": HikeReviewsAvgAggregate,
"min": HikeReviewsMinAggregate,
"max": HikeReviewsMaxAggregate
}
HikeReviewsAvgAggregate
Fields
| Field Name | Description |
|---|---|
rating - Float
|
Example
{"rating": 987.65}
HikeReviewsCountAggregate
HikeReviewsMaxAggregate
HikeReviewsMinAggregate
HikeReviewsSumAggregate
Fields
| Field Name | Description |
|---|---|
rating - Float
|
Example
{"rating": 987.65}
HikeSort
Fields
| Input Field | Description |
|---|---|
field - HikeSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
HikeSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"id"
HikeSumAggregate
ID
Description
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Example
"4"
IDFilterComparison
Example
{
"is": false,
"isNot": true,
"eq": 4,
"neq": "4",
"gt": "4",
"gte": 4,
"lt": "4",
"lte": "4",
"like": 4,
"notLike": "4",
"iLike": "4",
"notILike": "4",
"in": ["4"],
"notIn": ["4"]
}
Int
Description
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
987
NumberFieldComparison
Example
{
"is": false,
"isNot": false,
"eq": 987.65,
"neq": 123.45,
"gt": 987.65,
"gte": 123.45,
"lt": 987.65,
"lte": 123.45,
"in": [123.45],
"notIn": [123.45],
"between": NumberFieldComparisonBetween,
"notBetween": NumberFieldComparisonBetween
}
NumberFieldComparisonBetween
ObjType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"HIKE"
PageInfo
Fields
| Field Name | Description |
|---|---|
hasNextPage - Boolean
|
true if paging forward and there are more records. |
hasPreviousPage - Boolean
|
true if paging backwards and there are more records. |
startCursor - ConnectionCursor
|
The cursor of the first returned record. |
endCursor - ConnectionCursor
|
The cursor of the last returned record. |
Example
{
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": ConnectionCursor,
"endCursor": ConnectionCursor
}
Performance
Example
{
"id": "4",
"date": "2007-12-03T10:15:30Z",
"distance": 123.45,
"elevation": 987.65,
"duration": 123.45,
"track": "xyz789",
"createdAt": "2007-12-03T10:15:30Z",
"user": User,
"hike": Hike
}
PerformanceAggregateFilter
Fields
| Input Field | Description |
|---|---|
and - [PerformanceAggregateFilter!]
|
|
or - [PerformanceAggregateFilter!]
|
|
id - IDFilterComparison
|
|
date - DateFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
duration - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [PerformanceAggregateFilter],
"or": [PerformanceAggregateFilter],
"id": IDFilterComparison,
"date": DateFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"duration": NumberFieldComparison,
"createdAt": DateFieldComparison
}
PerformanceAggregateGroupBy
PerformanceAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - PerformanceAggregateGroupBy
|
|
count - PerformanceCountAggregate
|
|
sum - PerformanceSumAggregate
|
|
avg - PerformanceAvgAggregate
|
|
min - PerformanceMinAggregate
|
|
max - PerformanceMaxAggregate
|
Example
{
"groupBy": PerformanceAggregateGroupBy,
"count": PerformanceCountAggregate,
"sum": PerformanceSumAggregate,
"avg": PerformanceAvgAggregate,
"min": PerformanceMinAggregate,
"max": PerformanceMaxAggregate
}
PerformanceAvgAggregate
PerformanceCountAggregate
PerformanceFilter
Fields
| Input Field | Description |
|---|---|
and - [PerformanceFilter!]
|
|
or - [PerformanceFilter!]
|
|
id - IDFilterComparison
|
|
date - DateFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
duration - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
|
hike - PerformanceFilterHikeFilter
|
|
user - PerformanceFilterUserFilter
|
Example
{
"and": [PerformanceFilter],
"or": [PerformanceFilter],
"id": IDFilterComparison,
"date": DateFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"duration": NumberFieldComparison,
"createdAt": DateFieldComparison,
"hike": PerformanceFilterHikeFilter,
"user": PerformanceFilterUserFilter
}
PerformanceFilterHikeFilter
Fields
| Input Field | Description |
|---|---|
and - [PerformanceFilterHikeFilter!]
|
|
or - [PerformanceFilterHikeFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
difficulty - DifficultyFilterComparison
|
|
duration - NumberFieldComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [PerformanceFilterHikeFilter],
"or": [PerformanceFilterHikeFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"difficulty": DifficultyFilterComparison,
"duration": NumberFieldComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"createdAt": DateFieldComparison
}
PerformanceFilterUserFilter
Fields
| Input Field | Description |
|---|---|
and - [PerformanceFilterUserFilter!]
|
|
or - [PerformanceFilterUserFilter!]
|
|
id - IDFilterComparison
|
|
pseudo - StringFieldComparison
|
|
email - StringFieldComparison
|
|
password - StringFieldComparison
|
|
publicKey - StringFieldComparison
|
|
credidential - NumberFieldComparison
|
|
public - BooleanFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [PerformanceFilterUserFilter],
"or": [PerformanceFilterUserFilter],
"id": IDFilterComparison,
"pseudo": StringFieldComparison,
"email": StringFieldComparison,
"password": StringFieldComparison,
"publicKey": StringFieldComparison,
"credidential": NumberFieldComparison,
"public": BooleanFieldComparison,
"createdAt": DateFieldComparison
}
PerformanceInput
PerformanceMaxAggregate
PerformanceMinAggregate
PerformanceSort
Fields
| Input Field | Description |
|---|---|
field - PerformanceSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
PerformanceSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"id"
PerformanceSumAggregate
Photo
PhotoFilter
Fields
| Input Field | Description |
|---|---|
and - [PhotoFilter!]
|
|
or - [PhotoFilter!]
|
|
id - IDFilterComparison
|
|
filename - StringFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [PhotoFilter],
"or": [PhotoFilter],
"id": IDFilterComparison,
"filename": StringFieldComparison,
"createdAt": DateFieldComparison
}
PhotoInput
PhotoSort
Fields
| Input Field | Description |
|---|---|
field - PhotoSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
PhotoSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"id"
PointOfInterest
Example
{
"id": 4,
"name": "xyz789",
"description": "abc123",
"latitude": 987.65,
"longitude": 123.45,
"url": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"photo": Photo,
"hikes": [Hike]
}
PointOfInterestFilter
Fields
| Input Field | Description |
|---|---|
and - [PointOfInterestFilter!]
|
|
or - [PointOfInterestFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
|
hikes - PointOfInterestFilterHikeFilter
|
Example
{
"and": [PointOfInterestFilter],
"or": [PointOfInterestFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"createdAt": DateFieldComparison,
"hikes": PointOfInterestFilterHikeFilter
}
PointOfInterestFilterHikeFilter
Fields
| Input Field | Description |
|---|---|
and - [PointOfInterestFilterHikeFilter!]
|
|
or - [PointOfInterestFilterHikeFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
difficulty - DifficultyFilterComparison
|
|
duration - NumberFieldComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [PointOfInterestFilterHikeFilter],
"or": [PointOfInterestFilterHikeFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"difficulty": DifficultyFilterComparison,
"duration": NumberFieldComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"createdAt": DateFieldComparison
}
PointOfInterestInput
PointOfInterestSort
Fields
| Input Field | Description |
|---|---|
field - PointOfInterestSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
PointOfInterestSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"id"
RemoveHikesFromTableInput
Review
ReviewAggregateFilter
Fields
| Input Field | Description |
|---|---|
and - [ReviewAggregateFilter!]
|
|
or - [ReviewAggregateFilter!]
|
|
id - IDFilterComparison
|
|
rating - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [ReviewAggregateFilter],
"or": [ReviewAggregateFilter],
"id": IDFilterComparison,
"rating": NumberFieldComparison,
"createdAt": DateFieldComparison
}
ReviewAggregateGroupBy
ReviewAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - ReviewAggregateGroupBy
|
|
count - ReviewCountAggregate
|
|
sum - ReviewSumAggregate
|
|
avg - ReviewAvgAggregate
|
|
min - ReviewMinAggregate
|
|
max - ReviewMaxAggregate
|
Example
{
"groupBy": ReviewAggregateGroupBy,
"count": ReviewCountAggregate,
"sum": ReviewSumAggregate,
"avg": ReviewAvgAggregate,
"min": ReviewMinAggregate,
"max": ReviewMaxAggregate
}
ReviewAvgAggregate
Fields
| Field Name | Description |
|---|---|
rating - Float
|
Example
{"rating": 123.45}
ReviewCountAggregate
ReviewFilter
Fields
| Input Field | Description |
|---|---|
and - [ReviewFilter!]
|
|
or - [ReviewFilter!]
|
|
id - IDFilterComparison
|
|
rating - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
|
hike - ReviewFilterHikeFilter
|
|
user - ReviewFilterUserFilter
|
Example
{
"and": [ReviewFilter],
"or": [ReviewFilter],
"id": IDFilterComparison,
"rating": NumberFieldComparison,
"createdAt": DateFieldComparison,
"hike": ReviewFilterHikeFilter,
"user": ReviewFilterUserFilter
}
ReviewFilterHikeFilter
Fields
| Input Field | Description |
|---|---|
and - [ReviewFilterHikeFilter!]
|
|
or - [ReviewFilterHikeFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
distance - NumberFieldComparison
|
|
elevation - NumberFieldComparison
|
|
difficulty - DifficultyFilterComparison
|
|
duration - NumberFieldComparison
|
|
latitude - NumberFieldComparison
|
|
longitude - NumberFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [ReviewFilterHikeFilter],
"or": [ReviewFilterHikeFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"distance": NumberFieldComparison,
"elevation": NumberFieldComparison,
"difficulty": DifficultyFilterComparison,
"duration": NumberFieldComparison,
"latitude": NumberFieldComparison,
"longitude": NumberFieldComparison,
"createdAt": DateFieldComparison
}
ReviewFilterUserFilter
Fields
| Input Field | Description |
|---|---|
and - [ReviewFilterUserFilter!]
|
|
or - [ReviewFilterUserFilter!]
|
|
id - IDFilterComparison
|
|
pseudo - StringFieldComparison
|
|
email - StringFieldComparison
|
|
password - StringFieldComparison
|
|
publicKey - StringFieldComparison
|
|
credidential - NumberFieldComparison
|
|
public - BooleanFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [ReviewFilterUserFilter],
"or": [ReviewFilterUserFilter],
"id": IDFilterComparison,
"pseudo": StringFieldComparison,
"email": StringFieldComparison,
"password": StringFieldComparison,
"publicKey": StringFieldComparison,
"credidential": NumberFieldComparison,
"public": BooleanFieldComparison,
"createdAt": DateFieldComparison
}
ReviewInput
ReviewMaxAggregate
ReviewMinAggregate
ReviewSort
Fields
| Input Field | Description |
|---|---|
field - ReviewSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
ReviewSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"id"
ReviewSumAggregate
Fields
| Field Name | Description |
|---|---|
rating - Float
|
Example
{"rating": 123.45}
SetHikesOnTableInput
SortDirection
Description
Sort Directions
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASC"
SortNulls
Description
Sort Nulls Options
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"NULLS_FIRST"
String
Description
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"abc123"
StringFieldComparison
Example
{
"is": true,
"isNot": false,
"eq": "abc123",
"neq": "abc123",
"gt": "abc123",
"gte": "abc123",
"lt": "abc123",
"lte": "xyz789",
"like": "xyz789",
"notLike": "xyz789",
"iLike": "xyz789",
"notILike": "xyz789",
"in": ["xyz789"],
"notIn": ["abc123"]
}
Table
TableAggregateFilter
Fields
| Input Field | Description |
|---|---|
and - [TableAggregateFilter!]
|
|
or - [TableAggregateFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [TableAggregateFilter],
"or": [TableAggregateFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"createdAt": DateFieldComparison
}
TableFilter
Fields
| Input Field | Description |
|---|---|
and - [TableFilter!]
|
|
or - [TableFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [TableFilter],
"or": [TableFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"createdAt": DateFieldComparison
}
TableInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
Example
{"name": "abc123"}
TableSort
Fields
| Input Field | Description |
|---|---|
field - TableSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
TableSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"id"
Tag
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
name - String!
|
|
createdAt - DateTime!
|
|
hikes - [Hike!]
|
|
Arguments
|
|
Example
{
"id": "4",
"name": "abc123",
"createdAt": "2007-12-03T10:15:30Z",
"hikes": [Hike]
}
TagFilter
Fields
| Input Field | Description |
|---|---|
and - [TagFilter!]
|
|
or - [TagFilter!]
|
|
id - IDFilterComparison
|
|
name - StringFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [TagFilter],
"or": [TagFilter],
"id": IDFilterComparison,
"name": StringFieldComparison,
"createdAt": DateFieldComparison
}
TagInput
Fields
| Input Field | Description |
|---|---|
name - String!
|
Example
{"name": "abc123"}
TagSort
Fields
| Input Field | Description |
|---|---|
field - TagSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
TagSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"id"
Upload
Description
The Upload scalar type represents a file upload.
Example
Upload
User
Fields
| Field Name | Description |
|---|---|
id - ID!
|
|
pseudo - String!
|
|
email - String!
|
|
password - String!
|
|
publicKey - String!
|
|
credidential - Float!
|
|
public - Boolean!
|
|
createdAt - DateTime!
|
|
friendsAggregate - [UserFriendsAggregateResponse!]!
|
|
Arguments
|
|
performancesAggregate - [UserPerformancesAggregateResponse!]!
|
|
Arguments
|
|
reviewsAggregate - [UserReviewsAggregateResponse!]!
|
|
Arguments
|
|
likesAggregate - [UserLikesAggregateResponse!]!
|
|
Arguments
|
|
tablesAggregate - [UserTablesAggregateResponse!]!
|
|
Arguments
|
|
avatar - Photo
|
|
friends - [User!]!
|
|
Arguments
|
|
performances - [Performance!]!
|
|
Arguments
|
|
reviews - [Review!]!
|
|
Arguments
|
|
likes - UserLikesConnection!
|
|
Arguments
|
|
tables - [Table!]!
|
|
Arguments
|
|
isFriend - Boolean!
|
|
Example
{
"id": "4",
"pseudo": "xyz789",
"email": "xyz789",
"password": "abc123",
"publicKey": "xyz789",
"credidential": 987.65,
"public": false,
"createdAt": "2007-12-03T10:15:30Z",
"friendsAggregate": [UserFriendsAggregateResponse],
"performancesAggregate": [
UserPerformancesAggregateResponse
],
"reviewsAggregate": [UserReviewsAggregateResponse],
"likesAggregate": [UserLikesAggregateResponse],
"tablesAggregate": [UserTablesAggregateResponse],
"avatar": Photo,
"friends": [User],
"performances": [Performance],
"reviews": [Review],
"likes": UserLikesConnection,
"tables": [Table],
"isFriend": true
}
UserAggregateFilter
Fields
| Input Field | Description |
|---|---|
and - [UserAggregateFilter!]
|
|
or - [UserAggregateFilter!]
|
|
id - IDFilterComparison
|
|
pseudo - StringFieldComparison
|
|
email - StringFieldComparison
|
|
password - StringFieldComparison
|
|
publicKey - StringFieldComparison
|
|
credidential - NumberFieldComparison
|
|
public - BooleanFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [UserAggregateFilter],
"or": [UserAggregateFilter],
"id": IDFilterComparison,
"pseudo": StringFieldComparison,
"email": StringFieldComparison,
"password": StringFieldComparison,
"publicKey": StringFieldComparison,
"credidential": NumberFieldComparison,
"public": BooleanFieldComparison,
"createdAt": DateFieldComparison
}
UserAggregateGroupBy
Example
{
"id": 4,
"pseudo": "xyz789",
"email": "abc123",
"password": "xyz789",
"publicKey": "abc123",
"credidential": 123.45,
"public": false,
"createdAt": "2007-12-03T10:15:30Z"
}
UserAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - UserAggregateGroupBy
|
|
count - UserCountAggregate
|
|
sum - UserSumAggregate
|
|
avg - UserAvgAggregate
|
|
min - UserMinAggregate
|
|
max - UserMaxAggregate
|
Example
{
"groupBy": UserAggregateGroupBy,
"count": UserCountAggregate,
"sum": UserSumAggregate,
"avg": UserAvgAggregate,
"min": UserMinAggregate,
"max": UserMaxAggregate
}
UserAvgAggregate
Fields
| Field Name | Description |
|---|---|
credidential - Float
|
Example
{"credidential": 123.45}
UserConnection
Fields
| Field Name | Description |
|---|---|
pageInfo - PageInfo!
|
Paging information |
edges - [UserEdge!]!
|
Array of edges. |
totalCount - Int!
|
Fetch total count of records |
Example
{
"pageInfo": PageInfo,
"edges": [UserEdge],
"totalCount": 123
}
UserCountAggregate
UserEdge
Fields
| Field Name | Description |
|---|---|
node - User!
|
The node containing the User |
cursor - ConnectionCursor!
|
Cursor for this node. |
Example
{
"node": User,
"cursor": ConnectionCursor
}
UserFilter
Fields
| Input Field | Description |
|---|---|
and - [UserFilter!]
|
|
or - [UserFilter!]
|
|
id - IDFilterComparison
|
|
pseudo - StringFieldComparison
|
|
email - StringFieldComparison
|
|
password - StringFieldComparison
|
|
publicKey - StringFieldComparison
|
|
credidential - NumberFieldComparison
|
|
public - BooleanFieldComparison
|
|
createdAt - DateFieldComparison
|
Example
{
"and": [UserFilter],
"or": [UserFilter],
"id": IDFilterComparison,
"pseudo": StringFieldComparison,
"email": StringFieldComparison,
"password": StringFieldComparison,
"publicKey": StringFieldComparison,
"credidential": NumberFieldComparison,
"public": BooleanFieldComparison,
"createdAt": DateFieldComparison
}
UserFriendsAggregateGroupBy
Example
{
"id": "4",
"pseudo": "abc123",
"email": "xyz789",
"password": "abc123",
"publicKey": "xyz789",
"credidential": 987.65,
"public": false,
"createdAt": "2007-12-03T10:15:30Z"
}
UserFriendsAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - UserFriendsAggregateGroupBy
|
|
count - UserFriendsCountAggregate
|
|
sum - UserFriendsSumAggregate
|
|
avg - UserFriendsAvgAggregate
|
|
min - UserFriendsMinAggregate
|
|
max - UserFriendsMaxAggregate
|
Example
{
"groupBy": UserFriendsAggregateGroupBy,
"count": UserFriendsCountAggregate,
"sum": UserFriendsSumAggregate,
"avg": UserFriendsAvgAggregate,
"min": UserFriendsMinAggregate,
"max": UserFriendsMaxAggregate
}
UserFriendsAvgAggregate
Fields
| Field Name | Description |
|---|---|
credidential - Float
|
Example
{"credidential": 123.45}
UserFriendsCountAggregate
UserFriendsMaxAggregate
Example
{
"id": "4",
"pseudo": "abc123",
"email": "abc123",
"password": "xyz789",
"publicKey": "abc123",
"credidential": 123.45,
"createdAt": "2007-12-03T10:15:30Z"
}
UserFriendsMinAggregate
Example
{
"id": 4,
"pseudo": "abc123",
"email": "xyz789",
"password": "xyz789",
"publicKey": "abc123",
"credidential": 987.65,
"createdAt": "2007-12-03T10:15:30Z"
}
UserFriendsSumAggregate
Fields
| Field Name | Description |
|---|---|
credidential - Float
|
Example
{"credidential": 123.45}
UserInput
UserLikesAggregateGroupBy
Example
{
"id": "4",
"name": "xyz789",
"distance": 123.45,
"elevation": 987.65,
"difficulty": "EASY",
"duration": 123.45,
"latitude": 987.65,
"longitude": 123.45,
"createdAt": "2007-12-03T10:15:30Z"
}
UserLikesAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - UserLikesAggregateGroupBy
|
|
count - UserLikesCountAggregate
|
|
sum - UserLikesSumAggregate
|
|
avg - UserLikesAvgAggregate
|
|
min - UserLikesMinAggregate
|
|
max - UserLikesMaxAggregate
|
Example
{
"groupBy": UserLikesAggregateGroupBy,
"count": UserLikesCountAggregate,
"sum": UserLikesSumAggregate,
"avg": UserLikesAvgAggregate,
"min": UserLikesMinAggregate,
"max": UserLikesMaxAggregate
}
UserLikesAvgAggregate
UserLikesConnection
Fields
| Field Name | Description |
|---|---|
pageInfo - PageInfo!
|
Paging information |
edges - [HikeEdge!]!
|
Array of edges. |
totalCount - Int!
|
Fetch total count of records |
Example
{
"pageInfo": PageInfo,
"edges": [HikeEdge],
"totalCount": 123
}
UserLikesCountAggregate
Example
{
"id": 987,
"name": 987,
"distance": 123,
"elevation": 987,
"difficulty": 123,
"duration": 987,
"latitude": 123,
"longitude": 123,
"createdAt": 987
}
UserLikesMaxAggregate
Example
{
"id": 4,
"name": "abc123",
"distance": 987.65,
"elevation": 123.45,
"difficulty": "EASY",
"duration": 123.45,
"latitude": 987.65,
"longitude": 987.65,
"createdAt": "2007-12-03T10:15:30Z"
}
UserLikesMinAggregate
Example
{
"id": 4,
"name": "abc123",
"distance": 123.45,
"elevation": 987.65,
"difficulty": "EASY",
"duration": 987.65,
"latitude": 123.45,
"longitude": 123.45,
"createdAt": "2007-12-03T10:15:30Z"
}
UserLikesSumAggregate
UserMaxAggregate
Example
{
"id": "4",
"pseudo": "xyz789",
"email": "xyz789",
"password": "xyz789",
"publicKey": "xyz789",
"credidential": 123.45,
"createdAt": "2007-12-03T10:15:30Z"
}
UserMinAggregate
Example
{
"id": 4,
"pseudo": "abc123",
"email": "xyz789",
"password": "xyz789",
"publicKey": "abc123",
"credidential": 123.45,
"createdAt": "2007-12-03T10:15:30Z"
}
UserPerformancesAggregateGroupBy
UserPerformancesAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - UserPerformancesAggregateGroupBy
|
|
count - UserPerformancesCountAggregate
|
|
sum - UserPerformancesSumAggregate
|
|
avg - UserPerformancesAvgAggregate
|
|
min - UserPerformancesMinAggregate
|
|
max - UserPerformancesMaxAggregate
|
Example
{
"groupBy": UserPerformancesAggregateGroupBy,
"count": UserPerformancesCountAggregate,
"sum": UserPerformancesSumAggregate,
"avg": UserPerformancesAvgAggregate,
"min": UserPerformancesMinAggregate,
"max": UserPerformancesMaxAggregate
}
UserPerformancesAvgAggregate
UserPerformancesCountAggregate
UserPerformancesMaxAggregate
UserPerformancesMinAggregate
UserPerformancesSumAggregate
UserReviewsAggregateGroupBy
UserReviewsAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - UserReviewsAggregateGroupBy
|
|
count - UserReviewsCountAggregate
|
|
sum - UserReviewsSumAggregate
|
|
avg - UserReviewsAvgAggregate
|
|
min - UserReviewsMinAggregate
|
|
max - UserReviewsMaxAggregate
|
Example
{
"groupBy": UserReviewsAggregateGroupBy,
"count": UserReviewsCountAggregate,
"sum": UserReviewsSumAggregate,
"avg": UserReviewsAvgAggregate,
"min": UserReviewsMinAggregate,
"max": UserReviewsMaxAggregate
}
UserReviewsAvgAggregate
Fields
| Field Name | Description |
|---|---|
rating - Float
|
Example
{"rating": 123.45}
UserReviewsCountAggregate
UserReviewsMaxAggregate
UserReviewsMinAggregate
UserReviewsSumAggregate
Fields
| Field Name | Description |
|---|---|
rating - Float
|
Example
{"rating": 987.65}
UserSort
Fields
| Input Field | Description |
|---|---|
field - UserSortFields!
|
|
direction - SortDirection!
|
|
nulls - SortNulls
|
Example
{"field": "id", "direction": "ASC", "nulls": "NULLS_FIRST"}
UserSortFields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"id"
UserSumAggregate
Fields
| Field Name | Description |
|---|---|
credidential - Float
|
Example
{"credidential": 123.45}
UserTablesAggregateGroupBy
UserTablesAggregateResponse
Fields
| Field Name | Description |
|---|---|
groupBy - UserTablesAggregateGroupBy
|
|
count - UserTablesCountAggregate
|
|
min - UserTablesMinAggregate
|
|
max - UserTablesMaxAggregate
|
Example
{
"groupBy": UserTablesAggregateGroupBy,
"count": UserTablesCountAggregate,
"min": UserTablesMinAggregate,
"max": UserTablesMaxAggregate
}