Documentation Center

Configuring the Public Content API endpoint

By default, the endpoint for the Public Content API is the following URL: BASEURL:PORT/cd/api, where BASEURL is the IP address or domain name of the server on which the Content Service runs, and PORT is the port number on which the service runs (defaults to 8081). You can change the endpoint in the application.properties file of the Content Service.

Procedure

  1. In the config/ subdirectory of the Content Service microservice root location, open application.properties.
  2. Add the following line:
    content.api.endpoint=CUSTOMENDPOINT

    where CUSTOMENDPOINT is your custom endpoint for the Public Content API.

  3. Save and close application.properties.
  4. Start or restart the Content Service.