const url = 'https://example.com/api/stories/?skip=0&limit=50&owned_only=false&published_only=false';
const options = {method: 'GET'};
const response = await fetch(url, options);
const data = await response.json();
--url 'https://example.com/api/stories/?skip=0&limit=50&owned_only=false&published_only=false'
List the stories the caller may read, most recently updated first.
Anyone sees published public stories, signed-in users also published
internal ones, owners their own (published or not), and admins all.
limit
Limit integer
default: 50 >= 1 <= 200
search
Any of:
Case-insensitive match on title and summary.
published_only
Published Only Leave out stories that were never published.
boolean
Leave out stories that were never published.
Media type application/json
StoryListResponse object
Stories Array<object>
StorySummary object
StoredStoryVisibility A story’s visibility as stored. A private story shared with groups is
restricted: its groups’ members read it too.
string
Allowed values: private internal public restricted
Created At string format: date-time
Updated At string format: date-time
Chapter Count Chapters in the published document; 0 until published.
integer
Bad request — invalid payload
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",
Unauthorized — missing or invalid credentials
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",
Forbidden — caller lacks write access
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",
Conflict — resource state prevents the operation
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",
Too many requests — retry after the advertised interval
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",
Retry-After
integer
Seconds until the request may be retried
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",
Service unavailable — the database could not serve the request
Media type application/problem+json
ProblemDetail object
type
Type string
default: about:blank
Any of:
object
key additional properties
any
Example
"detail": "Dataset not found",