Name | Description | Type |
id | Attachment ID of the requested attachment | long |
link (self) | URL (location) of the attachment.
- For 'Article Suggestions', 'Article Suggestion Awaiting Feedback' and 'Personal Articles', the self-link contains 'article' and '$lang' query parameters (same as the request).
- For 'Articles' and 'Approved Article Suggestions', the self-link contains 'article' and 'version' query parameters.
| Link |
name | Name of the attachment | String |
type | Type of the attachment :
| String |
created | Creation details of attachment. | Created |
filepath | Path of file of attachment.
(Note: Its returned only for external attachments.) | String |
contentFetchOption | content fetching option which could be one of the following :
- always_latest_version : The system gets the latest file from the external location every time the article is used.
- latest_if_available : The system will try to get the latest version of the file. If it is unable to do so, it will use the local copy of the file. A local copy is made when the a file to an article first time.
- local_copy : The local copy, which is created when you first attach a file to an article, is always used. The changes made in the original file, after the attachment was created, are not reflected in the attachment.
(Note: Its returned only for external attachments.)
| String |
Name | Description | Type |
id | Attachment ID of the requested attachment | long |
link (self) | URL (location) of the attachment.
- For 'Article Suggestions', 'Article Suggestion Awaiting Feedback' and 'Personal Articles', the self-link contains 'article' and '$lang' query parameters (same as the request).
- For 'Articles' and 'Approved Article Suggestions', the self-link contains 'article' and 'version' query parameters.
| Link |
name | Name of the attachment | String |
type | Type of the attachment :
| String |
created | Creation details of attachment. | Created |
filepath | Path of file of attachment.
(Note: Its returned only for external attachments.) | String |
contentFetchOption | content fetching option which could be one of the following :
- always_latest_version : The system gets the latest file from the external location every time the article is used.
- latest_if_available : The system will try to get the latest version of the file. If it is unable to do so, it will use the local copy of the file. A local copy is made when the a file to an article first time.
- local_copy : The local copy, which is created when you first attach a file to an article, is always used. The changes made in the original file, after the attachment was created, are not reflected in the attachment.
(Note: Its returned only for external attachments.)
| String |
contentUrl | A link to web server location where the attachment content can be retrieved from. | String |
Name | Description | Type |
id | Attachment ID of the requested attachment | long |
name | Name of the attachment | String |
type | Type of the attachment :
| String |
created | Creation details of attachment. | Created |
filepath | Path of file of attachment.
(Note : Its returned only for external attachments. If present in request URL for internal attachments, its ignored. | String |
contentFetchOption | content fetching option which could be one of the following :
- always_latest_version : The system gets the latest file from the external location every time the article is used.
- latest_if_available : The system will try to get the latest version of the file. If it is unable to do so, it will use the local copy of the file. A local copy is made when the a file to an article first time.
- local_copy : The local copy, which is created when you first attach a file to an article, is always used. The changes made in the original file, after the attachment was created, are not reflected in the attachment.
(Note: Its returned only for external attachments. If present in request URL for internal attachments, its ignored.)
| String |
contentUrl | A link to web server location where the attachment content can be retrieved from. | String |