Knowledge Base Articles
Upload temporary attachments
Changed onUpload temporary attachment
post/v2/attachments/temp/upload
Request
- Base URLhttps://app.ninjarmm.com (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in cookie sessionKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
entityType'TICKET' | 'NODE' | 'DOCUMENT' | 'KB_DOCUMENT' | 'RELATED_ITEM' | 'CHECKLIST' | 'AUTOMATION' | 'LOCATION' | 'ORGANIZATION' | 'TRIGGER' | 'TECHNICIAN' | 'FILE_TRANSFER_AUTOMATION' | 'END_USER' | 'EMAIL_TEMPLATE' | 'POLICY' | 'APPROVAL_INSTANCE' | 'NINJA_BILLING_INVOICE' | 'ANDROID_LIBRARY_APK' | 'GLOBAL_CUSTOM_FIELD'
Request body multipart/form-data
Response
Returns a list of uploaded attachments metadata
Changes
- info
added the new enum value
ANDROID_LIBRARY_APKto thequeryrequest parameterentityType - info
added the new enum value
APPROVAL_INSTANCEto thequeryrequest parameterentityType - info
added the new enum value
GLOBAL_CUSTOM_FIELDto thequeryrequest parameterentityType - info
added the new enum value
NINJA_BILLING_INVOICEto thequeryrequest parameterentityType
- info