Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

@arc-core-components/content-source_author-api-v4

Package Overview
Dependencies
0
Maintainers
8
Versions
2
Issues
File Explorer

Advanced tools

@arc-core-components/content-source_author-api-v4

Content source rendering a single author from the Author API

    0.1.0-beta.2latest

Version published
Maintainers
8
Yearly downloads
8,641
increased by22.24%

Weekly downloads

Readme

Source

Content Source: Author API v4 endpoint

This the Arc Core Component representing a content source that hooks into the Author API portion of the Arc Suite.

The most important part is the pattern, which defines the endpoint that PageBuilder Fusion uses to look up content.

This Core Component takes advantage of PageBuilder Fusion's ability to use CONTENT_BASE to define the credentials for an Author API, ensuring that no private secrets are exposed.

This content source should be used with the content-schema_author-v4 core component.

Pattern:

/author/v1/?slug=${slug}

Parameters:

This content source takes one parameter: a slug, typically the author's first and last name attached by a dash. Example: ben-bradlee.

Getting started

This Core Component must be used within a Fusion project.

  1. Add this schema as a dependency of the repo. npm install @arc-core-components/content-source_author-api-v4
  2. Create a file of your desired content source name within the /content/sources folder. For this content source, the suggested name is author-api-v4.js
  3. This is the name you should use when referencing this content source in any content config within a custom field.
  4. Paste the following into author-api-v4.js:
import source from '@arc-core-components/content-source_author-api-v4' export default source

What does this content source return?

This will return a JSON object representing a single author from the Author API. It can be used to provide global content to an Author page, useful for rendering features that display information about the author.

FAQs

What is @arc-core-components/content-source_author-api-v4?

Content source rendering a single author from the Author API

Is @arc-core-components/content-source_author-api-v4 popular?

The npm package @arc-core-components/content-source_author-api-v4 receives a total of 195 weekly downloads. As such, @arc-core-components/content-source_author-api-v4 popularity was classified as not popular.

Is @arc-core-components/content-source_author-api-v4 well maintained?

We found that @arc-core-components/content-source_author-api-v4 demonstrated a not healthy version release cadence and project activity. It has 8 open source maintainers collaborating on the project.

Last updated on 09 Nov 2018
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc