Compare two scans of a space

What changed from the scan from to the scan to (the current one when omitted): areas, items added, removed, not seen, moved or changed, issues new, resolved or not seen. Computed without a model. When to was checked against from (consecutive scans of a space created through the API) records are matched by the links it made, and removals are confirmed by a frame of the empty place; otherwise records are matched by content (name, generic name, aliases) and what is missing is reported as not_seen. For a space scanned with the app, past scans are not screened for sensitive values, so this operation requires the spaces:sensitive scope.

get/spaces/{id}/diff

Request

  • Base URL: https://api.spacecontext.app/v1
  • URL: https://api.spacecontext.app/v1/spaces/{id}/diff
  • Auth: HTTP bearer

Path parameters

idstring required

Query parameters

fromstring required

Id of the earlier scan.

tostring

Id of the later scan. Defaults to the current one.

Response

Differences between the two scans

object'space_diff' required
space_idstring required
level'base' | 'deep' required
linkedboolean required

True when to was checked against from itself (consecutive scans of a space created through the API): its links and confirmed removals are used. Otherwise records are matched by content only, and nothing can be confirmed removed or resolved.

Changes

No recorded changes to this operation across all 1 revision of this API.