Mutation
mutation ApplySkillSync($runId: ID!) {
applySkillSync(runId: $runId) {
id
kind
status
error
group {
id
name
skills {
id
name
description
syncGlobally
packageHash
files {
__typename
}
}
repositories {
iosAppProject {
__typename
}
latestBuild {
__typename
}
id
canonicalOrigin
displayOrigin
name
}
createdAt
updatedAt
}
items {
id
direction
status
sourceHash
targetHash
resolution
}
}
}Variables
{
"runId": "id"
}Response
{
"data": {
"applySkillSync": {
"id": "id",
"kind": "ALL",
"status": "string",
"error": "string",
"group": {
"id": "id",
"name": "string",
"skills": [
{
"id": "id",
"name": "string",
"description": "string",
"syncGlobally": true,
"packageHash": "string",
"files": [
{
"__typename": "SkillFile"
}
]
}
],
"repositories": [
{
"iosAppProject": {
"__typename": "CodebaseProject"
},
"latestBuild": {
"__typename": "Build"
},
"id": "id",
"canonicalOrigin": "string",
"displayOrigin": "string",
"name": "string"
}
],
"createdAt": "string",
"updatedAt": "string"
},
"items": [
{
"id": "id",
"direction": "string",
"status": "string",
"sourceHash": "string",
"targetHash": "string",
"resolution": "string"
}
]
}
}
}Mutations
applySkillSync
Applies a skill sync and returns a skill sync run.
MUTATION
applySkillSync(runId: ID!): SkillSyncRun!Arguments
runId
ID!
required
Identifier of the run.
Returns
id
ID!
Stable identifier for this skill sync run.
kind
Category of this skill sync run.
status
String!
Current status of this skill sync run.
error
String
Error message when this skill sync run did not complete successfully. May be null when unavailable or not applicable.
group
The group associated with this skill sync run. May be null when unavailable or not applicable.
items
[SkillSyncItem!]!
Items associated with this skill sync run.
createdAt
String!
ISO 8601 timestamp when this skill sync run was created.
updatedAt
String!
ISO 8601 timestamp when this skill sync run was last updated.
finishedAt
String
ISO 8601 timestamp when this skill sync run finished. May be null when unavailable or not applicable.
Mutation
mutation ApplySkillSync($runId: ID!) {
applySkillSync(runId: $runId) {
id
kind
status
error
group {
id
name
skills {
id
name
description
syncGlobally
packageHash
files {
__typename
}
}
repositories {
iosAppProject {
__typename
}
latestBuild {
__typename
}
id
canonicalOrigin
displayOrigin
name
}
createdAt
updatedAt
}
items {
id
direction
status
sourceHash
targetHash
resolution
}
}
}Variables
{
"runId": "id"
}Response
{
"data": {
"applySkillSync": {
"id": "id",
"kind": "ALL",
"status": "string",
"error": "string",
"group": {
"id": "id",
"name": "string",
"skills": [
{
"id": "id",
"name": "string",
"description": "string",
"syncGlobally": true,
"packageHash": "string",
"files": [
{
"__typename": "SkillFile"
}
]
}
],
"repositories": [
{
"iosAppProject": {
"__typename": "CodebaseProject"
},
"latestBuild": {
"__typename": "Build"
},
"id": "id",
"canonicalOrigin": "string",
"displayOrigin": "string",
"name": "string"
}
],
"createdAt": "string",
"updatedAt": "string"
},
"items": [
{
"id": "id",
"direction": "string",
"status": "string",
"sourceHash": "string",
"targetHash": "string",
"resolution": "string"
}
]
}
}
}