Skip to main content
Browse Documentation

ContensisClientConfiguration

Created by Richard Saunders, last modified by Simon Horan on 22 Jan 2020

The ContensisClientConfiguration is a container for the options that are required for setting the defaults settings.

Syntax

// Constructor
public ContensisClientConfiguration(string rootUrl, string projectId, VersionStatus defaultVersionStatus = VersionStatus.Published,
    string clientId = null, string sharedSecret = null)
{
}

Properties

Name Type Description
RootUrl string The url to the root of the Delivery API services
ProjectId string The project identifer, e.g. "movieDb". Found in the project overview screen of the management console
DefaultVersionStatus VersionStatus The default version to pass for all Entry requests
ClientId string The client id value obtained from API key management
SharedSecret string The shared secret value obtained from API key management