(Reports)
REST APIs for managing reports
- GetChangesReportSignedUrl - Get the signed access url for the change reports for a particular document.
- GetLintingReportSignedUrl - Get the signed access url for the linting reports for a particular document.
- UploadReport - Upload a report.
Get the signed access url for the change reports for a particular document.
using SpeakeasySDK;
using SpeakeasySDK.Models.Operations;
using SpeakeasySDK.Models.Shared;
var sdk = new SDK(security: new Security() {
APIKey = "<YOUR_API_KEY_HERE>",
});
GetChangesReportSignedUrlRequest req = new GetChangesReportSignedUrlRequest() {
DocumentChecksum = "<value>",
};
var res = await sdk.Reports.GetChangesReportSignedUrlAsync(req);
// handle response
Parameter | Type | Required | Description |
---|---|---|---|
request |
GetChangesReportSignedUrlRequest | ✔️ | The request object to use for the request. |
GetChangesReportSignedUrlResponse
Error Object | Status Code | Content Type |
---|---|---|
SpeakeasySDK.Models.Errors.SDKException | 4xx-5xx | / |
Get the signed access url for the linting reports for a particular document.
using SpeakeasySDK;
using SpeakeasySDK.Models.Operations;
using SpeakeasySDK.Models.Shared;
var sdk = new SDK(security: new Security() {
APIKey = "<YOUR_API_KEY_HERE>",
});
GetLintingReportSignedUrlRequest req = new GetLintingReportSignedUrlRequest() {
DocumentChecksum = "<value>",
};
var res = await sdk.Reports.GetLintingReportSignedUrlAsync(req);
// handle response
Parameter | Type | Required | Description |
---|---|---|---|
request |
GetLintingReportSignedUrlRequest | ✔️ | The request object to use for the request. |
GetLintingReportSignedUrlResponse
Error Object | Status Code | Content Type |
---|---|---|
SpeakeasySDK.Models.Errors.SDKException | 4xx-5xx | / |
Upload a report.
using SpeakeasySDK;
using SpeakeasySDK.Models.Operations;
using SpeakeasySDK.Models.Shared;
var sdk = new SDK(security: new Security() {
APIKey = "<YOUR_API_KEY_HERE>",
});
UploadReportRequestBody req = new UploadReportRequestBody() {
Data = new Report() {},
File = new File() {
Content = System.Text.Encoding.UTF8.GetBytes("0xA329C0ad85"),
FileName = "example.file",
},
};
var res = await sdk.Reports.UploadReportAsync(req);
// handle response
Parameter | Type | Required | Description |
---|---|---|---|
request |
UploadReportRequestBody | ✔️ | The request object to use for the request. |
Error Object | Status Code | Content Type |
---|---|---|
SpeakeasySDK.Models.Errors.SDKException | 4xx-5xx | / |