API Reference
Timerise © 2024
Projects are independent collections of services, bookings, assets, locations and users.
Represents information about a project, such as title, media and theme.
type Project {
	projectId: ID!
	shortId: NonEmptyString!
	defaultLocale: Locale!
	title: NonEmptyString!
	description: NonEmptyString
	theme: Theme!
	logoUrl: URL
	coverUrl: URL
	textColor: HexColorCode
	linkColor: HexColorCode
	buttonTextColor: HexColorCode
	buttonBackgroundColor: HexColorCode
	labels: [NonEmptyString]
	createdAt: DateTime!
	updatedAt: DateTime!
}
List of projects.
projects(
	limit: NonNegativeInt
	cursor: ID
): [Project]
<aside>
🔑 Minimal role required: STAFF
</aside>
Returns a Project resource by ID.
project(
	projectId: ID!
): Project
<aside>
🔑 Minimal role required: STAFF
</aside>
Create a new project.
projectCreate(
	title: NonEmptyString!
	defaultLocale: Locale
	description: NonEmptyString
	theme: Theme
	logoUrl: URL
	coverUrl: URL
	textColor: HexColorCode
	linkColor: HexColorCode
	buttonTextColor: HexColorCode
	buttonBackgroundColor: HexColorCode
	labels: [NonEmptyString]
): Projec
<aside>
🔑 Minimal role required: SUPERADMIN
</aside>
Updates a project's attributes.
projectUpdate(
	projectId: String!
	title: NonEmptyString
	defaultLocale: Locale
	description: NonEmptyString
	theme: Theme
	logoUrl: URL
	coverUrl: URL
	textColor: HexColorCode
	linkColor: HexColorCode
	buttonTextColor: HexColorCode
	buttonBackgroundColor: HexColorCode
	labels: [NonEmptyString]
): Project
<aside>
🔑 Minimal role required: MANAGER
</aside>
Deletes a project.
projectDelete(
	projectId: ID!
): String
<aside>
🔑 Minimal role required: ADMIN / APIADMIN
</aside>