npm

@mentor-medier/story-feed-query-content-source-block

5.13.3 • Public • Published

@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.

Readme

Keywords

none

Package Sidebar

Install

npm i @mentor-medier/story-feed-query-content-source-block

Weekly Downloads

7

Version

5.13.3

License

CC-BY-NC-ND-4.0

Unpacked Size

12.3 kB

Total Files

8

Last publish

Collaborators

  • mm-bjarneo
  • mentor-devops