The OCP database is not included in the free version of OCP. The free version syncs data in real-time without using the OCP database, letting you access public apps and data syncs.
Contact your Customer Success Manager if you have any questions.
The REST API app provides a central source for information on the Optimizely Connect Platform (OCP) API endpoints. The OCP REST API lets you manage your objects with the following endpoints:
- Update object – Update an existing object in your OCP database. This endpoint lets you upload data to your OCP database, so you must first use the other endpoints to create the necessary database schema to support your data import.
- Create object – Create an object in OCP. Define its fields and how it relates to other objects. This endpoint only affects the database schema and does not let you upload data within that schema.
- List objects – List the details of all objects in your OCP account.
- Get object – List the details of a specific object in your OCP account.
- Create field – Create a field on an object in your OCP database. This endpoint only affects the database schema and does not let you upload data within that schema.
- List fields – List the details of all fields for a specific object in your OCP database.
- Get field – List the details of a single field for a specific object in your OCP database.
- Create relationship – Create a relationship between objects in OCP. This endpoint only affects the database schema and does not let you upload data within that schema.
- List relations – List the details of all relationships of a specific object in OCP.
- Get relation – List the details of a single relationship of a specific object in OCP.
Install the app
- Go to Data Setup > App Directory.
- Select the Rest API app.
- Click Install App. The Settings tab displays.
- View the API resources with the following options:
- Raw OpenAPI definition – Click to view the API definition in raw YAML format.
- Go to Redoc documentation – Click to view the API definition in a structured, user-friendly format.
- Go to Swagger documentation – Click to explore and test the endpoints dynamically.
Article is closed for comments.