API Reference

Scalars

Roles

Common objects

Slots

Projects

Services

Bookings

Spaces

Locations

Assets

Team

Reviews

Reminders

Webhooks

Denylist

Schema

JS SDK


Timerise © 2024

Spaces overview

Object types

Space

type Space {
	projectId: ID!
	spaceId: ID!
	shortId: NonEmptyString!
	provider: SpaceProvider!
	url: URL!
	title: String!
	instructions: String!
	labels: [NonEmptyString]
	createdAt: DateTime!
	updatedAt: DateTime!
}

Space fields

Queries

spaces

spaces(
	projectId: [ID](<https://timerise.notion.site/ID-6767ab390c014c1e995e1f45057b801e>)!
	limit: [NonNegativeInt](<https://timerise.notion.site/NonNegativeInt-04116d7c1f2a47fb82756b93ba6d0d50>)
	cursor: [ID](<https://timerise.notion.site/ID-6767ab390c014c1e995e1f45057b801e>)
): [Space]

spaces arguments

<aside> 🔑 Minimal role required: STAFF

</aside>

Mutations

spaceCreate

spaceCreate(
	projectId: ID!
	provider: SpaceProvider!
	url: URL!
	title: String
	instructions: String
	labels: [NonEmptyString]
): Space

spaceCreate arguments

<aside> 🔑 Minimal role required: MANAGER

</aside>

spaceUpdate

spaceUpdate(
	projectId: ID!
	spaceId: String!
	provider: SpaceProvider!
	url: URL!
	title: NonEmptyString
	instructions: NonEmptyString
	labels: [NonEmptyString]
): Space

spaceUpdate arguments

<aside> 🔑 Minimal role required: MANAGER

</aside>

spaceDelete

spaceDelete(
	projectId: ID!
	spaceId: ID!
): String

spaceDelete arguments

<aside> 🔑 Minimal role required: MANAGER

</aside>