إنتقل إلى المحتوى الرئيسي

هذه الصفحة غير متاحة بالعربية بعد، وتُعرض بالإنجليزية.

Dexwize Remediation Service

Remediation requests, approvals, rollout and rollback (E10), and the device command queue. User endpoints take a bearer token; device endpoints take the enrollment-service device credential ("Authorization: Device "). Every command is signed (dexwize-command-v1, ADR-0022) and carries the content-signed action document unchanged. Cross-tenant requests return 404.

Version 1.0.0. Download the OpenAPI specification.

Authentication: bearer, device.

Operations​

MethodPathSummary
GET/v1/devices/self/commandsCommands waiting for this device (device credential)
POST/v1/devices/self/commands/{commandId}/resultReport the result of one command (device credential)
GET/v1/remediationsList remediation requests, newest first (FindingsRead)
POST/v1/remediationsRequest a remediation (RemediationExecute)
GET/v1/remediations/{id}getRemediation
POST/v1/remediations/{id}/approveApprove (RecommendationsApprove); the requester can never approve their own request
POST/v1/remediations/{id}/cancelcancelRemediation
GET/v1/remediations/{id}/handoffIntune or SCCM detection and remediation scripts for this request
POST/v1/remediations/{id}/rejectrejectRemediation
POST/v1/remediations/{id}/rollbackIssue rollback commands for every device the request changed (within 7 days)
GET/v1/remediations/keysPublic command-signing key(s), delivered to devices by enrollment-service (ADR-0022)

GET /v1/devices/self/commands​

Commands waiting for this device (device credential)

StatusDescriptionBody
200Pending commands; expired commands are closed, not deliveredobject
401Missing or invalid device credential

POST /v1/devices/self/commands/{commandId}/result​

Report the result of one command (device credential)

ParameterInTypeRequiredDescription
commandIdpathstringyes

Request body: object (JSON).

StatusDescriptionBody
202Recorded
400Id mismatch, unknown status or already recorded
401Missing or invalid device credential
404Not this device's command

GET /v1/remediations​

List remediation requests, newest first (FindingsRead)

ParameterInTypeRequiredDescription
statusquerystringnoStatus name, case-insensitive
recommendationIdquerystringnoOnly requests made for this recommendation
limitqueryintegerno
StatusDescriptionBody
200OKRemediationSummary[]
400Unknown status or limit out of range
403Missing permission

POST /v1/remediations​

Request a remediation (RemediationExecute)

Request body: object (JSON).

StatusDescriptionBody
201Created (PendingApproval, Active or SuggestionOnly)Remediation
400Invalid parameters or window
403Missing permission, or the tenant plan does not include remote_actions (ADR-0053): {"error":"feature_not_entitled","feature":"remote_actions"}FeatureRefusal
404Unknown action or device (including another tenant's device)
503Entitlements could not be confirmed and nothing usable is cached; remote_actions is refused (fail closed). Retry-After is set.FeatureRefusal

GET /v1/remediations/{id}​

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200OKRemediation
404Not found

POST /v1/remediations/{id}/approve​

Approve (RecommendationsApprove); the requester can never approve their own request

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200Approved; commands issued for devices the policy allows nowRemediation
400Self-approval or wrong state
403Missing permission, or the tenant plan does not include remote_actions (ADR-0053): {"error":"feature_not_entitled","feature":"remote_actions"}FeatureRefusal
404Not found
503Entitlements could not be confirmed and nothing usable is cached; remote_actions is refused (fail closed). Retry-After is set.FeatureRefusal

POST /v1/remediations/{id}/cancel​

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200Cancelled; undelivered commands expireRemediation
400Wrong state
404Not found

GET /v1/remediations/{id}/handoff​

Intune or SCCM detection and remediation scripts for this request

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200PackageHandoffPackage
400Operation not available as a package
403Missing permission, or the tenant plan does not include remote_actions (ADR-0053): {"error":"feature_not_entitled","feature":"remote_actions"}FeatureRefusal
404Not found
503Entitlements could not be confirmed and nothing usable is cached; remote_actions is refused (fail closed). Retry-After is set.FeatureRefusal

POST /v1/remediations/{id}/reject​

ParameterInTypeRequiredDescription
idpathstringyes

Request body: Decision (JSON).

StatusDescriptionBody
200RejectedRemediation
400Wrong state
404Not found

POST /v1/remediations/{id}/rollback​

Issue rollback commands for every device the request changed (within 7 days)

ParameterInTypeRequiredDescription
idpathstringyes

Request body: Decision (JSON).

StatusDescriptionBody
200Rollback commands issuedRollbackIssued
400Action cannot be rolled back automatically
404Not found

GET /v1/remediations/keys​

Public command-signing key(s), delivered to devices by enrollment-service (ADR-0022)

StatusDescriptionBody
200Current public keysobject[]
401Not authenticated