🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@mentor-medier/content-api-source-block

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mentor-medier/content-api-source-block

Content source block for Content API queries

latest
stable
Source
npmnpm
Version
5.13.3
Version published
Maintainers
1
Created
Source

@wpmedia/content-api-source-block

Content source block for Content API queries, used for retrieving stories from the content API. Please provide a 1-2 sentence description of what the block is and what it does.

Acceptance Criteria

  • Add AC relevant to the block

Endpoint

  • Add the endpoint that this content source is hitting

ANS Schema

The structure of the returned data will be that of an ANS story, an example of which can be found here.

Configurable Params

ParamTypeDescription
website_urltextThe canonical URL path for the content requested from the Content API. This could be a story URL for a story in Composer or a gallery URL from Photo Center. ex. /arts/2020/01/17/this-is-a-story-from-composer/

TTL

  • 300

Additional Considerations

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

FAQs

Package last updated on 05 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts