List policies.
Retrieve all the policies in your Tyk instance. Returns an array policies.
Response
List of all policies.
Example response
[
{
"_id": "5ead7120575961000181867e",
"active": true,
"id": "5ead7120575961000181867e",
"last_updated": "1655965189",
"max_query_depth": -1,
"name": "Swagger Petstore Policy",
"org_id": "5e9d9544a1dcd60001d0ed20",
"partitions": {
"acl": true,
"quota": true,
"rate_limit": true
},
"per": 60,
"post_expiry_action": "delete",
"quota_max": -1,
"quota_renewal_rate": 3600,
"rate": 1000,
"throttle_interval": -1,
"throttle_retry_limit": -1
}
]Changes
Changed in 7 of the 52 revisions of this API.331019
- ○
added the optional property
items/post_expiry_actionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/post_expiry_grace_periodto the response with the200statusresponse-optional-property-added
- ○
- ▲
the response property
items/access_rights/additionalProperties/endpoints/items/methods/items/limit/smoothingbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/access_rights/additionalProperties/limit/smoothingbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/smoothingbecame nullable for the status200response-property-became-nullable
- ▲
- ▲
the response property
items/access_rightsbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/access_rights/additionalProperties/allowed_urlsbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/access_rights/additionalProperties/allowed_urls/items/methodsbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/access_rights/additionalProperties/versionsbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/graphql_access_rightsbecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/meta_databecame nullable for the status200response-property-became-nullable
- ▲
the response property
items/tagsbecame nullable for the status200response-property-became-nullable
- ▲
the
items/_idresponse's property type/format changed fromobject/tostring/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/endpoints/items/methods/items/limit/perresponse's property type/format changed fromnumber/doubletonumber/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/endpoints/items/methods/items/limit/rateresponse's property type/format changed fromnumber/doubletonumber/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/endpoints/items/methods/items/limit/smoothing/delayresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/endpoints/items/methods/items/limit/smoothing/stepresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/endpoints/items/methods/items/limit/smoothing/thresholdresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/endpoints/items/methods/items/limit/smoothing/triggerresponse's property type/format changed fromnumber/doubletonumber/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/limit/perresponse's property type/format changed fromnumber/doubletonumber/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/limit/quota_maxresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/limit/quota_remainingresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/limit/quota_renewal_rateresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/limit/quota_renewsresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/limit/rateresponse's property type/format changed fromnumber/doubletonumber/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/limit/throttle_intervalresponse's property type/format changed fromnumber/doubletonumber/for status200response-property-type-changed
- ▲
the
items/access_rights/additionalProperties/limit/throttle_retry_limitresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/smoothing/delayresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/smoothing/stepresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/smoothing/thresholdresponse's property type/format changed frominteger/int64tointeger/for status200response-property-type-changed
- ▲
the
items/smoothing/triggerresponse's property type/format changed fromnumber/doubletonumber/for status200response-property-type-changed
- ●
removed the optional property
items/access_rights/additionalProperties/limit/set_by_policyfrom the response with the200statusresponse-optional-property-removed
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the optional property
items/access_rights/additionalProperties/allowance_scopeto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/additionalProperties/allowed_typesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/additionalProperties/disable_introspectionto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/additionalProperties/field_access_rightsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/additionalProperties/limit/max_query_depthto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/additionalProperties/limit/smoothingto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/additionalProperties/restricted_typesto the response with the200statusresponse-optional-property-added
This revision also has 28 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ●
removed the optional property
items/access_rights/additionalProperties/limit/smoothingfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
items/access_rights/additionalProperties/endpointsto the response with the200statusresponse-optional-property-added
- ●
- ○
added the optional property
items/access_rights/additionalProperties/limit/smoothingto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/smoothingto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
items/access_rights/allowed_urlsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/access_rights/api_idfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/access_rights/api_namefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/access_rights/limitfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/access_rights/versionsfrom the response with the200statusresponse-optional-property-removed
- ●
- ▲
the
items/_idresponse's property type/format changed fromstring/toobject/for status200response-property-type-changed
- ▲
the
items/key_expires_inresponse's property type/format changed frominteger/int64tonumber/int64for status200response-property-type-changed
- ▲
the
items/max_query_depthresponse's property type/format changed frominteger/tonumber/for status200response-property-type-changed
- ▲
the
items/throttle_retry_limitresponse's property type/format changed frominteger/tonumber/for status200response-property-type-changed
- ●
removed the optional property
items/post_expiry_actionfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/post_expiry_grace_periodfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/smoothingfrom the response with the200statusresponse-optional-property-removed
- ○
removed the non-success response with the status
403response-non-success-status-removed
- ○
added the optional property
items/access_rights/allowed_urlsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/api_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/api_nameto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/limitto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/access_rights/versionsto the response with the200statusresponse-optional-property-added
This revision also has 155 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲