Versions

Compare deployment files

Compare the served files of two completed deployment versions. This does not compare Git source. File contents require versions:download access. Binary, oversized, or unavailable contents include a reason instead of a partial diff.

get/v1/spaces/{spaceId}/versions/compare

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/spaces/{spaceId}/versions/compare
  • Auth: HTTP bearer

Path parameters

spaceIdstring required

Query parameters

baseVersionIdstring required

ID of the earlier deployment version.

versionIdstring required

ID of the deployment version to compare.

pathstring

Read before-and-after text for this file path. Requires versions:download access.

cursorstring

Copy the next cursor from this exact version comparison.

limitinteger

Maximum changed paths to return.

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

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