Table of Contents

Search

  1. Preface
  2. Introduction to Cloud Integration Hub
  3. Hub administration
  4. Project and Asset Management
  5. Applications
  6. Topics
  7. Data Integration tasks
  8. Publications
  9. Subscriptions
  10. Tracking and monitoring
  11. Cloud Integration Hub REST APIs
  12. Glossary

Cloud Integration Hub

Cloud Integration Hub

Change Publication Subscription Mode REST API

Change Publication Subscription Mode REST API

Use the
Cloud Integration Hub
Change Publication Subscription Mode REST API to change the mode of a publication or a subscription, that is, to enable a disabled publication or subscription or to disable an enabled publication or subscription.
To change the mode of a publication, use the following REST URL:
https://<pod>.<baseUrl>/
dih-console/api/v1/publication/changemode
Where:
  • <pod>
    is the name of the
    Informatica Intelligent Cloud Services
    point of delivery (PoD) where you access
    Cloud Integration Hub
    . For example:
    cih-pod1
    ,
    or
    emw1-cih
    .
  • <baseUrl>
    is the
    Informatica Intelligent Cloud Services
    URL. For example:
    dm-us.informaticacloud.com/
    .
For example:
https://cih-pod1.dm-us.informaticacloud.com/
dih-console/api/v1/publication/changemode
To change the mode of a subscription, use the following REST URL:
https:
https://<pod>.<baseUrl>/
dih-console/api/v1/subscription/changemode
Where :
  • <pod>
    is the name of the
    Informatica Intelligent Cloud Services
    point of delivery (PoD) where you access
    Cloud Integration Hub
    . For example:
    cih-pod1
    ,
    or
    emw1-cih
    .
  • <baseUrl>
    is the
    Informatica Intelligent Cloud Services
    URL. For example:
    dm-us.informaticacloud.com/
    .
For example:
https://cih-pod1.dm-us.informaticacloud.com/
dih-console/api/v1/subscription/changemode
You can copy the values of
<pod>
and
<baseUrl>
from the
Cloud Integration Hub
URL after you access it from the My Services page of
Informatica Intelligent Cloud Services
.
Request syntax for changing the mode of a publication
To change the mode of a publication, use the following request syntax:
{ "publicationName": "<publicationName>", "mode": "<enable/disable>" }
For example:
{ "publicationName": "daily_sales", "mode": "enable" }
Request syntax for changing the mode of a subscription
To change the mode of a subscription, use the following request syntax:
{ "subscriptionName": "<subscriptionName>", "mode": "<enable/disable>" }
For example:
{ "subscriptionName": "daily_reports", "mode": "disable" }