Skip to content
Contents

Reference

API reference

Every query, mutation and type of the API, generated from the schema the API runs. The same schema can be read by any GraphQL tool from https://nipto.app/graphql.

Queries

NameDescription
activitiesπŸ™Œ Get all the validated Activities of the team for the current week.
purchasesπŸ›οΈ Get the purchases of the shop, newest first unless sort says otherwise
remindersπŸ”” Get all the Reminders of the team (the Planning of the app)
rewards🎁 Get the rewards of the tribe, with their price in gems
tasksβœ… Get all the Tasks of the team
usersπŸ§‘β€πŸ€β€πŸ§‘ Get all Users of the team
walletsπŸ’Ž Get the gems of each member
weeksπŸ—“οΈ Get the ended Weeks with associated results for each member, oldest first unless sort says otherwise

Mutations

NameDescription
createActivityπŸ™Œ Add a new activity for the team (possible only with a date within the current week).
createReminderπŸ”” Create a reminder on a date, once or repeating
deleteActivity❌ Delete an activity (possible only for activities within the current week), with the app's rules: members under parental control cannot delete, and only an admin can refuse an activity waiting for approval

Objects

NameDescription
ActivityπŸ™Œ An Activity is a Task done by a User at a specific date
Feedback❀️ Hearts a User gave to an Activity
PurchaseπŸ›οΈ A reward bought with gems.
ReminderπŸ”” A Reminder (in the Planning of the app) on a date, optionally at a time, once or repeating
RepeatπŸ” Repetition of a Reminder
Reward🎁 A reward the tribe can get
ScoreπŸ—“οΈ A Score is the result of a User for a Week
StreakπŸ”₯ Streak of a member: consecutive days with at least one activity
Taskβœ… A Task is something to do is the household with an associated value in points
UserπŸ§‘β€πŸ€β€πŸ§‘ A User is a member of the team
WalletπŸ’Ž Gems of a member: eggs turn into gems at the end of each week, and gems buy rewards in the shop
WeekπŸ—“οΈ A Week of the tribe: 7 days from the first day chosen in the app settings, in the tribe's time zone

Inputs

NameDescription
RepeatInputπŸ” Repetition of a new Reminder, with the same limits as the app

Enums

NameDescription
Balanceβš–οΈ Balance is the state of the week in terms of results for all members of the team.
LevelπŸ¦– Level is the dino a member reaches for the week, as shown in the app
PurchaseStatusπŸ›οΈ Where a Purchase stands
RepeatModeπŸ” How a Reminder repeats
ResultπŸ’― Result is the level a team member reached for the week, the dino shown in the app.
Sort↕️ Order of a list

Scalars

NameDescription
BooleanThe Boolean scalar type represents true or false.
DateπŸ—“οΈ A date with time in UTC (ISO 8601, e.g.
Group🧽 An emoji to group some Tasks in the same category
IntThe Int scalar type represents non-fractional signed whole numeric values.
StringThe String scalar type represents textual data, represented as UTF-8 character sequences.
TimeπŸ• A time of day in HH:mm format (e.g.