Geo GraphQL API: List PackageFileRegistry records

Request

Something like:

{
  geoNode {
    packageFileRegistries {
      nodes {
        id
        packageFileId
        state
        retryCount
        lastSyncFailure
        retryAt
        lastSyncedAt
        createdAt
      }
    }
  }
}

Response

Something like:

{
  "data": {
    "geoNode": {
      "packageFileRegistries": {
        "nodes": [
          {
            "id": "gid://gitlab/Geo::PackageFileRegistry/1",
            "packageFileId": "1",
            "state": "synced",
            "retryCount": 0,
            "lastSyncFailure": null,
            "retryAt": null,
            "lastSyncedAt": null,
            "createdAt": "2020-03-09T22:23:52Z"
          }
        ]
      }
    }
  }
}

To do:

  • Standardized pagination
  • String, not enum integer, sync state in the output
  • How should filtering work?
Edited by Michael Kozono