The new API method, GET /v2/attachments/my returns all attachments created by the current user, paginated and in the reverse date order.
This method accepts two URL parameters: limit (default: 30, maximum: 100) and page (1-based, default: 1). The result format is { attachments: AttObject[], users: UserObject[], hasMore: boolean }.
The new API token scope: read-my-files. For now it contains only one method: GET /v2/attachments/my
Changed
The serialized attachments now have an additional field postId. This field is either null or the UUID of the post to which the file is attached.
Added
The new API method,
GET /v2/attachments/my
returns all attachments created by the current user, paginated and in the reverse date order.This method accepts two URL parameters: limit (default: 30, maximum: 100) and page (1-based, default: 1). The result format is { attachments: AttObject[], users: UserObject[], hasMore: boolean }.
read-my-files
. For now it contains only one method:GET /v2/attachments/my
Changed