v1

latestOpenAPI 3.1.02026-07-244190162.0 KB
Rules

Get Static Assets

Gets static assets for your project using the path parameter project_id. The response will include a list of static assets with their detail. The returned data can be filtered by asset, static_type, membership_type, last_applied_before and last_applied_after, if not provided, all assets will be returned.

In case the number of parameters exceeds the limit, default 100 and maximum 1000, scrolling will be used to retrieve the next page of results. The cursor are returned in the meta.pagination field of the response, which can be used to retrieve the next page of results. If the cursor is None, there are no more pages available to scroll.

get/projects/{project_id}/rules/static_assets

Path parameters

project_idstring required

The ID of the project

The ID of the project

Query parameters

assetstring

Filter by asset (exact string match)

Filter by asset (exact string match)

static_type'ipv4' | 'hostname' | 'wildcard'

Filter by static type

membership_type'include' | 'exclude'

Filter by membership type

last_applied_beforestring date-time

Filter by last applied before this date (YYYY-MM-DDTHH:MM:SS)

Filter by last applied before this date (YYYY-MM-DDTHH:MM:SS)

last_applied_afterstring date-time

Filter by last applied after this date (YYYY-MM-DDTHH:MM:SS)

Filter by last applied after this date (YYYY-MM-DDTHH:MM:SS)

include_deletedboolean

Include records that has been deleted from project. Deleted records will contain deleted_at value key

Include records that has been deleted from project. Deleted records will contain deleted_at value key

limitinteger

Maximum number of results to return

Maximum number of results to return

cursorstring nullable

Base 64 string for pagination included in meta.pagination.next_cursor field in previous response. If provided, will return the next page of results

Base 64 string for pagination included in meta.pagination.next_cursor field in previous response. If provided, will return the next page of results

Response

Successful Response