Inject the user of the current request in the serializer save method
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"id": "<string>",
"name": "<string>",
"access": "<string>",
"description": "<string>",
"files_count": 123,
"folders_count": 123,
"file_size": 123,
"file_size_unit": "<string>",
"extension": "<string>",
"is_starred": true,
"is_archived": true,
"is_deleted": true,
"folder": "<string>",
"parent_folder": "<string>",
"path": "<string>",
"root": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"file_share_id": "<string>",
"is_shared": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
A page number within the paginated result set.
Number of results to return per page.
The response is of type object
.
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"id": "<string>",
"name": "<string>",
"access": "<string>",
"description": "<string>",
"files_count": 123,
"folders_count": 123,
"file_size": 123,
"file_size_unit": "<string>",
"extension": "<string>",
"is_starred": true,
"is_archived": true,
"is_deleted": true,
"folder": "<string>",
"parent_folder": "<string>",
"path": "<string>",
"root": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"file_share_id": "<string>",
"is_shared": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
Inject the user of the current request in the serializer save method
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"id": "<string>",
"name": "<string>",
"access": "<string>",
"description": "<string>",
"files_count": 123,
"folders_count": 123,
"file_size": 123,
"file_size_unit": "<string>",
"extension": "<string>",
"is_starred": true,
"is_archived": true,
"is_deleted": true,
"folder": "<string>",
"parent_folder": "<string>",
"path": "<string>",
"root": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"file_share_id": "<string>",
"is_shared": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
A page number within the paginated result set.
Number of results to return per page.
The response is of type object
.
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"id": "<string>",
"name": "<string>",
"access": "<string>",
"description": "<string>",
"files_count": 123,
"folders_count": 123,
"file_size": 123,
"file_size_unit": "<string>",
"extension": "<string>",
"is_starred": true,
"is_archived": true,
"is_deleted": true,
"folder": "<string>",
"parent_folder": "<string>",
"path": "<string>",
"root": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"file_share_id": "<string>",
"is_shared": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}