get_details

Retrieve the full detail model for an asset (more than get).

get_details

Retrieve the full detail model for an asset (more than get).

Full detail model for an asset (richer than get).

Safety class: A · API type: any · Min version:

📘

Confinement

Read-only; safe anywhere.

Signatures

def get_details(sdk, asset_id):
    """Return the full asset detail model, or None if it does not resolve."""
    return sdk.get_asset_details(asset_id)
export async function getDetails(sdk, assetId) {
    // Full detail model for an asset (richer than get).
    return await sdk.getAssetDetails(assetId);
}

Parameters

Parameter (Python)Parameter (JS)TypeRequiredNotes
sdksdkNomad_SDKyes
asset_idassetIdstryese.g. <asset-uuid>

Returns

dict | None — id key is 'assetId' (not 'id'). Includes: parents[], relatedAssets[] (signed fullUrl), availability[], availabilityStatus, permission, inheritSecurity. None if not found. See return-shapes.md.

Errors

  • 401 unauthenticated
  • 404 not found -> None

See also: Python ↔ JS naming map · Return shapes.