Documents
Get documents.
Name
Type
Description
Parameter
Type
Description
\\ No results
\\ Example query endpoint: /api/v2p1/documents/?title=zzznomatch
["No results for {'title': 'zzznomatch'}"]
\\ Key not found
\\ Example query endpoint: /api/v2p1/documents?test_key=1
["API Error: Key: test_key, Value: 1 not found."]
\\ Invalid parameter
\\ Example query endpoint: /api/v2p1/documents/?case_id=xyz
["API Error: xyz is not an integer."]{
"detail":"Authentication credentials were not provided."
}https://clearinghouse.net/api/v2p1/documents/?case_id=18003&document_type=5893import requests
url = "https://clearinghouse.net/api/v2p1/documents/?case_id=18003&document_type=5893"
headers = { 'Authorization': 'Token XXXXXXXXXX',
'User-Agent': 'Chrome v22.2 Linux Ubuntu'
}
response = requests.request("GET", url, headers=headers, data={})
print(response.text)Supported Filter Values
id
value
id
value
id
value
Text Search
Field
Weight
Get a single document by Document ID (integer).
Name
Type
Description
Last updated