Different Requests

Limits

How long a title may be, and how many writes a minute one person gets.

How much text a field takes

Counted in characters. Count them in your own composer, so a person is stopped by your field rather than by a refusal.

FieldLongestWhat the server says
Request title200 charactersThat is longer than 200 characters.
Request body5000 charactersThat is longer than 5000 characters.
Comment2000 charactersThat is longer than 2000 characters.
Your identifier for a person200 charactersThat is longer than 200 characters.
Display name200 charactersThat is longer than 200 characters.
One trait's value1000 charactersThat is longer than 1000 characters.

A person may carry 50 traits at most.

How often somebody can write

A write is submitting, voting, following, commenting or marking a notification read. Reads are not counted.

  • 30 writes per person, per 60 seconds.
  • 300 writes per app, per 60 seconds — so one person cannot spend everyone's share.

Past that, a write comes back refused, saying "Too many writes.", with a Retry-After header.

catch let error as DifferentRequestsError {
  if let seconds = error.retryAfterSeconds {
    schedule(after: seconds)
  }
}

Windows are fixed rather than sliding, so the allowance refills on the clock rather than drifting with whoever wrote last.