assets

List assets

List assets visible to the caller, filtered and paginated.

Mirrors api-3's PaginatedAssetsFilter (asset_id, organization_id, page, per_page). Authorization scoping is enforced by AssetService; the route only translates transport.

Args: db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope. query (AssetListQuery): Filters + pagination query params. pager (Paginator): Fills the response's navigation metadata.

Returns: AssetListResponse: The authorized, paginated asset list.

get/v1/assets/

Request

  • Base URL
    https://api.ethiack.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

pageinteger
per_pageinteger

Page size. Values above 500 are clamped to it (or rejected, per REST__PAGINATION__PER_PAGE_OVER_MAX).

asset_idinteger nullable
organization_idinteger nullable

Response

Successful Response

totalinteger nullable
pageinteger nullable
per_pageinteger nullable
_linksobject nullable

RFC 8288 rel to URL. Always first; last unless the route opted out of counting; prev and next when applicable.

Changes

No recorded changes to this operation across all 1 revision of this API.