Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Description

The path to the asset being accessed.

Syntax

asset.path

Example

Expression: asset.path

Where the request was for a Task in the organization’s shared project. 

Result: /ExampleOrg/shared/TestTask

Snaplex Functions

load balancer

Description

The load balancer for the Snaplex JCC node or FeedMaster node.

When configuring an OAuth policy callback URL, you might want to reference the Snaplex load balancer set for your API Version or Proxy.

Syntax

  • jccLoadbalancer

  • snaplex.feedMasterLoadbalancer

Example

Expression:

Result: 

Request Functions

The request variable allows Policy instances to access data associated with the current request being processed.

...

Description

An object that contains the internal properties associated with the request.Snaplex References

When configuring an OAuth policy scopscope, you might want to list the Snaplexes. You can use the following functions to do so:

  • For JCC node in a Snaplex: snaplex.jccLoadbalancer

  • For the FeedMaster node in a Snaplex: snaplex.feedMasterLoadbalancer

Syntax

request.properties

Example

Expression:

Result: 

...