Skip to content
story-feed-query-content-source-block / 5.14.2-arc-themes-release-version-2.0.3.4558

story-feed-query-content-source-block 5.14.2-arc-themes-release-version-2.0.3.4558

Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/story-feed-query-content-source-block@5.14.2-arc-themes-release-version-2.0.3.4558
Install via package.json:
"@wpmedia/story-feed-query-content-source-block": "5.14.2-arc-themes-release-version-2.0.3.4558"

About this version

@wpmedia/story-feed-query-content-source-block

Content source block for story feed queries by Elasticsearch queries. Please provide a 1-2 sentence description of what the block is and what it does.

// TODO: add badge for passing/failing tests

Acceptance Criteria

  • Add AC relevant to the block

Endpoint

  • Add the endpoint that this content source is hitting

ANS Schema

This returns a story feed. The GraphQL schema for story feeds can be found here.

Configurable Params

Param Type Description
query text Elasticsearch query string for searching story feeds. ex. type: story
size number Size of the results to be returned.
offset number Number of results to be skipped starting from the beginning. This is typically used for pagination.

TTL

  • 300

Additional Considerations

This is optional. Please add an additional context that would be important to know in order to use this block.