assets

List an asset's network services

Return the network services discovered on one asset.

The same set the asset detail response embeds, on its own endpoint so a panel can refresh services without re-fetching the asset. Reads the asset_network_service_details view through its Cerbos-scoped service, so another organization's asset yields an empty list rather than a denial — the asset itself is resolved first, so an asset the caller cannot see still 404s.

Args: asset_id (int): Primary key of the owning asset. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope. query (AssetServiceListQuery): Pagination query params. pager (Paginator): Fills the response's navigation metadata.

Returns: AssetServiceListResponse: The asset's services, each with its detected technologies.

get/v1/assets/{asset_id}/services

Request

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

Path parameters

asset_idinteger required

Query parameters

pageinteger
per_pageinteger

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

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.