This API provides services to generate reports and media files.
Reporting API (1)
https://idp.cdq.com/_mock/apis/reporting-api/api-v1/
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v1/
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/
Name of file or path to file.
Directory where the file is stored.
| Enum Value | Description |
|---|---|
| CUSTOMER_UPLOADS | Customer uploads |
| FRAUD_ATTACHMENTS | Fraud attachments |
| VALIDATION_REPORT | Validation report |
| R_SCRIPT_OUTPUT_FILES | R script output files |
| BAR_CHARTS | Bar charts |
| MATCHING_RESULTS | Matching results |
| OVERLAP_REPORT | Overlap report |
| CONFLATION | Conflation |
| CURATION_REPORT | Curation report |
| DATA_DUMP_REPORT | Data dump report |
- Mock server
https://idp.cdq.com/_mock/apis/reporting-api/api-v1/files
- Production SOAP
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v1/files
- Production
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/files
curl -i -X POST \
https://idp.cdq.com/_mock/apis/reporting-api/api-v1/files \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"url": "dq-chart.png or requestedDirectory/dq-chart.png",
"directory": "CUSTOMER_UPLOADS",
"organization": "cdq",
"featuresOn": [
"LAB_USE_MAX_FILE_SIZE"
]
}'{ "uploadLink": "https://cdl-testbucket.s3.eu-central-1.amazonaws.com/temporary-files/cdlbot/myDirectory/report.xls?x-amz-meta-created_at=2019", "uploadMethod": "PUT", "expiresAt": "ISO date format, when a link expires", "url": "temporary-files/johndoe/dq-chart.png" }
- Mock server
https://idp.cdq.com/_mock/apis/reporting-api/api-v1/files
- Production SOAP
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v1/files
- Production
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/files
curl -i -X DELETE \
'https://idp.cdq.com/_mock/apis/reporting-api/api-v1/files?url=customer-upload%2Ffile.xlsx' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'{ "results": [ { … } ] }
Name of file or path to file.
Continuation token. Encoded s3 path from which listing resources should be started.
Directory where the file is stored.
| Enum Value | Description |
|---|---|
| CUSTOMER_UPLOADS | Customer uploads |
| FRAUD_ATTACHMENTS | Fraud attachments |
| VALIDATION_REPORT | Validation report |
| R_SCRIPT_OUTPUT_FILES | R script output files |
| BAR_CHARTS | Bar charts |
| MATCHING_RESULTS | Matching results |
| OVERLAP_REPORT | Overlap report |
| CONFLATION | Conflation |
| CURATION_REPORT | Curation report |
| DATA_DUMP_REPORT | Data dump report |
- Mock server
https://idp.cdq.com/_mock/apis/reporting-api/api-v1/files/resources
- Production SOAP
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v1/files/resources
- Production
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/files/resources
curl -i -X GET \
'https://idp.cdq.com/_mock/apis/reporting-api/api-v1/files/resources?url=dq-chart.png+or+requestedDirectory%2Fdq-chart.png&directory=CUSTOMER_UPLOADS' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3'{ "startAfter": "5712566172571652", "limit": "300", "nextStartAfter": "5712566172571652", "files": [ { … } ] }
- Mock server
https://idp.cdq.com/_mock/apis/reporting-api/api-v1/files/download
- Production SOAP
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/soap/v1/files/download
- Production
https://reporting-api.reverse-proxy.prod.k8s.production.cdq-cloud-engine.com/files/download
curl -i -X POST \
https://idp.cdq.com/_mock/apis/reporting-api/api-v1/files/download \
-H 'Content-Type: application/json' \
-H 'X-Credential-Username: 87b1bdb1-ba87-4522-b363-c5a0e6e917b3' \
-d '{
"url": "customer-upload/user/file.xlsx",
"downloadLinkAge": "604800000"
}'{ "url": "/customer-upload/file.xlsx", "createdBy": "johndoe", "createdAt": "2020-08-31T16:47+00:00", "modifiedAt": "2020-08-31T16:47+00:00", "expiresAt": "2022-01-01T00:00:00Z", "downloadLink": "https://cdl-testbucket.s3.eu-central-1.amazonaws.com/temporary-files/cdlbot/myDirectory/report.xls?x-amz-meta-created_at=2019", "downloadMethod": "GET" }