Making Content From a REST Endpoint Available to Uniform

Last updated: June 22, 2026

Problem Statement

You have content in an external system (e.g. a WordPress blog) and want to use it in Uniform without writing any code. Uniform can read that content through a REST endpoint and expose it to editors as a data type.

Incorporate content from any external system without writing any code using the Uniform Visual Workspace. (watch on Vimeo)

Solution

1. Create the data source

  1. In Uniform, navigate to Data Types.

  2. Click Add data type.

  3. For Data Source, select HTTP Request > Create new....

  4. Enter the following values:

Parameter

Value

Base URL

https://public-api.wordpress.com/rest/v1.1/sites/227813160

Name

WordPress Site

Public ID

wordpressSite

  1. Click Save.

2. Create the data type

  1. Under Request settings, next to the dropdown with GET selected, enter the path: posts

  1. Enter the following values:

Parameter

Value

Name

WordPress Posts

Public ID

wordpressPosts

  1. Click Save.

3. Use the data type

Create a Data Resource from the data type. Where you create it depends on your goal:

Location

Use cases

Component Patterns

Use external content in a specific component type.

Compositions

Use external content on composition parameters or any component in the composition.

Content Entry Patterns

Use external content on fields of a specific content type.

Resources