# Here is a curl example
curl \
X GET -H "Authorization:{token}" http://localhost:8888/api/Objects/RelatedFiles
?object_id=111&record_id=111111&show_all_revisions=true
To get the related files, you need to make a GET call to the following url
:
http://localhost:8888/api/Objects/RelatedFiles
Result example :
[
{
"file_name": "string",
"file_size": "string",
"uploaded_date": "2022-11-22T13:01:18.250Z",
"modified_date": "2022-11-22T13:01:18.250Z",
"revision": "string",
"user_name": "string",
"access": true,
"file_id": 0,
"is_folder": true,
"file_guid": "string",
"parent_id": 0,
"related": [
{
"file_name": "string",
"file_id": 0,
"parent_id": 0
}
]
}
]
| Field | Parameter Type | Type | Description |
|---|---|---|---|
| object_id | query | long | Object Id. |
| record_id | query | long | Record Id . |
| show_all_revisions | query | boolean | Show All Revisions (Optional - default false). |
| Authorization | header | string | Add Authorization header token |