Creating a publication that publishes data with an API
Creating a publication that publishes data with an API
Use the Navigator to create publications that use the Publish Data REST API to publish the data to a specific topic in the
Cloud Integration Hub
relational publication repository.
The following conditions must exist before you create a publication:
An application to publish the data from must exist. You can either use an existing application, or create and save a new application.
A relational topic to publish data to must exist. You can either use an existing topic, or create and save a new topic.
In the Navigator, click
New
Publication
.
The
New Publication
page appears.
Enter the publication name. Optionally, enter a description for the publication.
Select the publication mode, enabled or disabled.
A disabled publication does not run according to schedule or by an external API. You can only run a disabled publication from the
Explore
page or from the topic page of the topic that the publication publishes to.
Select
Publish data with an API
.
Select the application that publishes the data.
Select a topic that stores published data in a relational database. If you use a
Data Integration
mapping task for the publication, you can select multiple topics to publish the data to.
Click
Save
.
You can copy the following URLs and use them in the request that runs the publication:
URL of the REST API. Use this URL to publish the data.
URL of the Swagger structure for the topic that the publication publishes data to. Use the structure in the publication request.
If a Swagger structure base URL is configured for the organization, Cloud Integration Hub appends the base URL to the topic Swagger structure URL. For more information, see
System Properties.