Packages
Retrieves a summary of all packages in a repository, showing the latest version of each package along with version counts and metadata.
Repository identifier (e.g., "flxbl-io/sfp-pro")
flxbl-io/sfp-pro
Repository packages retrieved successfully
GET /sfp/api/packages/{repoId}/packages HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
Repository packages retrieved successfully
{
"packages": [
{
"packageName": "text",
"latestVersion": "text",
"latestPublishedAt": "text",
"latestBuildStatus": "text",
"latestStage": "text",
"totalVersions": 1
}
],
"totalPackages": 1,
"repoId": "text"
}
Retrieves the most recent version of a package artifact based on the published timestamp.
Repository identifier (e.g., "flxbl-io/sfp-pro")
flxbl-io/sfp-pro
Package name
core-package
Latest package artifact retrieved successfully
No package artifacts found
GET /sfp/api/packages/{repoId}/{packageName}/artifacts/latest HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"packageName": "text",
"package_version_number": "text",
"package_type": "text",
"stage": "Build",
"publishedAt": "text",
"repoIdentifier": "text",
"buildStatus": {
"commitId": "text",
"commitMessage": "text",
"commitAuthor": "text",
"commitDate": "text",
"commitTimestamp": 1,
"domains": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"firstSeenAt": "text",
"lastUpdatedAt": "text"
},
"deployments": [
{
"targetOrg": "text",
"deployedAt": "text",
"deploymentStatus": "success",
"deploymentDuration": 1,
"deploymentMode": "text",
"stage": "text",
"deployedBy": "text",
"errorMessage": "text",
"subscriberVersionId": "text",
"commitId": "text",
"packageType": "text"
}
],
"sourceVersion": "text",
"package_version_id": "text",
"metadataCount": 1,
"isApexFound": true,
"isProfilesFound": true,
"test_coverage": 1,
"has_passed_coverage_check": true
}
Search for package artifacts using multiple filter criteria. Returns an array of matching artifacts.
Repository identifier (e.g., "flxbl-io/sfp-pro")
flxbl-io/sfp-pro
Package name
core-package
Filter by package stage
Filter by build status
Filter by domain
Number of results to return
20
Number of results to skip
0
Field to sort by
publishedAt
Possible values: Sort order
desc
Possible values: Query executed successfully
GET /sfp/api/packages/{repoId}/{packageName}/artifacts/query HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
Query executed successfully
[
{
"packageName": "text",
"package_version_number": "text",
"package_type": "text",
"stage": "Build",
"publishedAt": "text",
"repoIdentifier": "text",
"buildStatus": {
"commitId": "text",
"commitMessage": "text",
"commitAuthor": "text",
"commitDate": "text",
"commitTimestamp": 1,
"domains": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"firstSeenAt": "text",
"lastUpdatedAt": "text"
},
"deployments": [
{
"targetOrg": "text",
"deployedAt": "text",
"deploymentStatus": "success",
"deploymentDuration": 1,
"deploymentMode": "text",
"stage": "text",
"deployedBy": "text",
"errorMessage": "text",
"subscriberVersionId": "text",
"commitId": "text",
"packageType": "text"
}
],
"sourceVersion": "text",
"package_version_id": "text",
"metadataCount": 1,
"isApexFound": true,
"isProfilesFound": true,
"test_coverage": 1,
"has_passed_coverage_check": true
}
]
Retrieves complete metadata for a specific version of a package artifact including build status, deployment history, and all associated metadata.
Repository identifier (e.g., "flxbl-io/sfp-pro")
flxbl-io/sfp-pro
Package name
core-package
Package version number
1.0.0.123
Package artifact retrieved successfully
Package artifact not found
GET /sfp/api/packages/{repoId}/{packageName}/artifacts/{version} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"packageName": "text",
"package_version_number": "text",
"package_type": "text",
"stage": "Build",
"publishedAt": "text",
"repoIdentifier": "text",
"buildStatus": {
"commitId": "text",
"commitMessage": "text",
"commitAuthor": "text",
"commitDate": "text",
"commitTimestamp": 1,
"domains": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"firstSeenAt": "text",
"lastUpdatedAt": "text"
},
"deployments": [
{
"targetOrg": "text",
"deployedAt": "text",
"deploymentStatus": "success",
"deploymentDuration": 1,
"deploymentMode": "text",
"stage": "text",
"deployedBy": "text",
"errorMessage": "text",
"subscriberVersionId": "text",
"commitId": "text",
"packageType": "text"
}
],
"sourceVersion": "text",
"package_version_id": "text",
"metadataCount": 1,
"isApexFound": true,
"isProfilesFound": true,
"test_coverage": 1,
"has_passed_coverage_check": true
}
Retrieves a paginated list of all versions of a package with optional filtering by stage, status, and domain.
Repository identifier (e.g., "flxbl-io/sfp-pro")
flxbl-io/sfp-pro
Package name
core-package
Filter by package stage
Filter by build status
Filter by domain
Number of results to return (1-100)
20
Example: 20
Number of results to skip
0
Example: 0
Field to sort by
Sort order
Package artifacts retrieved successfully
GET /sfp/api/packages/{repoId}/{packageName}/artifacts HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
Package artifacts retrieved successfully
{
"artifacts": [
{
"packageName": "text",
"package_version_number": "text",
"package_type": "text",
"stage": "Build",
"publishedAt": "text",
"repoIdentifier": "text",
"buildStatus": {
"commitId": "text",
"commitMessage": "text",
"commitAuthor": "text",
"commitDate": "text",
"commitTimestamp": 1,
"domains": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"firstSeenAt": "text",
"lastUpdatedAt": "text"
},
"deployments": [
{
"targetOrg": "text",
"deployedAt": "text",
"deploymentStatus": "success",
"deploymentDuration": 1,
"deploymentMode": "text",
"stage": "text",
"deployedBy": "text",
"errorMessage": "text",
"subscriberVersionId": "text",
"commitId": "text",
"packageType": "text"
}
],
"sourceVersion": "text",
"package_version_id": "text",
"metadataCount": 1,
"isApexFound": true,
"isProfilesFound": true,
"test_coverage": 1,
"has_passed_coverage_check": true
}
],
"total": 1,
"limit": 1,
"offset": 1,
"hasMore": true
}
Retrieves a list of all available versions for a package with basic metadata.
Repository identifier (e.g., "flxbl-io/sfp-pro")
flxbl-io/sfp-pro
Package name
core-package
Package versions retrieved successfully
GET /sfp/api/packages/{repoId}/{packageName}/versions HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
Package versions retrieved successfully
[
{
"version": "text",
"publishedAt": "text",
"buildStatus": "text",
"stage": "text"
}
]
Compares two versions of a package and returns the diff including: - List of commits between versions - Extracted work items from commit messages - Summary statistics
Supports both forward diffs (older to newer) and rollback diffs (newer to older).
Rollback diffs will show removed commits and work items.
Work items are extracted using patterns that match:
- GitHub issues: #123
- JIRA tickets: ABC-123, AB-1234
- Custom patterns: USER-STORY-123, BUG-456, etc.
Repository identifier (e.g., "flxbl-io/sfp-pro")
flxbl-io/sfp-pro
Package name
core-package
Starting version for comparison
1.0.0.100
Ending version for comparison
1.0.0.123
Custom regex patterns for extracting work items from commit messages. If not provided, uses default patterns.
Package diff retrieved successfully
One or both package versions not found
GET /sfp/api/packages/{repoId}/{packageName}/changelog/diff?from=1.0.0.100&to=1.0.0.123 HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"packageName": "text",
"fromVersion": "text",
"toVersion": "text",
"commits": [
{
"sha": "text",
"message": "text",
"author": "text",
"date": "text"
}
],
"removedCommits": [
{
"sha": "text",
"message": "text",
"author": "text",
"date": "text"
}
],
"workItems": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"removedWorkItems": {
"ANY_ADDITIONAL_PROPERTY": [
"text"
]
},
"isRollback": true,
"summary": {
"totalCommits": 1,
"totalRemovedCommits": 1,
"totalWorkItems": 1,
"totalRemovedWorkItems": 1,
"totalPullRequests": 1,
"totalRemovedPullRequests": 1,
"commitRange": {
"from": "text",
"to": "text",
"direction": "forward"
}
}
}
Was this helpful?