Skip to main content
Version: Next

Retrieve the rules of an asset

GET 

/rules/asset/for/:assetId

Retrieve the rules of an asset

Request

Path Parameters

    assetId stringrequired

Query Parameters

    language string[]

    Possible values: [JAVASCRIPT, GROOVY, JSON, FLOW]

    fullyPopulate boolean

Header Parameters

    Authorization string
    X-Forwarded-Proto string
    X-Forwarded-Host string

Responses

default response

Schema

  • Array [

  • id int64
    version int64
    createdOn date-time
    lastModified date-time
    name stringrequired

    Possible values: >= 3 characters and <= 255 characters

    enabled boolean
    rules string
    lang stringrequired

    Possible values: [JAVASCRIPT, GROOVY, JSON, FLOW]

    meta

    object

    status string

    Possible values: [READY, DEPLOYED, COMPILATION_ERROR, VALIDITY_PERIOD_ERROR, EXECUTION_ERROR, LOOP_ERROR, DISABLED, PAUSED, EXPIRED, REMOVED, EMPTY]

    error string
    assetId string
    accessPublicRead boolean
    realm string
  • ]

Loading...