Represents a CWE view resource, providing access to view details.
Implements PromiseLike<CweView> so it can be awaited directly.
PromiseLike<CweView>
// Await directly to get full view dataconst view = await cwe.view(1425);// Or call .get() explicitlyconst view = await cwe.view(1425).get(); Copy
// Await directly to get full view dataconst view = await cwe.view(1425);// Or call .get() explicitlyconst view = await cwe.view(1425).get();
Fetches the full view entry.
GET /cwe/view/{id}
The view object
Allows the resource to be awaited directly, resolving with the full view. Delegates to ViewResource.get.
Optional
Represents a CWE view resource, providing access to view details.
Implements
PromiseLike<CweView>so it can be awaited directly.Example