List the documents of a resource that are not attached to a validity. Documents attached to a validity are listed through the validity documents endpoint. Returns an empty list when the resource has no such documents.
Security
oAuth2ClientCredentials
- https://api.qargo.comhttps://api.qargo.com/v1/resources/resource/{resource_id}/documents
import requests
resource_id = "YOUR_resource_id_PARAMETER"
url = "https://api.qargo.com/v1/resources/resource/" + resource_id + "/documents"
headers = {"Authorization": "Bearer <YOUR_TOKEN_HERE>"}
response = requests.get(url, headers=headers)
data = response.json()
print(data)Successful Response
Array [
]
Response
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "type": "string", "download_url": "", "subject_type": "string", "content_type": "string" } ]