microsoft / Intune-Resource-Access

Sample code and scripts for interfacing with the Intune Resource Access APIs.
MIT License
56 stars 59 forks source link

About the DownloadCARevocationRequests and UploadRevocationResults methods of the IntuneRevocationClient class #152

Open Wn8g4MvF opened 11 months ago

Wn8g4MvF commented 11 months ago

hello

I have two questions about methods within the IntuneRevocationClient class.

(1) About the DownloadCARevocationRequests method

I am executing a POST request to DOWNLOADREVOCATIONREQUESTS_URL (CertificateAuthorityRequests/downloadRevocationRequests) within the method, is there an API specification for the downloadRevocationRequests endpoint? . What specific values ​​should I set for the request parameters? , what value is returned as a response? I would like to know the details.

https://github.com/microsoft/Intune-Resource-Access/blob/eae184eea8f7dab417d3ac29cc3ac39b7db8cace/src/CsrValidation/java/lib/src/main/java/com/microsoft/intune/scepvalidation/IntuneRevocationClient.java#L125-L131

(2) About the UploadRevocationResults method

I am executing a POST request to the UPLOADREVOCATIONRESULTS_URL (CertificateAuthorityRequests/uploadRevocationResults) within the method, is there an API specification for the uploadRevocationResults endpoint? . What specific values ​​should I set for the request parameters? , what value is returned as a response? I would like to know the details. I would also like to know what to call this method when I want to do it.

https://github.com/microsoft/Intune-Resource-Access/blob/eae184eea8f7dab417d3ac29cc3ac39b7db8cace/src/CsrValidation/java/lib/src/main/java/com/microsoft/intune/scepvalidation/IntuneRevocationClient.java#L166-L172

Thank you.