orgStructureSyncs

Syncs that happen whenever you update your stackshare.yml config files. Only available if your company has enabled the flexible orgs feature.

Returns paginated OrgStructureSync objects.

Parameters

Name Type Description
createdOn optional DateTime

List syncs created on the given day.

repo optional String

List syncs triggered by the given repo full name, for example my-org/my-repo.

Example Queries

Get logs for the 10 most recent syncs:

{
  orgStructureSyncs(first: 10) {
    edges {
      node {
        logs
      }
    }
  }
}

Get logs for syncs that happened on Jan 1st 2020 and triggered by repo my-org/my-repo:

{
  orgStructureSyncs(repo: "my-org/my-repo", createdOn: "2020-01-01") {
    edges {
      node {
        logs
      }
    }
  }
}