API Reference
Timerise © 2024
List of available objects and queries related to many API resources.
Represents details of a user.
type User {
userId: ID!
projectId: ID!
shortId: NonEmptyString!
slots: [Slot]
role: UserRole!
email: EmailAddress!
phoneNumber: PhoneNumber
fullName: NonEmptyString
jobTitle: NonEmptyString
photoUrl: URL
createdAt: DateTime!
updatedAt: DateTime!
}
Represents details of a media object.
type Media {
url: URL!
title: NonEmptyString
}
Represents details of a LatLng object.
type LatLng {
lat: Latitude!
lng: Longitude!
}
User roles available in the system.
enum UserRole {
SUPERADMIN
OWNER
ADMIN
APIADMIN
MANAGER
STAFF
USER
}
Represents details of a Theme.
enum Theme {
LIGHT
DARK
}
Returns a me object.
me(
projectId: ID!
): User
<aside>
🔑 Minimal role required: USER
</aside>
Get auth token. Needed to sign all other API queries.
login(
email: EmailAddress!
password: NonEmptyString!
): String
<aside>
🔑 Minimal role required: USER
</aside>