Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. The Developer Center continues to support Commerce 6.13.0 through 7.4.1.Visit new site

Cortex Studio

Cortex Studio

Cortex Studio is a customized REST client Web Application that offers an excellent starting point for trying out and testing Cortex API's features.

Using Cortex Studio

Cortex Studio Interface

image2013-6-24 10:59:24.png

There are four tabs at the top right corner of your web browser:

  • Setup - shows the Cortex API server's IP Address.
  • Sample URIs - contains URIs you can use as a starting point for exploring the Cortex API.
  • JSONPathTester - enables you to filter Cortex API using JSONPath (http://goessner.net/articles/JsonPath/).
  • Encoding Utility - enables you to decode IDs. For more information on ID decoding, see ID Encoding.
  • OAuth - enables you to generate OAuth2.0 authentication tokens. For more information on ID decoding, see Cortex Authentication

In the URI field you can enter URIs to send to the Cortex API web application.

The area below the URI field shows the output from the Cortex API. There are two ways you can view the output:

  • Structure lets you interact with the Cortex API web application by attaching a GUI to the JSON object to provide links and buttons that can be clicked and fields that can be filled out.
  • Source lets you see the JSON object without any widgets modify the contents directly.

Supported Browsers

See System Requirements for the list of supported browsers.

Getting Started

Before you can access the Cortex API resources, you need to generate an OAuth2.0 token. Generate the token by logging in as a registered customer or by logging in as an public customer.

To login as a registered customer,

  1. In Cortex Studio, click the OAuth drop-down box and enter the following details:
    Table 1.
    Field Input
    Username ben.boxer@elasticpath.com
    Password password
    Scope mobee
    Role REGISTERED
  2. Click the Generate token button to generate the OAuth2.0 token.

To login as a public customer,

  1. In Cortex Studio, click the OAuth drop-down box and enter the following details:
    Table 2.
    Field Input
    Username *empty*
    Password *empty*
    Scope mobee
    Role PUBLIC
  2. Click the Generate token button to generate the OAuth2.0 token.

To explore the Cortex API web application further please refer to the Cortex API Client Developer Guide.