New: Kith open-sources its ATS.Read why
Skip to Content
Queries

restrictions

The workspace's do-not-contact rules, oldest first.

restrictions(
  after: String
  before: String
  filter: RestrictionFilter
  first: Int
  last: Int
): RestrictionConnection!

Arguments

restrictions.after · String scalar

Return the rows that follow this cursor.

restrictions.before · String scalar

Return the rows that come before this cursor.

restrictions.filter · RestrictionFilter input

Narrow the list. Left out, every rule is returned, lapsed ones included.

restrictions.first · Int scalar

How many rows to return, from the start or from after. 50 when left out, 200 at most.

restrictions.last · Int scalar

How many rows to return, counting back from the end or from before. 200 at most.

Type

RestrictionConnection object

A page of do-not-contact rules.