/user/download/csv
Description:
The /user/download/csv
endpoint allows users to download their data in CSV format.
Method:
POST
Request Payload:
Parameter | Type | Description |
---|---|---|
userIds | array | An array of user IDs to download data for. |
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/user/download/csv \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userIds": [
"1659b4bf-99a9-4d56-af27-de399435c4ee",
"09de2d9b-a9eb-4b98-a15a-3b7f59f6161f",
"34902c71-f733-4cce-a541-06e2cced0807"
]
}'
{}
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Success
The response is of type object
.
curl --request POST \
--url https://server26-dot-royalti-project.uc.r.appspot.com/user/download/csv \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"userIds": [
"1659b4bf-99a9-4d56-af27-de399435c4ee",
"09de2d9b-a9eb-4b98-a15a-3b7f59f6161f",
"34902c71-f733-4cce-a541-06e2cced0807"
]
}'
{}