Retrieves paginated list of attachments for a specific origin with filtering and sorting capabilities.
[AccessType.USER, AccessType.BO_USER, AccessType.AD_USER, AccessType.INTERVENTION, AccessType.ESTABLISHMENT]Only authenticated users with proper site-level permissions can access this route.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
List of site IDs.
"['1', '2']"
Type of entity to attach to.
1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 6 1
ID of the entity to attach to.
-9007199254740991 <= x <= 9007199254740991123
Extend options:
"uploaded-by": Get information about the person that uploaded the attachment
"actions-info": Give information about the origin of the attachment
uploaded-by, actions-info Filter by uploader ID
-9007199254740991 <= x <= 90071992547409911
Filter by attachment name (contains)
"string"
Filter by creation date
{
"start": "2021-01-01T00:00:00.000Z",
"end": "2021-12-31T23:59:59.999Z"
}Filter by update date
{
"start": "2021-01-01T00:00:00.000Z",
"end": "2021-12-31T23:59:59.999Z"
}Filter by MIME type (contains)
"string"
Filter by size
-9007199254740991 <= x <= 90071992547409911
Filter by attachable type
-9007199254740991 <= x <= 9007199254740991[1, 2, 3]Include total count in response.
true
Page number.
-9007199254740991 <= x <= 90071992547409911
Page size.
-9007199254740991 <= x <= 900719925474099150
Get the page where the item with this id is located.
-9007199254740991 <= x <= 90071992547409911
Sub page size for grouping items.
-9007199254740991 <= x <= 900719925474099110