Gas Policy Rules (Legacy)

List gas policy rules (legacy - use /v2/fee-sponsorship for new integrations).

Changed on

Returns a list of rules for a gas sponsorship policy.

The policy rules are returned sorted by creation date, with the most recently created policy rules appearing first.

By default, a maximum of 10 policy rules are shown per page.

get/v1/policy_rules

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v1/policy_rules
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Query parameters

limitinteger

Specifies the maximum number of records to return.

skipinteger

Specifies the offset for the first records to return.

order'asc' | 'desc'

Specifies the order in which to sort the results.

expandstring[]

Specifies the fields to expand in the response.

policystring required

Specifies the unique policy ID (starts with pol_).

Response

Successful response.

object'list' required
urlstring required
startinteger required
endinteger required
totalinteger required

Changes

    • info

      the security scope policies:read was added to the endpoint's security scheme sk

    • info

      api operation id GetPolicyRules removed and replaced with GetGasPolicyRulesLegacy

    • info

      api tag Gas Policy Rules (Legacy) added

    • info

      api tag PolicyRules removed