Query
query PreviewRepositoryTransfer($input: RepositoryTransferImportInput!) {
previewRepositoryTransfer(input: $input) {
fingerprint
items {
key
parentKey
kind
label
repositoryKey
selected
}
dependencies {
key
itemKey
kind
label
targetId
resolved
}
agents {
id
name
baseRepoDirectory
eligible
reason
}
destinations {
repositoryKey
repositoryId
agentId
remoteUrl
relativePath
destinationPath
}
warnings
}
}Variables
{
"input": {
"payload": "value"
}
}Response
{
"data": {
"previewRepositoryTransfer": {
"fingerprint": "string",
"items": [
{
"key": "string",
"parentKey": "string",
"kind": "string",
"label": "string",
"repositoryKey": "string",
"selected": true
}
],
"dependencies": [
{
"key": "string",
"itemKey": "string",
"kind": "string",
"label": "string",
"targetId": "id",
"resolved": true
}
],
"agents": [
{
"id": "id",
"name": "string",
"baseRepoDirectory": "string",
"eligible": true,
"reason": "string"
}
],
"destinations": [
{
"repositoryKey": "string",
"repositoryId": "id",
"agentId": "id",
"remoteUrl": "string",
"relativePath": "string",
"destinationPath": "string"
}
],
"warnings": [
"string"
]
}
}
}Queries
previewRepositoryTransfer
Reviews an import without changing configuration or cloning repositories.
QUERY
previewRepositoryTransfer(input: RepositoryTransferImportInput!): RepositoryTransferPreview!Arguments
input
required
Incoming package and user choices.
Returns
fingerprint
String!
Fingerprint required to apply this exact review.
items
Reviewed item selections and overrides.
dependencies
References requiring local mappings.
agents
All registered agents.
destinations
Reviewed checkout destinations.
warnings
[String!]!
Non-blocking warnings.
blockers
[String!]!
Problems that must be resolved before confirmation.
Query
query PreviewRepositoryTransfer($input: RepositoryTransferImportInput!) {
previewRepositoryTransfer(input: $input) {
fingerprint
items {
key
parentKey
kind
label
repositoryKey
selected
}
dependencies {
key
itemKey
kind
label
targetId
resolved
}
agents {
id
name
baseRepoDirectory
eligible
reason
}
destinations {
repositoryKey
repositoryId
agentId
remoteUrl
relativePath
destinationPath
}
warnings
}
}Variables
{
"input": {
"payload": "value"
}
}Response
{
"data": {
"previewRepositoryTransfer": {
"fingerprint": "string",
"items": [
{
"key": "string",
"parentKey": "string",
"kind": "string",
"label": "string",
"repositoryKey": "string",
"selected": true
}
],
"dependencies": [
{
"key": "string",
"itemKey": "string",
"kind": "string",
"label": "string",
"targetId": "id",
"resolved": true
}
],
"agents": [
{
"id": "id",
"name": "string",
"baseRepoDirectory": "string",
"eligible": true,
"reason": "string"
}
],
"destinations": [
{
"repositoryKey": "string",
"repositoryId": "id",
"agentId": "id",
"remoteUrl": "string",
"relativePath": "string",
"destinationPath": "string"
}
],
"warnings": [
"string"
]
}
}
}