This endpoint is in preview and may be modified or removed at any time.
To use this endpoint, add preview=true to the request query parameters.
Download file content.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:notepad-export.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/notepad/files/ri.notepad.main.file.cf32c039-353c-4555-9704-eacfdfaa2c1c/content?preview=true"| Error Name | ||
|---|---|---|
Content | Error Code | PERMISSION_DENIED |
| Status Code | 403 | |
| Description | Could not content the File. | |
| Parameters | fileRid | |
See Errors for a general overview of errors in the platform.