NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

KnowledgeBaseArticles → Download related item attachment

AI-generated

Summary

Download the attachment file associated with a specified related item ID in the KnowledgeBaseArticles resource of NinjaOne.

Inputs

  • relatedItemId (required) — The unique identifier of the related item whose attachment you want to download.
  • returnAll — Whether to return all results or only a single page. If false, only one page of results is returned with no pagination parameters sent.
  • options — Optional settings including custom request body JSON, custom HTTP headers, query filters, batching options, debugging mode, pagination configuration, and request timeout in milliseconds.

Output shape

a binary file representing the downloaded attachment related to the specified related item ID.

The output includes the attachment file data. Pagination and batching apply only if multiple items could be returned; however, this operation targets downloading a single item's attachment so typically returns one result. Enabling debug adds actual request details in the output.

Links

Discussion