Skip to content

Commit

Permalink
Make it explicit that the JSON filter object is passed as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Haines committed Dec 9, 2015
1 parent ed70bcb commit c3a1318
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions api/client-server/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ paths:
type: string
description: |-
The ID of a filter created using the filter API or a filter JSON
object. The server will detect whether it is an ID or a JSON object
by whether the first character is a ``"{"`` open brace. Passing the
JSON inline is best suited to one off requests. Creating a filter
using the filter API is recommended for clients that reuse the same
filter multiple times, for example in long poll requests.
object enocoded as a string. The server will detect whether it is
an ID or a JSON object by whether the first character is a ``"{"``
open brace. Passing the JSON inline is best suited to one off
requests. Creating a filter using the filter API is recommended for
clients that reuse the same filter multiple times, for example in
long poll requests.
x-example: "66696p746572"
- in: query
name: since
Expand Down

0 comments on commit c3a1318

Please sign in to comment.